RHES 5 kickstart and LVM on ks.cfg question

Dave Peters gameslover987-/E1597aS9LQAvxtiuMwx3w at public.gmane.org
Thu Jun 28 11:19:52 EDT 2007


I setup kickstart point to nfs and it works now. 
I got the error during the kickstart.

It said: the following problem occurred on line 49 of
the kickstart.
Option --device is required.
Line 49:
raid pv.01 --fstype "physical volume (LVM)"
--level=RAID1 raid.5


Here is the ks.cfg file:

# Disk partitioning information
part /boot --fstype ext3 --size=196 --asprimary
part swap --size=16384 --ondisk=sda
part raid.15 --size=1024 --grow --ondisk=sda
raid pv.01 --fstype "physical volume (LVM)"
--level=RAID1 raid.5
volgroup vg.01 pv.01
logvol / --fstype ext3 --size=10000 --vgname=vg.01
--name=LogVol00
logvol /tmp --fstype exts --size=4096 --vgname=vg.01
--name=LogVol01
logvol /home --fstype exts --size=10000 --vgname=vg.01
--name=LogVol02


Any suggestion?

Thanks.

-DP


--- Dave Peters <gameslover987-/E1597aS9LQAvxtiuMwx3w at public.gmane.org> wrote:

> Hello all,
> 
> I try to setup kickstart on RH ES 5, but it failed. 
> The ks.cfg was stored in usb flash memory and also
> try
> NFS on another systems. Both won't work; I boot from
> the usb flash memory and RHES 5 was on the CDROM
> drive.
> 
> 1. How I can use command to ask kickstart to look
> for
> usb flash memory? I don't have floppy on the system.
> I don't know what I should call on usb flash memory?
> BIOS detected the usb flash memory. I put boot.img
> and
> ks.cfg on the usb flash memory.
> I tried the following without any success:
> linux ks=hd:fd0:/ks/cfg
> linux ks=floppy dd
> linux ks=cdrom:/ks.cfg
> 
> 2. About ks.cfg file
> How to add LVM on the ks.cfg?
> Do I need setup raid before to add LVM? I found the
> doc  the setup like this:
> 
> part raid 11 --szie 1 --grow  --ondrive=sda
> part raid 12 --szie 1 --grow  --ondrive=sda
> raid pv.01 --fstype ext3 --device md4 --level=RAID1
> raid.11 raid.12
> 
> volgroup sysvg pv.01
> logvol /    --vgname=sysvg --size=8000  --name=/
> logvo2 /home --vgname=sysvg --szie=10000
> --name=/home
> logvo3 /tmp  --vgname=sysvg --szie=8000  --name=/tmp
> 
> 
> Thanks.
> 
> DP
> 
> 
>      
>
____________________________________________________________________________________
> Luggage? GPS? Comic books? 
> Check out fitting gifts for grads at Yahoo! Search
>
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> _______________________________________________
> Discuss mailing list
> Discuss-mNDKBlG2WHs at public.gmane.org
> http://lists.blu.org/mailman/listinfo/discuss
> 



      ____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the Discuss mailing list