LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Restoring ext4 partition after canceled resize (https://www.linuxquestions.org/questions/linux-hardware-18/restoring-ext4-partition-after-canceled-resize-4175462505/)

fenuks 05-18-2013 03:07 PM

Restoring ext4 partition after canceled resize
 
Hello,
I had 100 GB of free space preceding ext4 partition, I used Gparted to extend this partition with mentioned free space. When Gparted was performing read-only test I had to cancel operation (I thought it's only read-only test, so it won't cause any errors), after cancelling Gparted crashed (it stopped to react, I terminated it after about 0.5 h waiting). Unfortunately partition table was modified and my ext4 partition was resized, but it's not valid partition anymore. How can I fix my partition table (I guess Gparted modified only partition table and it don't move any data?). I would be grateful for any anwers. Thanks.

business_kid 05-19-2013 04:12 AM

Grab testdisk. It's got the testdisk binary statically compiled.. It works


All times are GMT -5. The time now is 02:40 PM.