Creating Custom RHEL6 Kickstart CD (not DVD)

Latest response

We have a number of remote systems that are just new enough to be 64-bit and warrant upgrading from RHEL4, but just old enough that they don't have DVD drives (all are Dell, most have no DRAC cards) nor will they boot from USB.  Our primary form of direct console access is via LightWave serial port concentrators.  Needless to say, without traveling hundreds of miles and spending days in a data center swapping out slimline DVD drives, my options are exceedlingly limited.

 

At the moment, I am experimenting with a custom kickstart CD that has only the packages we need and I have just run into a problem with the repodata that I can't find an answer to.  The VM I am testing in boots and begins installation from my custom iso image exactly like I would expect and then encounters a missing package error.  Since this package is explicitly excluded in the kickstart file, I figure there must be some kind of package reconciliation against the local repodata.  It's apparent that I need to rebuild the repodata, but it looks quite different from the yum servers that I maintain with createrepo:

-r--r--r-- 1 root root  201211 May 10 18:48 00fa55cde0056779ce3cb404c5097825124da4bae5823734c9978798d64428bb-comps-rhel6-Server.xml.gz
-r--r--r-- 1 root root 1475141 May 10 18:48 039ef4cdbf06ada6e58481ff3b41e962da80f6a570880a0fdb749841214358ed-other.sqlite.bz2
-r--r--r-- 1 root root 1688844 May 10 18:48 0b17c19bc39ce40fe661edcaab78f7d225ace938cdf6ca506f9903cdc98c9ede-primary.xml.gz
-r--r--r-- 1 root root 3803950 May 10 18:48 1ee7ac053d14cae15e92d1dec19fcc688e2403941e9eeb1489ef4f545116587a-filelists.sqlite.bz2
-r--r--r-- 1 root root 3446253 May 10 18:48 3d3002a1aaa4158becd663b795dfb643dde639afff562db45cf6db2fa63691ec-filelists.xml.gz
-r--r--r-- 1 root root 1088116 May 10 18:48 5819e9580b5a81a9eec9e2c6e91fc9992a7ccadaa3bcd5ecb2e87a8669eefcec-comps-rhel6-Server.xml
-r--r--r-- 1 root root 3119628 May 10 18:48 5f7eebbfebdecbe5a30fdc37bc2bdc61971f6abfc504f4172b56baa747bc4b44-primary.sqlite.bz2
-r--r--r-- 1 root root 1578191 May 10 18:48 75ae0e2d43ccc206a20b92df165a639adfb6b5ce4732f484c8a3b63a2127b2f7-other.xml.gz
-r--r--r-- 1 root root    2163 Apr 27 15:39 productid
-r--r--r-- 1 root root    1712 May 10 18:51 productid.gz
-r--r--r-- 1 root root    4068 May 10 18:51 repomd.xml
-r--r--r-- 1 root root    3026 May 10 19:58 TRANS.TBL

 

Can anyone point me to a guide that shows how to rebuild the repodata correctly?
 
Thanks, Scott

Responses

I have been experimenting with running createrepo many different ways (explicit references to the comps.xml file, from different directories, etc) and can't seem to hit a combo that works.  What I did manage to do is get through the package dependency step and am now getting the failure when the installer tries to find the rpm files to install.  This would seem to have been a much easier problem to solve.

 

Anyway, it seems someone else ran into exactly the same issue over a year ago on Fedora 13 and never followed up with a solution.  This is the closest thing I can find after hours of searching:

http://www.fedoraforum.org/forum/showthread.php?t=247303

 

Thanks, Scott