Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Recover a dead hard drive using dd' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Recover a dead hard drive using dd
Authored by: electricferret on Mar 04, '05 01:03:52PM
In OS X you can use the "disktool" command to find out what disks you have connected. Try
disktool -l
to get started. I don't know how you would do this on other Unixes - it varies by system, as does the disk naming convention.

[ Reply to This | # ]
Recover a dead hard drive using dd
Authored by: burro on Mar 06, '05 12:01:56AM

disktool lists them as

..
**Disk Appeared ('disk1s1',Mountpoint = '', fsType = '', volName = '')
..

the suggested command has a format

rXX#

Which one is it?
------------------------
PS. UNIX such a nice idea so sloppily implemented.



[ Reply to This | # ]
Recover a dead hard drive using dd
Authored by: hagbard on Sep 27, '06 02:06:17PM

disk1s1 !
another way to see this list is to type df, which lists all disks and their data usage. To see the data sizes in KBytes, type :
df -k
the first column is the reference you need.
To be more informative :
diskAsB means :
disk number A, partition number B



[ Reply to This | # ]
Recover a dead hard drive using dd
Authored by: burro on Mar 06, '05 12:11:14AM

disktool lists them as

..
**Disk Appeared ('disk1s1',Mountpoint = '', fsType = '', volName = '')
..

the suggested command has a format

rXX#

Which one is it?
------------------------
PS. UNIX such a nice idea so sloppily implemented.



[ Reply to This | # ]
Recover a dead hard drive using dd
Authored by: electricferret on Mar 07, '05 01:03:42PM
It depends on what OS you're trying to read the disk in, really. (See your sig for details. :))

On OS X, you use what disktool reports, but put a "/dev/" in front of it. FWIW, I found that I had to read the whole disk to get it to work, not just a single partition. YMMV. The full disk is the "diskX" name, and the individual partitions on it are the "diskXsY" names. All together, this means on OS X you're going to get a device path like:

/dev/diskX
The "rXX" device name is for the author's BSD system. On a Linux system, you'll get names like "hdaX". (And Sun and HP and every other system have yet other naming conventions.)

[ Reply to This | # ]