LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   Restoring ext4 partition after canceled resize (http://www.linuxquestions.org/questions/showthread.php?t=4175462505)

fenuks 05-18-2013 02: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 03:12 AM

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


All times are GMT -5. The time now is 12:44 PM.