Hello,
I had the good sense to back-up the
/home partition just a few days before the HDD physically broke.
I just did not have the common sense to do it the right way, as i did:
Code:
$ sudo dd if=/dev/sda5 of=/mnt/1TB_external_drive/Backup.img bs=4M
when just a drag&drop of the folder would have sufficed.
Now I'm left with a ~110GB file that i cannot read.
Code:
$ mkdir mountpoint
$ sudo mount Backup.img mountpoint
mount: wrong fs type, bad option, bad superblock on /dev/loop2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
and in dmesg shows up this:
Code:
[17926.346897] EXT4-fs (loop0): bad geometry: block count 84331008 exceeds size of device (28691352 blocks)
I did a backup of that backup and run
fsck on it, getting tons of
Code:
Superblock has an invalid journal (inode 8).
Clear<y>?
Answering 'y' to all I get an image that mounts and works, but with just a little stuff in the directory
lost+found, completely randomly organized in oddly-named subdirectories.
I'm sure that the data is still there, as I used
grep -a pattern Backup.img to look for a bunch of strings and i recovered a couple text files that way, just I have no idea on how to get it out. Any suggestion is appreciated.
Thank you