Kickstart partitioning

Stephen Berg (Contractor) stephen.berg.ctr at nrlssc.navy.mil
Thu May 14 16:47:18 UTC 2009


I've been fighting to get a network install kickstart set up for F11 and 
the partitioning is just plain not working as advertised so far.  The 
kickstarts I've been using for FC6, F9 and F10 all worked great, but I 
found out yesterday that F11 removed the --start and --end flags for 
partitions so that messed me up.  Now when I use the following lines the 
system complains about no partition for pv.00 or something like that.

Is there someplace I can find documentation for the Fedora 11 syntax on 
kickstart files?  The draft I was reading says it's for Fedora 11 but I 
can see that it's not up to date with the current Preview release.  
(Still says that --start and --end should work.)

Here's how I'm trying to set things up...

# Clear out any existing partitioning
zerombr
clearpart --all

#Create one partition on each disk to become /boot on RAID1 ext3
part raid.11 --asprimary --ondisk=sda --size 100
part raid.12 --asprimary --ondisk=sdb --size 100
part raid.13 --asprimary --ondisk=sdc --size 100
part raid.14 --asprimary --ondisk=sdd --size 100
raid /boot  --device md1 --fstype ext3 --level=RAID1 raid.11 raid.12 
raid.13 raid.14

#Create one partition on each disk to become swap on RAID10
part  raid.21 --asprimary --ondisk=sda --size 16384
part  raid.22 --asprimary --ondisk=sdb --size 16384
part  raid.23 --asprimary --ondisk=sdc --size 16384
part  raid.24 --asprimary --ondisk=sdd --size 16384
raid swap  --device md2 --fstype swap --level=RAID10 raid.21 raid.22 
raid.23 raid.24

#Create one partition on each disk to become a system volume group on 
RAID5 ext3
part raid.31 --asprimary --ondisk=sda --size 10240
part raid.32 --asprimary --ondisk=sdb --size 10240
part raid.33 --asprimary --ondisk=sdc --size 10240
part raid.34 --asprimary --ondisk=sdd --size 10240
raid pv.00  --device=md0 --fstype ext3 --level=RAID5 raid.31 raid.32 
raid.33 raid.34

#Setup the system volume group, a / logical volume and a /var logical volume
volgroup pv.00 --pesize=32768 system
logvol / --name=slash --vgname=system --percent=85
logvol /var --name=var --vgname=system --percent=15


-- 
Stephen Berg
Systems Administrator
NRL Code: 7321
Office: 228-688-5738
stephen.berg.ctr at nrlssc.navy.mil 




More information about the fedora-test-list mailing list