This brings up a question... since you can specify onboot when setting up partitions, what about doing shell commands in %pre. In other words, grep through /proc to see if there is more than one ide or scsi disk. and then if there is only one disk, use partition scheme A, or if there are more than one disk, use partition scheme B. And if that isnt a current capability, do any of you think that would be a useful thing to have (i.e. would be worth a RFC)?? On Wed, 17 Oct 2001, Bodle, Donald E wrote: > If you're sure you'll always have an sdb, you can use the --ondisk > parameter, like this: > part /data --ondisk sdb --size 2000 --grow > > Don Bodle > -----Original Message----- > From: Rebecca.R.Hepper@xxxxxxxxxxx [mailto:Rebecca.R.Hepper@xxxxxxxxxxx] > Sent: Wednesday, October 17, 2001 9:04 AM > To: kickstart-list@xxxxxxxxxx > Subject: Partitioning a 2nd hard drive > > > Hey All, > > I have two hard drives in my system: sda=40 Gig and sdb=70 Gig. > > The following partitioning scheme works fine: > > zerombr yes > clearpart --all > part /boot --size 16 > part swap --size 1024 > part / --size 250 > part /usr --size 2000 > part /var --size 2000 --grow > part /usr/local --size 2000 > part /home --size 2000 > part /data --size 70000 --grow ##(this is the 2nd 70 gig hard drive) > > I wanted to place a smaller size along with the grow switch in for the 2nd > hard drive in case not every system has that large of a drive. If I use > anything smaller than 67,000 for the size (I've tried 5 different sizes > ranging from 2,000 to 60,000), I get a kernel panic when I reboot. Here > are the last few lines I see when I reboot. > > Partition Check: > ##info for sda > SCSI device sdb: 143374741 512-byte hdwr sectors(73408MB) > sdb: sdb1 sdb2 < sdb5 > > Kernel Panic VFS Unable to mount root fs on 08:0a > > If I use 70,000 for the size and the system reboots successfully, the > Partition Check during startup looks a bit different. > > Partition Check: > ##info for sda > SCSI device sdb: 143374741 512-byte hdwr sectors(73408MB) > sdb: sdb1 > > Does that mean anything to anybody? > > I don't see any errors on the virtual consoles during kickstart. And when > I do a "df -h" at the shell prompt during kickstart, it seems like the 2nd > hard drive never fills up all the space. For instance, if I said "part > /data --size 20,000 --grow" the available space is about 57Gig and if I do > "--size 2,000" the available space is 31Gig. > > I know multiple grow commands don't work well but I assumed that meant > multiple grow commands on one drive. Is that what my problem is? > > I am using Redhat 7.1. > > Any thoughts or advice would be appreciated!! > > Regards, > Rebecca > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://listman.redhat.com/mailman/listinfo/kickstart-list > -- Jeffrey Lane, RHCX, EMT Red Hat, Inc. 919-547-0012 www.redhat.com/support In memory of all victims of the Trade Center attack. and especially in memory of all Firefighters, LEOs and EMTs who paid the ultimate sacrifice during this troubles time so that others may live. God Speed my Brothers and Sisters.