(dual boot),I have Installed windows 7 over windows xp in the first partition (primary) and I lost linux partitions and there are two ntfs partitions didn’t deleted.want to recover linux partiotns becose they have important data ,or recover files from deleted partitions.
used opensuse DVD trying to recover grub but it says there are no linux partitions
I have the folowing before the the problem:
fdisk -l /dev/sda
Disk /dev/sda: 500.1 GB, 500107862016 bytes
240 heads, 63 sectors/track, 64601 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0x0039857c
Device Boot Start End Blocks Id System
/dev/sda1 1 11828 89419648+ 7 HPFS/NTFS
/dev/sda2 * 11829 64601 398963880 f W95 Ext’d (LBA)
/dev/sda5 29913 64601 262248808+ 7 HPFS/NTFS
/dev/sda6 11829 11861 247117 83 Linux
/dev/sda7 11861 13525 12578863+ 82 Linux swap / Solaris
/dev/sda8 13525 29912 123885216 83 Linux
Partition table entries are not in disk order
Windows 7 looks to be installed in Logical Partition sda5
Note sda5 is 29913 - 64601
Notice 64601 is the end point of extended sda2
BUT the start point of sda5 29913 means there is free space in sda2 before sda5
This free space is shown in Parted as Unallocated and will occupy 11829 - 29913
So as it is your Linux partitions have been deleted.
However. In Parted Magic there is an application called Test Disk
Run it to see if you can recover lost partitions.
I might know enough to have lead you here. But I have never had the misfortune of having to do this personally.
I can’t see exactly what you want to do here. My main concern would be to get back my /home partition, which by my estimation is sda8.
Forget the rest.
Once you recover it and can mount it in Parted Magic you can copy the data you need. Where you copy it to is another question, perhaps the windows partition for now. Then I would delete it, and create a new layout with newly formatted partitions.
Is your last post just a recopy of fdisk from first post or is it a new output.
If it is just a recopy, dump Acronis and run ‘testdisk’ posted by caf4926 , it give more needed information.
1 track (63 sectors) before each and every logical volume is an extended partition table that links all logical volumes together. It seems you lost the link from sda5 to sda6. Its not hard to figure out (if one has done needed research) but also easy to make a dumb mistake, I normally do. ‘testdisk’ normally does it correctly but not always.
If the data is important would say get a 2nd hdd of same or larger and do a sector to sector transfer. Fixing a hdd partition structure is risky and sometime not repairable if mistake is made.