Skip to contentSkip to conversation

Partition table entries are not in disk order

DISCUSSION James Lockie 2 participants 2 messages Dec 18, 2006

lore
Share & tools
lore
#0 lore raw

Can I fix this without deleting the partitions "Partition table entries are not in disk order"?

What caused it?

#1 lore raw
Quoted 2 lines · James Lockie

Can I fix this without deleting the partitions "Partition table entries are not in disk order"?

Yes. From linux fdisk, (fdsik /dev/<your-disk>) choose the advanced menu (by pressing x, afaik), then choose the entry for correcting partition ordering (press 'm' anytime to get some help on commands).

You should know that afterwards your partitions will be in the order they are on disk, meaning all (or some) numbers might change. That means you might have to adjust your /boot/grub/menu.lst, and also your /etc/fstab, probably.

afterwards, you will get (on disk):
/dev/hda1
/dev/hda2
/dev/hda3
...

Quoted 1 line

What caused it?

your last partitioning, probably.
It often happens when you delete one partition in the middle and insert two or more in the remaining space. It can also happen when you start adding partitions at the end.

if you for example had:
/dev/hda1
/dev/hda2 < delete, enter two new partitons
/dev/hda3

after entering the two partitons ordering is:
/dev/hda1
/dev/hda2
/dev/hda4 < wrong ordering
/dev/hda3

Note that this is not really a problem for linux.

Cheers,
Mario