[CentOS] questions on kickstart

Fri Mar 28 18:43:08 UTC 2008
Jerry Geis <geisj at pagestation.com>

I have 2 questions dealing with 2 different kickstart files.

1) my kickstart sections for RAID disk setup and kickstart reports it 
cannot find sda. Why is that. sda is there and works.

clearpart --all --initlabel
part raid.01 --asprimary --bytes-per-inode=4096 --fstype="raid" 
--onpart=sda1 --size=20000
part swap --asprimary --bytes-per-inode=4096 --fstype="swap" 
--onpart=sda2 --size=4000
part raid.02 --bytes-per-inode=4096 --fstype="raid" --grow --onpart=sda3 
--size=1
part raid.03 --asprimary --bytes-per-inode=4096 --fstype="raid" 
--onpart=sdb1 --size=20000
part swap --asprimary --bytes-per-inode=4096 --fstype="swap" 
--onpart=sdb2 --size=4000
part raid.04 --asprimary --bytes-per-inode=4096 --fstype="raid" --grow 
--onpart=sdb3 --size=1
raid / --bytes-per-inode=4096 --device=md0 --fstype="ext3" --level=1 
raid.01 raid.03
raid / --bytes-per-inode=4096 --device=md1 --fstype="ext3" --level=1 
raid.02 raid.04


2) my kickstart section for normally single disk setup. However with 2 
disks present in box
it put / on sda and /home on sdb. Is there a way to put it ALL on sda??? 
If there is a second disk I want it left alone.

clearpart --all --initlabel
part / --fstype ext3 --size=20000 --asprimary
part swap --size=4000 --asprimary
part /home --fstype ext3 --size=100 --grow --asprimary


THanks,

Jerry