RE: genhdlist problems under RHEL3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin,

Just registering my extreme interest in your script... thanks for the offer and associated effort.

Regards,
Mike

-----Original Message-----
From: kickstart-list-bounces@xxxxxxxxxx
[mailto:kickstart-list-bounces@xxxxxxxxxx]On Behalf Of Martin Robb
Sent: Monday, May 24, 2004 6:04 PM
To: kickstart-list@xxxxxxxxxx
Subject: genhdlist problems under RHEL3


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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

==============================================================================

If you are not an intended recipient of this e-mail, please notify
the sender, delete it and do not read, act upon, print, disclose,
copy, retain or redistribute it.

Click here for important additional terms relating to this e-mail.
     <http://www.ml.com/email_terms/>

==============================================================================



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux