Whole disk LVM via kickstart
Jodok Ole Muellers
muellejo at aschendorff.de
Wed Jan 13 08:21:22 UTC 2010
Hi Chad,
> /dev/sdb = LVM2 pv, no partitions (LVs /, /home, /usr/local, /opt, swap, /tmp, & /var)
I recently learned that it is not a good idea not to have a partition,
because you then can't define a partition type 8e and therefore e.g.
booting a rescue system could get trouble to automatically identify sdb as LVM PV.
This is what I use
bootloader --location=mbr --driveorder=sdb --append="console=ttyS1,115200n8 console=tty1 vga=791"
clearpart --all --drives=sdb
part /boot --fstype ext3 --size=100 --ondisk=sdb
part pv.2 --size=0 --grow --ondisk=sdb
volgroup rootvg --pesize=32768 pv.2
logvol swap --fstype swap --name=swaplv --vgname=rootvg --size=8192
logvol / --fstype ext3 --name=rootlv --vgname=rootvg --size=20480
cheers
More information about the Kickstart-list
mailing list