Jump to content
  • Advertisement
Sign in to follow this  
moniker

Mounting a USB drive

This topic is 4762 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello guys! I have a (bad) notebook harddrive in a USB encasing and I would like to try to mount it under Linspire to see if I can recover any data (Windows gave no results). If I boot up with it plugged in, Control Center shows a /dev/sdb device, but no partition. There are also a bunch of errors about /dev/sdb in /var/log/messages. Unfortunately, my experience with Linux is fairly limited. I was wondering if you could tell me what the mount command would look like for a drive thusly connected via USB. Furthermore, what error should I look for to determine that the hard drive is a goner? Finally, if I am not succesful by this route, do you have any suggestions for some good data recovery software? Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
Hmm, sounds like the drive is knackered but its electronics persist in trying to make it work. It's unlikely you'll recover anything.

There are several options. You can try to directly mount it, using a command like


mount /dev/sdb /mnt/thingy -t vfat
(perhaps with -o ro if you're concerned)


But that will probably fail. If the device can't be mounted in Windows, it probably can't be mounted in Linux either.

Another option is to use "dd" to try to transfer it into a single huge file on the HD - if there's enough space. You can then try to repair the fat filesystem (FAT is actually remarkably robust, contrary to popular belief), then loop mount the image.

However, this will probably fail, as I imagine that the device has not a single readable block.

Mark

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!