Red Hat Bugzilla – Bug 144748
disk druid should add partitions to a drive in the order I create them
Last modified: 2007-11-30 17:07:05 EST
When I create partitions with Disk Druid, it doesn't add them to the
drive in the order I create them. For example, if I create a 100MB
/boot partition and then a 4000MB swap partition on a drive, it places
the swap partition before the /boot partition, even though I created
the /boot partition first and the /boot partition should be the first
partition on the drive.
Disk Druid should add partitions to a drive in the order I create them.
Note bug 144750, which combined with this bug makes Disk Druid
completely unusable for manual partitioning when the order of
partitions is important.
/boot will be first because it's special cased. Others won't be
because we have to put down the _largest_ partitions first to allow
for growing to occur.
If you want finer-grained then you have to lose the ability of growing
either by running parted manually or by editing free spaces which will
give you cylinder based partitioning.
*** Bug 144750 has been marked as a duplicate of this bug. ***
I'm happy to lose the ability to grow physical partitions, since I use
LVM for most partition management. I create only /boot, a swap
partition equal to twice the maximum memory the machine can ever hold,
and one large LVM partition that takes up the rest of the space on
disk. Thus I never need to grow a physical partition.
Nevertheless, even if that's insufficient cause to allow users to
control partition order, it's still the case that contrary to
expectation /boot is *not* first and special-cased in my situation.
If I first create a /boot partition and then create a swap partition,
Disk Druid adds the swap partition *before* the /boot partition.
So if /boot is supposed to be first (as I reckon it should be), then
that's a bug, even if you don't intend to fix the larger issue of
control over partition ordering.