Device Parameter in Kickstart File

Ronald Reed rreed at ops.sgp.arm.gov
Thu May 5 16:22:04 UTC 2005


I tried multiple device lines in the kickstart, but anaconda would only
read the first one. I don't know what would happen if one of the modules
needed extra options.

Ron

On Wed, 2005-05-04 at 19:46, Greg Morgan wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Ronald Reed wrote:
> > This is what I have found so far:
> > 
> > If you need a device parameter in your kickstart file, and you need more
> > than 1 module loaded, then separate them with a colon ":". Example:
> > 
> > device scsi aacraid:megaraid:aic7xxx
> 
> http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/s1-kickstart2-options.html
> 
> I guess you have found an undocumented feature because it only talks
> about one driver here without the : separation syntax.  This of course
> would lead to trying several device lines.  At most anaconda may only be
> expecting a scsi and a eth line.  Perhaps this was added after 9?  I'll
> make a note of it for later.
> 
> > 
> > This should be documented somewhere, because I have searched for days
> > and found nothing that mentioned this. I had to dig thru the anaconda
> > source code to figure this out. Hopefully this post will help someone
> > else too.
> > 
> > Ron
> > 
> > On Fri, 2005-04-29 at 20:58, Dan Carpenter wrote:
> > 
> >>On 4/28/05, Ronald Reed <rreed at ops.sgp.arm.gov> wrote:
> >>
> >>>Anyone know what section of the anaconda code read the device parameter
> >>>so that I can find it in the source code?
> >>
> >>I'm new to this as well.  Check out anaconda CVS.
> >>cd anaconda/loader2/
> >>look for loadKickstartModule in kickstart.c and modules.c
> >>
> >>I don't completely understand you're setup, but maybe you could try 
> >>getting access to the install media and doing all the rest in the %pre and 
> >>%post scripts.  I've never had to do this myself...
> >>
> >>regards,
> >>dan
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFCeWz8xyxe5L6mr7IRArGwAJ0Rpgbid9S5vHWTSZ25WjcHp8rnBwCfUr8z
> A6njzjVVBs/tkGP7lRQ27rA=
> =2RXn
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
-- 
===========================
Ron Reed
RedHat Certified Engineer
SGP Computer Department Manager
Unix Systems Administrator
ARM SGP CART Site
(580)388-4053
ron.reed at arm.gov




More information about the Kickstart-list mailing list