Topic: Data rescue after interupted move and resize of EXT4 partition
I decided to clean up my laptop hard drive. I skip a few steps that went fine. Where my problem started was at this stage:
1: bios 500 mb
2: Linux system 70 gb
3: empty space ~300 gb
4: linux home (ext4) ~600gb
5-8: Old unused windows /OEM backup and service drives ~30 gb
From this stage I wanted to get to
1: bios 500 mb
2: Linux system 70 gb
3: linux home (ext4) ~929.5gb
This means I order gparted to move partition 4 to the end of partition 2 and grow it to the end of the 1TB hard drive.
I performed the process from a usb thumbdrive and it was supposed to take around 1:20. Unfortunately, the OS on the thumbdrive went into suspend mode and when i came back after around 2 hrs it didn't wake up . I waited another 3 hrs with silent hope that the process would finish in the back ground, but it didnt.
After restarting the laptop, the linux home partition is unreadable. Clearly, the process got interrupted somewhere along the way. Gparted can see a ext4 partition that has 930 gb in size with around 300 gb of unallocated space and recommends that I grow that partition.
I was able to use dd_rescue to make a copy of the entire drive and saved it to a disk image (.img) on an external drive.
Before I do anything wrong with the original harddrive, I wanted to ask about the smartest way to move forward from this point.
I have a recent backup, but unfortunately it doesnt include some work from the last days and a lot of the .config/.local, etc files from the home folder. I would be keen to reconstruct the drive, rather than just use the backup.
Thanks for any help.