Re: Partition table messed up - hundreds of "ghost" partitions
I think I can help fix this. What has gone wrong is the daisy-chaining of the extended partitions. It is as if one extended boot record is pointing back to an earlier one, thus creating a loop.
Code:
ubuntu@ubuntu:~$ sudo fdisk -lu
Warning: omitting partitions after #60.
They will be deleted if you save this partition table.
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x9bca9bca
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 94928016 47462984+ 7 HPFS/NTFS
/dev/sda2 94928024 129092767 17082372 83 Linux
/dev/sda3 129437694 976773119 423667713 5 Extended
Partition 3 does not start on physical sector boundary.
/dev/sda5 190996848 194900579 1951866 82 Linux swap / Solaris
/dev/sda6 194900643 276816014 40957686 83 Linux
Partition 6 does not start on physical sector boundary.
/dev/sda7 276817920 308142079 15662080 83 Linux
/dev/sda8 308144128 369606655 30731264 83 Linux
/dev/sda9 369607518 459282284 44837383+ 83 Linux
Partition 9 does not start on physical sector boundary.
/dev/sda10 459282348 542049164 41383408+ 83 Linux
Partition 10 does not start on physical sector boundary.
/dev/sda11 369607518 459282284 44837383+ 83 Linux
Partition 11 does not start on physical sector boundary.
/dev/sda12 459282348 542049164 41383408+ 83 Linux
Partition 12 does not start on physical sector boundary.
/dev/sda13 369607518 459282284 44837383+ 83 Linux
Partition 13 does not start on physical sector boundary.
/dev/sda14 459282348 542049164 41383408+ 83 Linux
Do you recall which partitions are supposed to be there. It appears that the sector addresses are obvious wrong starting at sda11. Did you have 10 partitions originally?
The method I would use is manual and tedious but will work. It is to look at each EBR in the chain until the one that is erroneous if found and then to fix it. Their locations are unknown but each one tells where the next one is.
To see the first EBR post the output of:
sudo dd if=/dev/sda bs=512 count=1 skip=129437694 | hexdump -C
ASRock P67 Extreme6, Intel i5 2500K, 8GB RAM, nVidia 6600GT, 4x1TB RAID1+0
Bookmarks