You are Here:
Download Linux Lite 5.4 RC1 today - See Release Announcements



Can't find old HDD

Author (Read 8908 times)

0 Members and 1 Guest are viewing this topic.

Can't find old HDD
« on: October 07, 2014, 03:27:32 AM »
 

Monkeyman

  • Forum Regular
  • ***
  • 227
    Posts
  • Country: us
  • Reputation: 14
  • Jesus Freak

  • Linux Lite: 2.8 64bit

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
I have an old HDD that has some data I'd like to access.  I've installed it in an external enclosure but I can't find it on the computer.  (Yes.  I've plugged it in.  :) )  Where do I find it?  In Windows, I could look under "Computer" but I don't see anything like that here.  I'm sure there's a simple answer but like my brother Forrest said, "I'm not a smart man.".

TIA
 


Re: Can't find old HDD
« Reply #1 on: October 07, 2014, 03:59:08 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7910
    Posts
  • Country: nz
  • Reputation: 744
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 5.2 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
Moved to Hard Drives and SSD's Section.
 

Re: Can't find old HDD
« Reply #2 on: October 07, 2014, 04:53:18 AM »
 

rokytnji

  • Friganeer
  • Platinum Level Poster
  • **********
  • 1255
    Posts
  • Country: us
  • Reputation: 137

  • Linux Lite: 3.6 64bit

  • CPU: Intel Core2 Duo U9600

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Mobile 4
Plug in USB enclosure.

Give it few seconds/minutes to load (my 3TB external takes some time to load)

Then open terminal and post back

Code: [Select]
sudo fdisk -l
Code: [Select]
sudo blkid
If this drive was ever dropped (I have done this also on a 1TB external) It is toast probably , because the platters are made of glass and shatter.

Hopefully, this is not the case here. I broke mine right after purchasing it. The cord (external cord enclosure) got tangled in my feet and I dropped kicked it to hell. I fought that drive for a while using software but you can't fix broke hardware with software.

I am surprised Thunar is not auto mounting yours in the left hand pane is why I am jaw jacking.

LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
 

Re: Can't find old HDD
« Reply #3 on: October 07, 2014, 09:00:37 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Country: 00
  • Reputation: 186
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
Hi Monkeyman,

Maybe this will help or at least give some additional information for troubleshooting:

Before you plugin the drive look at the listing of these locations:

ls /media/
ls /media/<user_name>

then, plug the drive in and look at the locations above again with the list command. Does anything additional appear?

If you see something additinal, it could be your drive and Thunar just isn't mounting it. Trying using the CD command with the device listing to see if you can access the information.

For example, on my laptop:
Code: [Select]
ls /media/scott
a4c8db24-948a-461d-8914-3749fe512d04
USB_Kingwin
ec86edb2-2c86-4f29-b69a-51daf462b491
and
Code: [Select]
cd USB_Kingwinwill put me in the USB_Kingwin drive
 

Re: Can't find old HDD
« Reply #4 on: October 08, 2014, 05:18:41 AM »
 

