Sign in with
Sign up | Sign in
Your question

Hard drive won't mount!

Last response: in Linux/Free BSD
Share
December 4, 2011 9:43:22 AM

Hi. I have an 80gig Samsung Hard drive from an HP laptop I put into an external drive (HP won't boot anymore). I want to recover all the photos from it.

When I try to mount it using Ubuntu I get two errors (there are two partitions on the hard drive)

Error1: Error mounting: Mount exited with exit code 14. Windows is hibernated, refused to mount.

Error2: Error mounting: Mount is exited with exit code 14. ntfs_attr_pread_i: ntfs_pread failed: Input/Output error. Failed to read $AttrDef, unexpected length (-1 !=2560). Failed to mount /dev/sdc1': Input/output error.

Please help!

More about : hard drive mount

December 4, 2011 11:18:07 PM

anyone?
December 4, 2011 11:37:05 PM

I think somebody in Linux section should be able to answer your question.
Related resources
December 4, 2011 11:47:13 PM

This topic has been moved from the section Storage to section Linux/Free BSD by Area51reopened
December 5, 2011 5:47:42 AM

1. Try using the -r switch to mount read-only.

2. Try the -o remove_hiberfile option to remove the hibernation file.

You say the disk won't boot, so be aware that its structure may be corrupted. Even if you manage to mount it you may not be able to read all (or even any) of its contents. In any event, do not attempt to mount it write enabled.

The safest option would be to attach the disk to a working Windows system and run chkdsk on it; Linux's NTFS support is, necessarily, not as complete as Microsoft's.
December 5, 2011 10:07:10 AM

I've connected it to a windows computer and nothing happens. It just says the disk needs to be formatted (and that's if I'm lucky to get it to load; most times it won't do anything).

Thanks for your help, I'm extremely new to linux commands. I'm not really sure what a switch or option is - what command should I be appending these too?
December 5, 2011 10:25:01 AM

If the Windows computer won't read it then I would be extremely surprised if Linux will.

Anyway, you just add the switches (or options) to the command line that you use to mount the drive. So, in a terminal, you would type something like:

mount -r -t ntfs /dev/sdc1 /mnt
December 5, 2011 2:42:09 PM

Jrb599 said:


Error2: Error mounting: Mount is exited with exit code 14. ntfs_attr_pread_i: ntfs_pread failed: Input/Output error. Failed to read $AttrDef, unexpected length (-1 !=2560). Failed to mount /dev/sdc1': Input/output error.

Please help!


Looks like your file system has gone for a toss. try running fsck on it to see if that does any good. [fsck -t ntfs /dev/<dev>]
December 5, 2011 7:25:19 PM

Hi! i have had much success in the past recovering unmountable filesystems.

ALWAYS make a image of the drive first, then work from that.

1.) make image with gddrescue
2.) try to mount image
3.) if mount fails, try to extract filesystem
4.) if (3) fails use tools to recover individual files like .jpg, .png or .doc
follow guide here: https://help.ubuntu.com/community/DataRecovery#Imaging_...
December 6, 2011 6:32:43 PM

skittle said:
Hi! i have had much success in the past recovering unmountable filesystems.

ALWAYS make a image of the drive first, then work from that.

1.) make image with gddrescue
2.) try to mount image
3.) if mount fails, try to extract filesystem
4.) if (3) fails use tools to recover individual files like .jpg, .png or .doc
follow guide here: https://help.ubuntu.com/community/DataRecovery#Imaging_...



How long does gddrescue take to make an image?
December 7, 2011 2:20:09 AM

sometimes it can take a long time (hours), but it can save your data... so its time well spent. can estimate how far along it is by how large the image currently is.
!