Accidently (XP) removed logic partitions in extended partition howto restore

After yet another terrible upgrade experience with opensuse, I decided to do yet another clean install.

The installer claimed about corrupted NTFS drives (how come) so I started that rusty XP, wanted to run scandisc on the 3 win partitions and instead of starting scandisc, my linux partitions disappeared. :frowning: WTF???

Opensuse root still exists in a primary partition.
how can I restore the logic partions?The extened partition still exists.

  • home
  • temp
  • ubuntu
  • swap
  • iso

Boot a live CD
And open a terminal
Post result of

sudo fdisk -l

linux@linux:~> su
linux:/home/linux # fdisk -l

Disk /dev/sda: 203.9 GB, 203928109056 bytes
255 Köpfe, 63 Sektoren/Spur, 24792 Zylinder, zusammen 398297088 Sektoren
Einheiten = Sektoren von 1 × 512 = 512 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f07cd

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1              63    51199154    25599546    7  HPFS/NTFS/exFAT
/dev/sda2   *    51199155   112631714    30716280    7  HPFS/NTFS/exFAT
/dev/sda3       112631715   153597464    20482875    7  HPFS/NTFS/exFAT
/dev/sda4   *   153597526   398282751   122342613    5  Erweiterte
/dev/sda5       153597528   192667544    19535008+  83  Linux

missing are
/dev/sda6 [home]
/dev/sda7 [temp]
/dev/sda8 [ubuntu]
/dev/sda9 [ISO]

It can be done. I usually boot with System Rescue Cd and use Testdisk tool in the cd. (Testdisk might be in is in Opensuse DVD also).

SysresCD can be found here SystemRescueCd and Testdisk details from here TestDisk Step By Step - CGSecurity.

Testdisk may help you recover what you lost
Hopefully you have a backup too!

And when you know EXACTLY what the start and end points of those lost partitions are, you can use fdisk to enter them again and get a (hopefully) correct partition table that corresponds with what is still on the disk (if it is still there).

But as we do not know why XP did what it did and what it did, all is speculation.

On 11/22/2011 04:06 PM, max spam wrote:
> missing are
> /dev/sda6 [home]
> /dev/sda7 [temp]
> /dev/sda8 [ubuntu]
> /dev/sda9 [ISO]

would you also plase show us:


df -h
cat /proc/partitions
cat /etc/fstab
cat /etc/mtab
mount
sudo /sbin/fdisk -l

oh, btw your question “on started that rusty XP, wanted to run scandisc
on the 3 win partitions and instead of starting scandisc, my linux
partitions disappeared. WTF???”

what does that mean “instead of starting scandisc, my linux partitions
disappeared” what did you do instead of starting scandisc??

anyway, afaik no Windows has ever been able to ‘see’ any Linux
partitions, ever…so, it is normal to not see them…in fact i guess
since scandisc can NOT see them maybe it was scandisc that just dropped
them off the disk ???

it is really not safe to let Microsoft around competing systems…never
know what might happen…


DD http://tinyurl.com/DD-Caveat

srpandey: thank you!

I downloaded the static binary and could recover my /home.

this tool should be in the build service

wanted to open the submenu for scandisc in compmgmt.msc

Windows displays unkonwn partitions, except you use the win driver vor ext.

hi:)

Your problem is little tedious , but nothing to worry… With the help of utility software such as Remo Recover software you canrecover NTFS partition. If your BIOS is detecting your linux partition then you can recover it too…

Remo Recover software helped me to recover my lost partition, so i am suggesting you the same… Hope you will be able to get back your both partitions… Download the free demo version of this software and start recovering your partitions.