Monkeyman

  • Forum Regular
  • ***
  • 227
    Posts
  • Country: us
  • Reputation: 14
  • Jesus Freak

  • Linux Lite: 2.8 64bit

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
Scott --- I don't know what to use after the "cd" command to identify the drive.  I tried "cd (plus the disk identifier)" but that showed "No such file or directory".  I don't see any other specific identifiers on that HDD.  All the rest of the info is basically the same on all HDDs (although the bytes show slightly different for each since they don't have the same amount of data on them).

rokytnji --- Never been dropped but I'm thinking about doing it now.  :)

Apparently, the computer sees the drive.  After the first fdisk command (with the external enclosure OFF), I show my (3) 1TB drives, the 320GB drive (OS) and the 16GB thumb drive.  AFTER I turn on the external enclosure and try the fdisk command again, I get the original text PLUS this:

Disk /dev/sdf: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5fdf7d9c

That would be the 500GB HDD in the enclosure.

When I run the blkid (what does that mean?) command, it shows the (3) HDDs and "USB DISK" (aka thumb drive) but doesn't show the external HDD (maybe).  It DOESN'T show the 320GB drive the OS is on unless the lines starting with "UUID" include that.  I see that the (3) HDDs are NTFS and the thumb drive is VFAT (dunno what the V stands for).  One of the other lines shows "ext4" which (I think) is a Linux partition (? probably got the word wrong...like FAT or NTFS) and the other shows "swap".  Maybe the line labeled "swap" is the external?

dev/sda1: LABEL="Old HDD Copy" UUID="6CCE7DABCE7D6E68" TYPE="ntfs"
/dev/sdb1: LABEL="Media 3" UUID="7AE47313E472D0BD" TYPE="ntfs"
/dev/sdc1: UUID="21d126a6-85b3-4d1d-a080-22af862874d6" TYPE="ext4"
/dev/sdc5: UUID="ad6e624e-5e55-4aa8-b6f9-fa723c39d271" TYPE="swap"
/dev/sdd1: LABEL="TV" UUID="F8389B5D389B1A28" TYPE="ntfs"
/dev/sde1: LABEL="USB DISK" UUID="BC59-8351" TYPE="vfat"
 

Re: Can't find old HDD
« Reply #5 on: October 08, 2014, 08:43:04 AM »
 

rokytnji

  • Friganeer
  • Platinum Level Poster
  • **********
  • 1255
    Posts
  • Country: us
  • Reputation: 137

  • Linux Lite: 3.6 64bit

  • CPU: Intel Core2 Duo U9600

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Mobile 4
I am posting from my Chromebook right now. So I cannot post pictures on how my thunar preferences are set.
Under advanced settings.
Volume Management.
Configure.
Maybe poke around in there.
https://wiki.archlinux.org/index.php/thunar#Configuration
So

Code: [Select]
/dev/sdf
is the external enclosure.
Funny that blkid does not show it.
Funny that thunar does not automount it.

Since the command line "cd" is and "ls" is giving no joy.
Just open thunar and look in media and hopefully a folder saying sdf is in there?
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
 

Re: Can't find old HDD
« Reply #6 on: October 08, 2014, 11:11:18 AM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Country: us
  • Reputation: 325
  • Linux Lite Member

  • Linux Lite: 3.2 64bit

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
As others have said, USB's and external drives usually get mounted to /media/your-username when they are plugged in.

Let's start from square one.

*  Shutdown computer and disconnect external drive.

*  Reboot computer without external drive connected.

*  Go to Menu -> Settings -> Settings Manager -> Desktop -> Icons (tab) -> Default Icons (category) -> put check mark on Removable Devices.  Expand sub-menu under Removable Devices by clicking triangle to right of it.  Make sure all sub-categories have been checked.

*  Click "All Settings" at bottom to get back to main Settings Manager window.

*  Click Removable Drives and Media -> Storage (tab) -> Removable Storage (category) -> make sure first two items are checked off to mount removable drives and media when they are plugged in.

*  Close out of Settings Manager when done.

Now when you plug in your external drive this is what should happen:
  • It should be automatically mounted when plugged in.
  • It should produce an icon on the desktop that you can click to access it.
  • When you open Thunar file manager, it should show up in list of places on left-hand side.  You should also be able to navigate to it by opening File System -> media -> your-username directory and it will be listed there.  (Substitute your real username.)
  • When you open a terminal and enter ls /media/your-username, it should be listed.  (Substitute your real username.)

Report back results of above.
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Can't find old HDD
« Reply #7 on: October 08, 2014, 01:33:02 PM »
 

Monkeyman

  • Forum Regular
  • ***
  • 227
    Posts
  • Country: us
  • Reputation: 14
  • Jesus Freak

  • Linux Lite: 2.8 64bit

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
I am posting from my Chromebook right now. So I cannot post pictures on how my thunar preferences are set.
Under advanced settings.
Volume Management.
Configure.
Maybe poke around in there.
https://wiki.archlinux.org/index.php/thunar#Configuration
So

Code: [Select]
/dev/sdf
is the external enclosure.
Funny that blkid does not show it.
Funny that thunar does not automount it.

Since the command line "cd" is and "ls" is giving no joy.
Just open thunar and look in media and hopefully a folder saying sdf is in there?

Nope.  Nothing.  If I type "/dev/sdf" in Terminal, I get "Permission Denied".

Now that I think about it (and it may not make any difference), this has been run on both Ubuntu and Windows.  I wonder if something could have become corrupted as I swapped systems?  Maybe that doesn't even matter as the rest of the HDDs have been run under both OSs.
 

Re: Can't find old HDD
« Reply #8 on: October 08, 2014, 01:44:46 PM »
 

Monkeyman

  • Forum Regular
  • ***
  • 227
    Posts
  • Country: us
  • Reputation: 14
  • Jesus Freak

  • Linux Lite: 2.8 64bit

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
gold_finger --- Nope.  None of that worked and I'm not knowledgable enough to expand on it.  Linux can "see" that there's a drive and it can "see" that there's data on the drive.  It just can't show me the data.

I know (or think I know) that "ext4" is a Linux extention/format (I don't know the right word).  What if that's somehow been corrupted, being run in both Linux and Windows?  Does that matter and is it even possible?  If so, how can I fix that?  (I feel like Forrest Gump trying to talk astrophysics with Stephen Hawking.)
 

Re: Can't find old HDD
« Reply #9 on: October 08, 2014, 02:14:11 PM »
 

misko_2083

  • Gold Level Poster
  • *******
  • 687
    Posts
  • Reputation: 191
  • Linux Lite Member

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
What is the output of:
Code: [Select]
sudo lshw -class disk
 

Re: Can't find old HDD
« Reply #10 on: October 08, 2014, 02:22:19 PM »
 

Monkeyman

  • Forum Regular
  • ***
  • 227
    Posts
  • Country: us
  • Reputation: 14
  • Jesus Freak

  • Linux Lite: 2.8 64bit

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
What is the output of:
Code: [Select]
sudo lshw -class disk

 *-disk                 
       description: ATA Disk
       product: ST1000DM005 HD10
       vendor: Seagate
       physical id: 0.0.0
       bus info: [email protected]:0.0.0
       logical name: /dev/sda
       version: 1AJ1
       serial: S246J9EC436309
       size: 931GiB (1TB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 sectorsize=512 signature=2238c11d
  *-disk
       description: ATA Disk
       product: WDC WD1001FALS-0
       vendor: Western Digital
       physical id: 0.0.0
       bus info: [email protected]:0.0.0
       logical name: /dev/sdb
       version: 05.0
       serial: WD-WMATV7560948
       size: 931GiB (1TB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 sectorsize=512 signature=c21c55c2
  *-disk
       description: ATA Disk
       product: WDC WD3200AAKX-0
       vendor: Western Digital
       physical id: 0.0.0
       bus info: [email protected]:0.0.0
       logical name: /dev/sdc
       version: 15.0
       serial: WD-WCAYUAE67067
       size: 298GiB (320GB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 sectorsize=512 signature=000cd22a
  *-disk
       description: ATA Disk
       product: WDC WD1001FALS-0
       vendor: Western Digital
       physical id: 0.0.0
       bus info: [email protected]:0.0.0
       logical name: /dev/sdd
       version: 05.0
       serial: WD-WMATV3056135
       size: 931GiB (1TB)
       capabilities: partitioned partitioned:dos
       configuration: ansiversion=5 sectorsize=512 signature=46a7a310
  *-cdrom
       description: DVD-RAM writer
       product: DVD A  DH24ABS
       vendor: ATAPI
       physical id: 0.1.0
       bus info: [email protected]:0.1.0
       logical name: /dev/cdrom
       logical name: /dev/sr0
       version: AX13
       capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
       configuration: ansiversion=5 status=nodisc
  *-disk
       description: SCSI Disk
       physical id: 0.0.0
       bus info: [email protected]:0.0.0
       logical name: /dev/sde
       size: 14GiB (15GB)
       capabilities: partitioned partitioned:dos
       configuration: sectorsize=512 signature=c3072e18
  *-disk
       description: SCSI Disk
       physical id: 0.0.0
       bus info: [email protected]:0.0.0
       logical name: /dev/sdf
       size: 465GiB (500GB)
       capabilities: partitioned partitioned:dos
       configuration: sectorsize=512 signature=5fdf7d9c
 

Re: Can't find old HDD
« Reply #11 on: October 08, 2014, 03:08:21 PM »
 

misko_2083

  • Gold Level Poster
  • *******
  • 687
    Posts
  • Reputation: 191
  • Linux Lite Member

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
So it's /dev/sdf
list partitions
Code: [Select]
sudo parted -l
 

Re: Can't find old HDD
« Reply #12 on: October 08, 2014, 03:39:26 PM »
 

Monkeyman

  • Forum Regular
  • ***
  • 227
    Posts
  • Country: us
  • Reputation: 14
  • Jesus Freak

  • Linux Lite: 2.8 64bit

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
This is for that particular drive, not all of them.

Model: ST500DM0 05 HD502HJ (scsi)
Disk /dev/sdf: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  500GB  500GB  primary  ntfs
 

Re: Can't find old HDD
« Reply #13 on: October 08, 2014, 04:09:58 PM »
 

misko_2083

  • Gold Level Poster
  • *******
  • 687
    Posts
  • Reputation: 191
  • Linux Lite Member

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
Now you can see that the drive has one ntfs partition
You'll have to make this folder
Code: [Select]
sudo mkdir /media/externalthen edit /etc/fstab (be carefull not to remove anything)
Code: [Select]
gksudo leafpad /etc/fstabadd this line to the end
Code: [Select]
/dev/sdf /media/external ntfs defaults 0 0save it and exit
you can now mount it without restart
Code: [Select]
sudo mount -a
 

Re: Can't find old HDD
« Reply #14 on: October 08, 2014, 07:51:57 PM »
 

Monkeyman

  • Forum Regular
  • ***
  • 227
    Posts
  • Country: us
  • Reputation: 14
  • Jesus Freak

  • Linux Lite: 2.8 64bit

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
Didn't seem to work.  I did what you said but when I entered the last command in terminal, this is what I got:

[email protected]:~$ sudo mkdir /media/external
[sudo] password for monkeyman:
[email protected]:~$ gksudo leafpad /etc/fstab
'[email protected]:~$ sudo mount -a
[mntent]: warning: no final newline at the end of /etc/fstab
NTFS signature is missing.
Failed to mount '/dev/sdf': Invalid argument
The device '/dev/sdf' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
 


Tags:
 


Download Linux Lite 5.4 RC1 today - See Release Announcements