genhdlist problems under RHEL3

mbox mbarsalou barjunk at attglobal.net
Wed May 26 05:14:28 UTC 2004


I'm Interested.

On Mon, 2004-05-24 at 14:04, Martin Robb wrote:
> I have a script which takes a ks.cfg file and a set of install CDs, 
> reads the package and rpm list from the ks.cfg file, and extracts the 
> infrastructure and the corresponding RPMs from the install CDs into an 
> ISO file which can be used to roast an install CD.  It all works very 
> nicely under Fedora Core 2 using the FC2 install CDs.
> 
> The same script can be used with Red Hat Enterprise Linux 3 install CDs 
> to build an ISO file.  The only tweaks were 1) replacing references to 
> the Fedora subdirectory with the RedHat subdirectory, 2)  omitting the  
> --productpath argument to genhdlist since RHEL3 anaconda doesn't 
> understand it. 
> 
> Although everything appears to work properly, during the install I get 
> an error window:
> "Error: An error occurred unmounting the CD.  Please make sure you're 
> not accessing /mnt/source from the shell on tty2 and then click OK to 
> retry."
> When I switch to tty2 I find that /mnt/source does not exist as a 
> directory and nothing is mounted there.  I can create the directory and 
> mount /dev/hda as /mnt/source, but the install continues to give errors.
> 
> The difficulty appears to be introduced by genhdlist.  If I comment that 
> out and leave the RHEL3 hdlist file, the resulting CD is useable as a 
> first install CD, though the other RHEL disks are necessary since hdlist 
> thinks some of the RPMs are on them.  The genhdlist call isn't giving me 
> any errors and the same logic is working under FC2.
> 
> Any ideas what the problem may be?
> 
> Thanks,
> Martin Robb
> 
> PS: once I get it firing on all cylinders, I can post the script to the 
> list if there is interest.  It uses the comps.xml file to convert 
> package names to a list of rpms (though not recursively), it understands 
> the rather large set of rpms that seem to be "implied" under RHEL3 and 
> FC2 without being explicitly listed in comps.xml, and it can handle 
> local additions or overrides to the rpm list.
> 
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list





More information about the Kickstart-list mailing list