I cannot access my Windows drive from a Ubuntu live session because the "disk contains an unclean file system". How do I mount it anyways?
There's only one document I (desperately) need to get from the drive before I can reinstall the OS. Windows won't let me boot because apparently files got corrupted (no idea how, the PC just shut down while I wasn't using it with a download running) and I can't repair the damage with the install media as suggested by below picture taken after trying to boot into Windows. The recovery tool tells me it's beyond repair.
I'm not sure if the damage is because of a virus or a faulty SSD. I think it's the latter.
Right now I'm in the process of creating an image of the whole disk (will post logfile):
ubuntu@ubuntu:/media/ubuntu/TOSHIBA EXT$ sudo ddrescue -d /dev/sda test.img test.logfile
Translation from German (rough): "Recovery. PC/device has to be repaired. An app or OS couldn't be loaded because a required file is missing or contains errors. You have to use recovery tools."
Sda4 is the data partition on the SSD. The one I need access to.
Dmesg (with info on failed mount attempt at the end): http://pastebin.com/dnLYetRu
sudo ntfsfix -d /dev/sda
came up with this
Mounting volume... NTFS signature is missing.
FAILED
Attempting to correct errors... NTFS signature is missing.
FAILED
Failed to startup volume: Invalid argument
NTFS signature is missing.
Trying the alternate boot sector
Unrecoverable error
Volume is corrupt. You should run chkdsk.
I think I made the mistake to not specify a partition. When I instead use "sda4" (the correct partition) I get this
Mounting volume... ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read of MFT, mft=160412 count=1 br=-1: Input/output error
Inode is corrupt (43352): Input/output error
FAILED
Attempting to correct errors...
Processing $MFT and $MFTMirr...
Reading $MFT... OK
Reading $MFTMirr... OK
Comparing $MFTMirr to $MFT... OK
Processing of $MFT and $MFTMirr completed successfully.
Setting required flags on partition... OK
Going to empty the journal ($LogFile)... OK
ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read of MFT, mft=160412 count=1 br=-1: Input/output error
Inode is corrupt (43352): Input/output error
Remount failed: Input/output error
When I tried
sudo mount -t ntfs-3g -o ro,recover /dev/sda4 /mnt
it gave me
ntfs_attr_pread_i: ntfs_pread failed: Input/output error
Failed to read NTFS $Bitmap: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
I'm beginning to get worried now. I really need this one file. It's a paper I've been working on for quite some time. Could it be my SSD gave up the ghost?
testdisk
tool to recover files. – Videonauth Nov 22 '16 at 13:41ntfsfix
or similar tools which might modify it and make the situation even worse. See the answer linked above for the usage of RecuperaBit, a software which I developed. You will recover all files, not just that one that you "desperately need". :) – Andrea Lazzarotto Nov 23 '16 at 13:43