RHEL5.1 and lvm

Rainer Duffner rainer at ultra-secure.de
Thu Nov 22 15:54:38 UTC 2007


Hi,

I'm trying to do an install of RHEL5.1 (i386), with the help of cobbler.
All in a VMware at the moment.

The partitioning section looks like this:

part /boot --fstype ext3 --size=150 --ondisk=sda --asprimary
part swap --fstype swap --size=4096  --ondisk=sda --asprimary

part pv.01  --size=2048 --ondisk=sda
volgroup rootvol pv.01 --pesize=32768
logvol / --vgname=rootvol --size=1024 --name=root --grow --fstype=ext3

part pv.02  --size=4096 --ondisk=sda
volgroup usrvol  pv.02 --pesize=32768
logvol /usr --vgname=usrvol --size=1024 --name=usr --grow --fstype=ext3

part pv.03  --size=2048 --grow --ondisk=sda
volgroup varvol pv.03 --pesize=32768
logvol /var --vgname=varvol --size=1024 --name=var --grow --fstype=ext3

part pv.04  --size=4096 --ondisk=sda
volgroup varlogvol pv.04 --pesize=32768
logvol /var/log --vgname=varlogvol --size=1024 --name=varlog --grow
--fstype=ext3

But the installer halts with the "Big Problem, I can only reboot - OK?"
screen.
The problem seems to be that the volumegroups are not active (I can
activate them via vgscan and vgchange -ay on the 2nd terminal, I see  on
the 3rd that anaconda can't find them in /dev)).
I tried a "pre"-scripts, but I think anaconda enters into some kind of
chroot and the device-files are not there anymore, when it wants to format
the devices...

Has anyone had this problem?
I couldn't find anything in the archives.


Rainer




More information about the Kickstart-list mailing list