[WBEL-users] Problem with kickstart

Alex Tkachenko alex@ingrian.com
Fri, 30 Apr 2004 20:41:18 -0700


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