About two weeks ago I had a problem with my PC that my brother wrote a question about at PC not booting after using Windows 7 auto-repair.
I still haven't solved the problem, so my PC is unusable now.
Now I think that it would be simpler to re-install both Win7 & Ubuntu than repair them, but there're some data on their partitions. I want to recover this data.
These partitions are not mountable for some reason. I don't know why.
sudo fdisk -l
about the problematic partitions:
Device Boot Start End Blocks Id System
/dev/sda1 2048 147912703 73955328 83 Linux
/dev/sdb2 206848 174079999 86936576 7 HPFS/NTFS/exFAT
And in GParted:
And the error of the mount
command:
Failed to mount '/dev/sdb2': Invalid argument
The device '/dev/sdb2' 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?
And the exact same message for /dev/sda1
How can I recover my data from those HDDs?
EDIT
I have tried to specify the type of the drive:
$ sudo mount -t ext4 /dev/sda1 /olddisk
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
$ sudo mount -t ntfs /dev/sdb2 /olddisk
NTFS signature is missing.
Failed to mount '/dev/sdb2': Invalid argument
The device '/dev/sdb2' 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?
EDIT
sudo ntfsfix /dev/sdb2
returns:
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.
-t ntfs-3g
.ntfsfix /dev/sdb2
and share the resultsdb2
but the picture shows that alsosdb5
is a NTFS partition. Which one are you trying to access?