I was going to install Fedora 15 along side my Windows 7 Starter on my Acer Apire One D255E and at some point during the resizing of the NTFS partition (the one with Windows on it) the setup failed. Now I cannot access this partition from any OS. When I tried to access it from a Fedora install running on a USB flashdrive I get this error:

Error mounting: mount exited with exit code 12: Failed to read last sector (452534271):
Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
   or it was not setup correctly (e.g. by not using mdadm --build ...),
   or a wrong device is tried to be mounted,
   or the partition table is corrupt (partition is smaller than NTFS),
   or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/sda5': Invalid argument
The device '/dev/sda5' 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?

It doesn't make a lot of sense to me but I was really hoping it would to someone and they can give me a way to restore the partition without losing everything on it (I have a lot of important notes from various classes on there)?

Cheers.

link|improve this question
Have you tried mounting it in a different windows install? – Kirk Jun 17 '11 at 23:57
1  
Make an image and then screw with it. – KCotreau Jun 18 '11 at 0:30
What do you mean by a different windows install? I have tried putting an XP install disk in there to see if I could use it to run chkdsk but it didn't work. – Gareth Jun 18 '11 at 0:47
You can try Test Disk: cgsecurity.org/wiki/TestDisk. If it fixes it, resize your partition in Windows, not Linux. Or use VirtualBox and run Linux in a vm. – Joe Internet Jun 18 '11 at 1:08
feedback

1 Answer

up vote 3 down vote accepted

If you can get Ubuntu on a live CD and install NTFS-3G and NTFSProgs (in the repositories), you might be able to recover your NTFS sorrows.

I had to do this once for a friend's PC, and I followed this guy's How To. It's very helpful and it should either fix your problem OR give you more information as to what exactly is wrong (then we can work from there).

link|improve this answer
This worked perfectly! Thank you sooo much for that! :D – Gareth Jun 18 '11 at 1:53
No worries, glad to help! – MaxMackie Jun 18 '11 at 2:24
feedback

Your Answer

 
or
required, but never shown

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