[WBEL-users] Problem with kickstart

Alex Tkachenko alex@ingrian.com
Sun, 02 May 2004 15:31:56 -0700


Thanks you very much, Steve, I'm gonna try it once I get to the office.
It actually may work, because I was looking into the anaconda sources
and got a impression that this is the multi-word fstype definition
("physical volume (LVM)") which breaks the things. Other file systems
have one-word type definition. But for LVM physical volumes it is not
even needed, because the type may be determined from the ID (second
column in RAID configuration - if it starts with "pv", installer assumes
correct type - that's why I am very optimistic about the solution
provided at the link you mentioned. But I am by no means a Python
expert.

Thanks again,
Alex

On Sat, 2004-05-01 at 07:32, Steve Phillips wrote:
> On Fri, 2004-04-30 at 23:41, Alex Tkachenko wrote:
> > Hi everybody,
> > 
> > I installed one system using GUI installer, and then I am trying to use
> > the same configuration to install another one (on identical platform)
> > using generated anaconda-ks.cfg. Installation fails with the message:
> > 
> > Traceback (most recent call last):
> >   File "/usr/bin/anaconda", line 1042, in ?
> >     instClass.setInstallData(id)
> >   File "/usr/lib/anaconda/kickstart.py", line 1207, in setInstallData
> >     self.readKickstart(id, self.file)            
> >   File "/usr/lib/anaconda/kickstart.py", line 674, in readKickstart
> >     handlers[args[0]](id, args[1:])
> >   File "/usr/lib/anaconda/kickstart.py", line 954, in defineRaid
> >     raise RuntimeError, "Tried to use an undefined partition in RAID
> > specificat"
> > RuntimeError: Tried to use an undefined partition in RAID specification
> > 
> > (output clipped because of minicom)
> > 
> > The part of kickstart file which determines the hard drive layout:
> > 
> > clearpart --linux
> > part raid.15 --size=100 --ondisk=hda --asprimary
> > part raid.16 --size=100 --ondisk=hdc --asprimary
> > part raid.18 --size=12288 --ondisk=hdc
> > part raid.17 --size=12288 --ondisk=hda
> > part raid.20 --size=100 --grow --ondisk=hdc
> > part raid.19 --size=100 --grow --ondisk=hda
> > raid /boot --fstype ext3 --level=RAID1 raid.15 raid.16
> > raid pv.22 --fstype physical volume (LVM) --level=RAID1 raid.17 raid.18
> > raid pv.23 --fstype physical volume (LVM) --level=RAID1 raid.19 raid.20
> > volgroup Volume00 pv.22 pv.23
> > logvol swap --fstype swap --name=LogVol01 --vgname=Volume00 --size=1024
> > logvol / --fstype ext3 --name=LogVol00 --vgname=Volume00 --size=2048
> > logvol /var --fstype ext3 --name=LogVol02 --vgname=Volume00 --size=8192
> > 
> > Any help will be greatly appreciated.
> > 
> > Have a great weekend,
> > Alex
> > 
> > 
> > 
> > _______________________________________________
> > Whitebox-users mailing list
> > Whitebox-users@beau.org
> > http://beau.org/mailman/listinfo/whitebox-users
> 
> After my initial response, I ran across this -
> http://linux.derkeiler.com/Mailing-Lists/RedHat/2004-04/0332.html
> Let us know if it works!
> stevep