Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Western Digital 1TB MyBook with some photos that I would like to offload and access. A PC seems to see the drive; a Mac doesn't see it over Firewire or USB.

Between Windows 7, Windows XP, Ubuntu, Snow Leopard and Lion, what are my best hopes for data recovery?

share|improve this question
2  
Been answered here a hundred times, remove the drive from the enclosure, connect the hard drive using another hdd to usb adapter, this will rule out a flaky usb chip or power supply in the enclosure and allow access to your data. –  Moab Feb 22 '12 at 22:55
1  
Once the drive is removed from the enclosure and it is verified as a dead hard drive, you will need to send it to a data recovery house to get your data back...lowcostrecovery.com/pricing.html –  Moab Feb 22 '12 at 22:56
2  
possible duplicate of How to recover data from external hard drive –  Nick Josevski Feb 22 '12 at 23:07
    
possible duplicate of Hard drive failure - Can I recover data? –  techie007 Feb 23 '12 at 4:28
add comment

2 Answers

I think this is a valid question if it isn't a simple FAT or NTFS volume the user is trying to recover data from.

For example, the WD MyBook World Edition NAS uses ext3 OS partitions with an XFS data partition so unfortunately you can't just take the drive out, put it into a caddy and view on a Windows PC (although you will need a SATA drive caddy or adapter).

If you haven't got Ubuntu installed, download the ISO and run it from a Live CD/DVD. Don't connect the caddy/adapter yet.

First create a mount point directory in which the contents of the file system on the device will be displayed by loading up a terminal and typing:

mkdir /media/wd

Then type the following command:

ls /dev/sd*

This will give you a list of hard disks and partitions currently visible to the system, e.g.

sda sda1 sda2 sdb sdb1 sdb2...

Hard disks are the entries like 'sda' and 'sdb', and their partitions are the numbers which follow that entry, like 'sda1', 'sdb2', etc.

If you now connect the drive and run the command again (press 'Up' key followed by Enter) you will see some new entries in the list. When examining my MyBook World Edition the device was sdb and the XFS partition sdb4. You can also use tools like gparted to display the partition table and therefore show you which partition is the largest and clearly the data partition on the drive.

Once you have identified the partition run the following command (if your partition is /dev/sdb4):

sudo mount /dev/sdb4 /media/wd -t xfs

As long as there are no errors, you should now be able to browse the contents of the drive by typing the following commands:

cd /media/wd
ls

Which will provide you with a directory listing. If this looks like your drive, you should now be able to access it through the file manager in Ubuntu.

In regard to copying the data off, you have two routes. You can either make a logical copy using the copy 'cp' command, which means you can copy the contents of your drive to a drive which will be accessible to your main computer (i.e. NTFS for Windows or HFS+ for Mac), or you can perform a physical device image as per the other answer (which suggests utility dd-rescue) which will preserve all content in unallocated space but will still be in XFS.

share|improve this answer
add comment

If the PC can see the drive, any operating system should work. You might prefer Ubuntu to use utilities like dd-rescue, which can copy data despite errors.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.