probe drives in during %pre in kickstart

Dan White ygor at comcast.net
Mon Aug 8 11:48:46 UTC 2011


>> For RHEL5 kickstarts, we use the isys module (from anaconda) to probe which
>> and how many drives are available in the system.
>> However, when trying to install a RHEl6 system with, it fails in the pre
>> part because the function hardDriveDict has been removed from isys.
>> A googlesearch pointed me to the direction of minihal as a replacement for
>> isys.DriveDict. However, currently it is not clear to me where I can find
>> the minihal module and how I should import this module in the pre-phase of
>> the kickstart.
>> 
>> Can anyone shed a light on this ?
>
>You can use the list-harddrives command line program for this, or if you
>are writing a script you can see what it does and duplicate it if
>necessary.
>
>- Chris

No, list-harddrives is busted

https://bugzilla.redhat.com/show_bug.cgi?id=709880




“Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.”
Bill Waterson (Calvin & Hobbes)




More information about the Kickstart-list mailing list