Jan-Frode Myklebust wrote:
We have this small snippet in our kickstart files:
clearpart --all --initlabel
part /boot --fstype ext3 --size=128
part pv.0 --size=0 --grow
volgroup rootvg pv.0
logvol / --fstype ext3 --name=rootlv --vgname=rootvg --size=5120
logvol swap --fstype swap --name=swaplv --vgname=rootvg --size=2048
logvol /var --fstype ext3 --name=varlv --vgname=rootvg --size=3072
logvol /local --fstype ext3 --name=locallv --vgname=rootvg --size=1024
which works fine, except when there's more than one
disk in the system. Then it picks the first disk (sda or hda)
to hold the /boot fs, and the second disk (sdb or hdb) to hold
the root volume group.
Does anybody know how fix this so that both are placed on the same
disk during kickstart ?
Two things to try, as arguments to both of your "part" lines:
--ondisk=sda (not really useful unless you detect whether the first disk
is hda or sda first)
--onbiosdisk=80 (I think that will be the first disk detected by the
machine's BIOS - I've never tried this option myself)
The information on the latter, I found on the Dell Linux site a while
ago and put on my list for investigation:
http://linux.dell.com/installermagic.shtml
--
Sam
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list