[CentOS] questions on kickstart
Joshua Baker-LePain
jlb17 at duke.edu
Fri Mar 28 18:59:40 UTC 2008
On Fri, 28 Mar 2008 at 2:43pm, Jerry Geis wrote
> 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
Is sda already partitioned?
> 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
If that's cut and pasted from your ks file, then you're requesting the
same partition twice...
> 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
Add --ondisk=sda to each line.
I refer to
http://www.redhat.com/docs/manuals/enterprise/RHEL-5-manual/en-US/RHEL510/Installation_Guide/s1-kickstart2-options.html
quite often...
--
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
More information about the CentOS
mailing list