Can somebody, please, help me with my problem!
I tried to delete the
/dev/sdb6 partition using WinXP (Computer Management utility), but it actually deleted my Linux Debian Jessie! That is, it deleted:
I decided to post here, because the steps for recovery have to be the same for Ubuntu / Debian, if I understand it correctly.
Booting into the OS gives the following output:
Currently, I was able to achieve the following.
$ sudo fdisk -l Disk /dev/sdb: 149.1 GiB, 160041885696 bytes, 312581808 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000080 Device Boot Start End Sectors Size Id Type /dev/sdb1 * 63 98301734 98301672 46.9G 7 HPFS/NTFS/exFAT /dev/sdb2 98301735 312560639 214258905 102.2G f W95 Ext'd (LBA) /dev/sdb5 98301798 154625624 56323827 26.9G e W95 FAT16 (LBA) /dev/sdb6 154625688 312560639 157934952 75.3G 7 HPFS/NTFS/exFAT
/dev/sdb2 shows the wrong size. I presume
/dev/sdb2 has to be my swap file / partition.
/dev/sdb5 26.9G has to be my ext4 filesystem with Linux Debian Jessie where the data I need to recover badly is stored...
I've managed to successfully recover my
/dev/sdb6 partition by using
testdisk, but no luck with
Active@ partition recovery does not seem to see ext4 partitions.
What can I do now to recover my
/dev/sdb5 partition OR at least recover files stored on that partition?
Should I try
sudo mke2fs -n /dev/sdb5, etc. (just not to make things even worse)?