part function

Glenn Bailey gbailey at terremark.com
Tue Oct 14 15:38:47 UTC 2008


What's the default behvaiour for the 'part' function when --ondisk is
left out? I'm wanting to do something similar to this in my kickstarts,
but make it available on other devices that don't have the cciss device:

clearpart --all
part /boot --fstype ext3 --size=250 --asprimary --ondisk=cciss/c0d0
part pv.100000 --noformat --size=1 --grow --ondisk=cciss/c0d0
volgroup vg0 --pesize=32768 pv.100000
logvol swap --fstype swap --name=lv_swap --vgname=vg0 --size=4096
logvol /var/log --fstype ext3 --name=lv_log --vgname=vg0 --size=4096
logvol / --fstype ext3 --name=lv_root --vgname=vg0 --size=2048 --grow

If I just take out the --ondisk will it default to the first disk? Or
will I need to execute a script in the %pre section?

glenn - terremark worldwide




More information about the Kickstart-list mailing list