Recover ext3 ?
I have recently installed gentoo and during the install process, I used cfdisk to change my partition table. I deleted hda1 (ntfs, ex-windows) and made an ext3. I didn't change anything else, and wrote my partition table on disk.
Now I have gentoo on hda1, but can't boot my debian on hda3 anymore. When I mount the disk in gentoo, I see only a lost+found directory. When I do a hexdump
I tried to recover my partition table with gpart but it didn't change a thing...
How can I get my files back ?
Let's see if I understand correctly. You used to be able to boot Deb, but can't anymore. You can boot Gentoo. Correct?
Then, the most likely thing is that you either elected to install the Gentoo bootloader to the MBR, or Gentoo defaults to install there, and you missed the de-select "install to MBR" during installation. Then, Gentoo didn't correctly write the bootloader config which would let you to boot Deb.
How to verify? Since you can do a hexdump and see your Deb files, they're obviously still there. The fact that you can't see them when you mount the partition (or think you have mounted it) suggests the problem lies in the Gentoo /etc/fstab and the bootloader config.
Try this. Using hexdump, get the contents of the Deb /etc/fstab, and the Deb bootloader config. Then compare the contents of those files with the Gentoo /etc/fstab and bootloader config.
Edit as necessary to get Gentoo to recognize Deb and correctly mount the partition.
If this works, make a boot disk of some kind of each distro, so that you don't have to go through this again.
I don't really care about booting my Debian anymore but I wish I could access to its files. When I do a
I've been trying TestDisk utility that claims to be able to recover data from a ext3, but I did't get any good result...
Thanks for your help.
|All times are GMT -5. The time now is 01:22 PM.|