briefly I accidentally created a GPT partition table on a Ext4 HD. To recover the Ext4 data I used testdisk on that HD and run the following as suggested by testdisk
Code: Select all
$ sudo fsck.ext4 -p -b 32768 -B 4096 /dev/sda
and the partition is back and data seems to be intact when mounted on ubuntu.[sudo] password for alfonso:
data was not cleanly unmounted, check forced.
data: Group 1 inode bitmap does not match checksum.
FIXED.
data: Group 0 block bitmap does not match checksum.
FIXED.
data: 65949/61054976 files (0.7% non-contiguous), 189540323/244190646 blocks
However I go back to having a GPT partition upon reboot.
how can I make the fsck.ext4 changes permanent? so I do not need to run it everytime I boot ubuntu.
Thanks for your help