On Fri, 4 Apr 2003 James_Martin@xxxxxxxxxxxxxxx wrote: > Thanks for everyone's help with getting the disk partitioned in %pre. I > have that setup fine now. The weird thing is, that after Red Hat installs, > the partition is somehow moved to #3. I can't figure it out. I'm > explicitly telling it to create it as partition 1. When my machine is > built and I do a : > > fdisk -l /dev/cciss/c0d0 > > Disk /dev/cciss/c0d0: 255 heads, 32 sectors, 4358 cylinders > Units = cylinders of 8160 * 512 bytes > > Device Boot Start End Blocks Id System > /dev/cciss/c0d0p1 * 10 22 53040 83 Linux > /dev/cciss/c0d0p2 23 4101 16642320 83 Linux > /dev/cciss/c0d0p3 1 9 36704 12 Compaq > diagnostics > /dev/cciss/c0d0p4 4102 4358 1048560 f Win95 Ext'd (LBA) > /dev/cciss/c0d0p5 4102 4358 1048544 82 Linux swap > > Partition table entries are not in disk order > > ### > Why aren't partition table entries in disk order? Weird how the third > partition starts at the first cylinder. BTW, no lectures on the partition > layout please, this is just a test-box. I have found that if you create ALL your partitions with fdisk in the %pre section, then they will come out exactly as you specified. However if you let the installer do some of the partitioning, then it will not necessarily order partitions that way you anticipate... cheers, denice -- denice.deatrich @ epfl.ch, DSC / LTHC-LTHI, E.P.F.L. PH: +41 (21) 693 76 67 <*> This moment's fortune cookie: Kennedy's Market Theorem: Given enough inside information and unlimited credit, you've got to go broke.