I have a couple lines like: part / --ondisk=sda --fstype ext3 --size=20000 --asprimary part swap --ondisk=sda --size=4000 --asprimary part /home --ondisk=sda --fstype ext3 --size=1 --asprimary --grow in my kickstart file. Is there a way to have 1 kickstart file that works for hda and sda both??? So I would like to have 1 kickstart file that works for either a hda install or sda install. Thanks, Jerry
On Wed, 30 Apr 2008 at 2:46pm, Jerry Geis wrote> I have a couple lines like: > > part / --ondisk=sda --fstype ext3 --size=20000 --asprimary > part swap --ondisk=sda --size=4000 --asprimary > part /home --ondisk=sda --fstype ext3 --size=1 --asprimary --grow > > in my kickstart file. > > Is there a way to have 1 kickstart file that works for hda and sda both???If you only expect to have 1 drive in the systems you're installing, you can just leave off the "--ondisk=". -- Joshua Baker-LePain QB3 Shared Cluster Sysadmin UCSF
> > / I have a couple lines like: > />/ > />/ part / --ondisk=sda --fstype ext3 --size=20000 --asprimary > />/ part swap --ondisk=sda --size=4000 --asprimary > />/ part /home --ondisk=sda --fstype ext3 --size=1 --asprimary --grow > />/ > />/ in my kickstart file. > />/ > />/ Is there a way to have 1 kickstart file that works for hda and sda both??? > / > If you only expect to have 1 drive in the systems you're installing, you > can just leave off the "--ondisk=". > >Thanks, what do I do when I am installing RAID with 2 disks then. Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080430/5fcb5499/attachment-0001.html>
On Wed, 30 Apr 2008 at 4:30pm, Jerry Geis wrote>> >> / I have a couple lines like: >> />/ >> />/ part / --ondisk=sda --fstype ext3 --size=20000 --asprimary >> />/ part swap --ondisk=sda --size=4000 --asprimary >> />/ part /home --ondisk=sda --fstype ext3 --size=1 --asprimary --grow >> />/ >> />/ in my kickstart file. >> />/ >> />/ Is there a way to have 1 kickstart file that works for hda and sda >> both??? >> / >> If you only expect to have 1 drive in the systems you're installing, you >> can just leave off the "--ondisk=". >> >> > Thanks, what do I do when I am installing RAID with 2 disks then.AFAIK, there you're stuck with calling the disks by hda/sda. -- Joshua Baker-LePain QB3 Shared Cluster Sysadmin UCSF
Jerry Geis wrote:> I have a couple lines like: > > part / --ondisk=sda --fstype ext3 --size=20000 --asprimary > part swap --ondisk=sda --size=4000 --asprimary > part /home --ondisk=sda --fstype ext3 --size=1 --asprimary --grow > > in my kickstart file. > > Is there a way to have 1 kickstart file that works for hda and sda > both??? > > So I would like to have 1 kickstart file that works for either a hda > install or sda install. > Thanks, > Jerry > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >Jerry, see the attached example of my partitioning %pre script i use for all my builds. hope it helps. Ben -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: part-include.example URL: <http://lists.centos.org/pipermail/centos/attachments/20080501/a40c743f/attachment.ksh>