This may be a FAQ - apologies if it is, but I haven't found any definitive
answer anywhere.
When I do something like this in my ks.cfg:
clearpart --drives sda,sdb --initlabel
part /boot --fstype ext3 --size 200 --ondisk sda
part swap --size 1024 --ondisk sda
part raid.01 --size 8192 --grow --ondisk sda
part /boot.spare --fstype ext3 --size 200 --ondisk sdb
part swap --size 1024 --ondisk sdb
part raid.02 --size 8192 --grow --ondisk sdb
raid / --level=RAID1 --device=md0 --fstype ext3 raid.01 raid.02
The partitions never seem to get created in the order I specify. Is there a way
to make this happen correctly? Why are my partitions being reordered?
Also, it is this problem that's been forcing me to attempt to partition manually
in %pre, and that seems to be causing problems for anaconda as well -
specifically the creation of /dev/md0 seems to totally break the installation.
Anaconda crashes with "cannot open 'md0' - no such device or address" even
though /proc/mdstat shows the correct info.
So any help or pointers anyone could give me on either issue would be very much
appreciated...
Thanks!
Mart