Hi. I'm currently trying to configure a kickstart script to do auto installs. We split up the partitions so that we have control on the mount security like setting no execute on the tmp portions etc .
I keep hitting the same error :
"Could not stat /dev/VolGroup00/LogVol_root --- No Such file or directory The device apparently does not exist; did you specify is correctly "
Even after doing a manual install to generate the file lvm configuration I'm getting the same results. I have also deleted the whole virtual machine and started from scratch.
Any suggestions on how I can resolve this ?
From ks.cfg
bootloader --location=mbr --driveorder=sda clearpart --linux part /boot --size=101 --fstype ext3 part swap --size=2048 --asprimary part pv.22 --size=100 --grow volgroup VolGroup00 --pesize=32768 pv.22 logvol /var/log --fstype ext3 --name=LogVol_var_log --vgname=VolGroup00 --size=2048 logvol /home --fstype ext3 --name=LogVol_home --vgname=VolGroup00 --size=2048 logvol /var --fstype ext3 --name=LogVol_var --vgname=VolGroup00 --size=2048 logvol /usr --fstype ext3 --name=LogVol_usr --vgname=VolGroup00 --size=2048 logvol / --fstype ext3 --name=LogVol_root --vgname=VolGroup00 --size=2048 logvol /tmp --fstype ext3 --name=LogVol_tmp --vgname=VolGroup00 --size=2048 logvol /var/tmp --fstype ext3 --name=LogVol_var_tmp --vgname=VolGroup00 --size=2048 logvol /opt --fstype ext3 --name=LogVol_opt --vgname=VolGroup00 --size=2048
Found the problem there is no support for lvm in the net install iso . Using the full install iso fixed the problem.
From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Machin, Greg Sent: Monday, 4 April 2011 5:10 p.m. To: 'CentOS mailing list' Subject: [CentOS] lvm and kickstart issues deploying CentOS5.5
Hi. I'm currently trying to configure a kickstart script to do auto installs. We split up the partitions so that we have control on the mount security like setting no execute on the tmp portions etc .
I keep hitting the same error :
"Could not stat /dev/VolGroup00/LogVol_root --- No Such file or directory The device apparently does not exist; did you specify is correctly "
Even after doing a manual install to generate the file lvm configuration I'm getting the same results. I have also deleted the whole virtual machine and started from scratch.
Any suggestions on how I can resolve this ?
From ks.cfg
bootloader --location=mbr --driveorder=sda clearpart --linux part /boot --size=101 --fstype ext3 part swap --size=2048 --asprimary part pv.22 --size=100 --grow volgroup VolGroup00 --pesize=32768 pv.22 logvol /var/log --fstype ext3 --name=LogVol_var_log --vgname=VolGroup00 --size=2048 logvol /home --fstype ext3 --name=LogVol_home --vgname=VolGroup00 --size=2048 logvol /var --fstype ext3 --name=LogVol_var --vgname=VolGroup00 --size=2048 logvol /usr --fstype ext3 --name=LogVol_usr --vgname=VolGroup00 --size=2048 logvol / --fstype ext3 --name=LogVol_root --vgname=VolGroup00 --size=2048 logvol /tmp --fstype ext3 --name=LogVol_tmp --vgname=VolGroup00 --size=2048 logvol /var/tmp --fstype ext3 --name=LogVol_var_tmp --vgname=VolGroup00 --size=2048 logvol /opt --fstype ext3 --name=LogVol_opt --vgname=VolGroup00 --size=2048