Here's how I do it...
======================================================================
HOWTO CREATE A BOOTABLE RH5.1 CD GVH - 01/06/98
======================================================================
Below is the procedure I used to create this bootable RH5.1 CD with
updated RPMs included. I assume that the RedHat 5 directories will
be placed onto a Linux box under the directory /temp/rh5 this will
become the root of your CD.
1) Retrieve RH5.1 from RedHat's site (or any mirror). You MUST ensure
that all filenames and ATTRIBUTES are preserved. If you are
retrieving them using a UNIX box then you should not have any
problems. If you are retrieving them using any other platform then
get the FTP server to tar the source before sending it. You can do
this by specifying the directory that you want to retrieve and
appending ".tar" (without the quotes) to the end. There are several
directories you should retrieve in this way;
dosutils
gnome
images
misc
RedHat/base
RedHat/instimage
All other directories may be retrieved in the normal way so long as
their filenames are preserved.
2) Retrieve all updated RPMs from RedHat's FTP Site.
3) Replace the old RPMs with the updated RPMs. As they will be
different versions (and hence different file names) you MUST be
sure to delete the old RPMs.
Note: You can also add any of your favourite (non-distribution)
RPMS and remove any from the distribution that you don't
want. But be sure that you know what the implications of
doing so will be.
4) Before proceeding to step 5, make absolutely sure that everything
is where it should be and pay particular attention to the Case of
directory names (Windows may have screwed these up for you).
5) You now need to create a new hdlist file so that the installation
routine will use the new RPMs. Do this by typing the following:
/temp/rh5/misc/src/install/genhdlist /temp/rh5
6) The next thing to do is create an ISO image, you can then burn
this image onto a CD using your favourite platform - or even
Windows ;) To do this enter the following as one line:
mkisofs -b misc/boot/autoboot.img -c misc/boot/boot.catalog -a
-A "RedHat Linux 5.0 with Patches to 06/02/98" -d -L
-o /temp/RH5.iso -P "Publisher ID" -p "Preparer ID" -r -T
-N /temp/rh5
Obviously you can replace "Publisher ID" & "Preparer ID" with
whatever you like. For more details on the options I have used
take a look at the mkisofs man page.
7) You should now have an ISO image that you can burn to CD. If you
want to check that the image is OK and you have compiled loopback
file system support into your kernel, then you can actually mount
this image as a file system and have a look through it! Isn't Linux
wonderful! You can do this with the following command:
mount -t iso9660 -o loop /temp/rh5/RH5.iso /mnt/test
You should make sure that the directory /mnt/test exists.
Note that this CD will be written with Rockridge Extensions, so
long filenames will only be readable on platforms that support them.
i.e. Linux, but not Windows. You will also find a file called
TRANS.TBL in every directory. This is a translation table that will
allow you to find the correct filename should you have the need to
extract something from the CD on a Windows/DOS platform.
Good Luck
Graham...
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.