Kickstart Partitioning Configuration
Posted
by
Flo
on Super User
See other posts from Super User
or by Flo
Published on 2012-06-22T18:43:24Z
Indexed on
2012/06/23
21:19 UTC
Read the original article
Hit count: 243
I'be been trying to run a kickstart script with the following partition configuration:
#Clear the masterboot record
zerombr
bootloader --location=mbr --driveorder=sda --append=" rhgb crashkernel=auto quiet"
# Set up the partitions/logical volumes/logical groups
clearpart --all
part /boot --fstype=ext4 --asprimary --size=512 --ondisk=sda
part swap --size=2048 --fstype=swap --ondisk=sda
part pv.01 --fstype=ext4 --grow --size=200 --ondisk=sda
part pv.02 --fstype=ext4 --grow --size=200 --ondisk=sdb
volgroup VolGroup pv.01 pv.02 --pesize=32768
logvol /opt --fstype=ext4 --name=opt.fs --vgname=VolGroup --size=40000
logvol / --fstype=ext4 --name=root.fs --vgname=VolGroup --size=78000
I have two hard drives and it looks to me like its a really simple configuration. When I run the kickstart I keep getting all these errors that have to do with python files for configuring partitions. The only actual maybe useful piece of information is
KeyError /dev/sda/
I tried a number of alterations of this configuration but nothing really worked. Any ideas?
© Super User or respective owner