vikas027 |
01-26-2012 11:06 AM |
LVM Options in Kickstart in CentOS 6.2
Dear All,
I have created a PXE Kickstart setup on CentOS 6.2 64 Bit.
When I install CentOS 6.2 64 Bit without using LVM options (in kickstart file) it works fine but when I use below LVM options, it does not throw any error in installation but after reboot kernel panics finding /lib/modules/2.6.32-220.el6.x86_64/modules.dep which is not created at the time of installation.
Code:
part /boot --fstype ext3 --size=100 --ondisk=sda
part pv.01 --size=1 --grow --ondisk=sda
volgroup rootvg pv.01
logvol / --fstype ext3 --name=lvroot --vgname=rootvg --size=5000
logvol /home --fstype ext3 --name=lvhome --vgname=rootvg --size=100
logvol swap --fstype swap --name=lvswap --vgname=rootvg --size=512
I use the same code with the difference of " --size=0" in the second line for RHEL/CentOS 5.X installation and it works well.
Please suggest what I am missing, proabably it has something to do with "--size" option only.
|