Hello, I'm trying to do a kickstart install of centos5. I'm pulling it off a network server and i'm getting an error, in the parsing of the file. It refers to line 31, i'm not going to show the complete file, but here is the indicated line: raid swap --fstype swap --level=RAID1 raid.4 raid.7 and the raid lines: part raid.7 --size=512 --ondisk=hdb part raid.4 --size=512 --ondisk=hda My parse error message is: "option --device is required" The raid lines indicate which drive to work on, i'm not seeing the issue. Any help appreciated. Thanks. Dave.
--device is probably referring to the RAID device. Such as /dev/md0 JC On 6/7/07, Dave <dmehler26 at woh.rr.com> wrote:> > Hello, > I'm trying to do a kickstart install of centos5. I'm pulling it off a > network server and i'm getting an error, in the parsing of the file. It > refers to line 31, i'm not going to show the complete file, but here is > the > indicated line: > raid swap --fstype swap --level=RAID1 raid.4 raid.7 > > and the raid lines: > part raid.7 --size=512 --ondisk=hdb > part raid.4 --size=512 --ondisk=hda > > My parse error message is: > "option --device is required" > > The raid lines indicate which drive to work on, i'm not seeing the issue. > Any help appreciated. > Thanks. > Dave. > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070607/ab823fd3/attachment-0001.html>
On Thu, 7 Jun 2007, Dave wrote:> Hello, > I'm trying to do a kickstart install of centos5. I'm pulling it off a > network server and i'm getting an error, in the parsing of the file. It > refers to line 31, i'm not going to show the complete file, but here is the > indicated line: > raid swap --fstype swap --level=RAID1 raid.4 raid.7 > > and the raid lines: > part raid.7 --size=512 --ondisk=hdb > part raid.4 --size=512 --ondisk=hda > > My parse error message is: > "option --device is required"This worked for me. It adds the --device option to each raid line. part raid.01 --size=300 --ondisk=sda --asprimary part raid.02 --size=300 --ondisk=sdb --asprimary part raid.11 --size=1024 --ondisk=sda --asprimary part raid.12 --size=1024 --ondisk=sdb --asprimary part raid.21 --size=1 --ondisk=sda --asprimary --grow part raid.22 --size=1 --ondisk=sdb --asprimary --grow raid /boot --fstype ext3 --level=RAID1 --device=md0 raid.01 raid.02 raid swap --fstype swap --level=RAID1 --device=md1 raid.11 raid.12 raid / --fstype ext3 --level=RAID1 --device=md2 raid.21 raid.22 -- Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/