[CentOS] Creating an alternitive install CD for CentOS 5.2 (w/ patched mkinitrd)

Sat Mar 7 15:08:24 UTC 2009
Robert Heller <heller at deepsoft.com>

At Fri, 06 Mar 2009 23:31:08 +0100 CentOS mailing list <centos at centos.org> wrote:

> Robert Heller napsal(a):
> > I need to be able to install CentOS 5.2 on a machine with software RAID
> > (and LVM) setup.  I discovered (the hard way!) that there is a bug in
> > the mkinitrd package that causes it to enter an endless loop when there
> > are /dev/mapper/ devices present during the install process.  There is a
> > patch to mkinitrd, which I applied and created a new rpm for mkinitrd
> > with this patch applied.  I'd like to now create a alternitive install
> > CD, but I am not sure of the exact mkisofs command line to properly
> > create a bootable CD.
> > 
> > I am also not sure if I need to update any of the files the installer
> > uses to install the system -- is it enough to just drop the alternitive
> > mkinitrd rpm?  Do I need to rebuild any of the other files on the CD?
> > 
> Robert,
> go with Revisor
> http://fs12.vsb.cz/hrb33/el5/hrb/stable/i386/repodata/repoview/revisor-0-
> http://fs12.vsb.cz/hrb33/el5/hrb/stable/x86_64/repodata/repoview/revisor-0-
> David Hrbáč

This seems overly complex for my needs.  I don't want (or need) to
rebuild all 6 of the install CDs.  I just want to *replace* one RPM on
the first CD.  I have copied the CD's directory tree to a writable file
system and replaced the rpm in question.  I now need to just make a new
ISO file and all I need is the proper command line arguments to mkisofs
to do this.  I am *NOT* creating a new distribution.  And I really don't
want to mess with a complex GUI program or edit many configuration

I would also rather do this on my CentOS 4.7 system (revisor does not
seem to be available for CentOS 4 / RHEL 4).  Running it on a diskless
workstation with a read-only root file system is a total pain.  And will
become even more painful when I then have to mount a large file system
with NFS.

> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller at deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/