next up previous
Next: Change Log for 2006 Up: Appendixes that should not Previous: Recompiling the alsa sound


Creating apt-enabled RedHat or Fedora install cdroms

The custom Planet CCRMA RedHat 8.0, 9 or Fedora Core 1 or 2 install cdroms are replicas of the original RedHat or Fedora Core iso images with an added apt database of their contents. That enables to use them as local repositories for all the original RedHat or Fedora packages so that you can manage ALL your packages using apt-get or synaptic.

You can download them from this site or you can just create them yourself if you have the original RedHat 8.0, 9 or Fedora Core 1 or 2 cdroms, a working linux machine with enough disk space and a working cdwriter. Just follow the following instructions:

  1. download the apt databases

    For Fedora Core 2:

    For Fedora Core 1:

    For RedHat 9:

    For RedHat 8.0:

  2. make a directory where you will copy the contents of the cdroms, make sure the partition the directory is in has enough space to hold two complete cdroms (or just one if you know what you are doing and you are going to burn the cdrom on-the-fly from the output of mkisofs). The directory is going to be named /whatever.

    cd /whatever
    mkdir image

  3. mount the cdrom

    mount /mnt/cdrom

  4. copy the cdrom to the hard disk, we can copy everything with a back-to-back tar invocation (this assumes the cdrom is mounted in /mnt/cdrom):

    (cd /mnt/; tar cvf - cdrom)|(cd /whatever/image; tar xvpf -)

    When this is done you will have a copy of the cdrom in /whatever/image/cdrom.

  5. add the apt database to the cdrom copy, replace the file name of the tarfile with the one that corresponds to the cdrom you are recreating (the example below is for RedHat 8.0, disc 1):

    cd /whatever/image/cdrom
    tar xvzf path_to_tarfile/psyche-i386-disc1-apt.tar.gz

  6. create an iso image of the new cdrom: first change directory to be in the root directory of the cdrom copy:

    cd /whatever/image/cdrom

    Then create the iso image. If you are building the first cdrom (the example is for RedHat 8.0, disc1):

    mkisofs -v -r -T -J -V 'RedHat 8.0 for Planet CCRMA' -b images/boot.img -c boot.catalog -l -R -o /whatever/image.iso .

    Or in the case of RedHat 9 (disc 1, the name of the boot image file is different):

    mkisofs -v -r -T -J -V 'RedHat 8.0 for Planet CCRMA' -b images/bootdisk.img -c boot.catalog -l -R -o /whatever/image.iso .

    Or for Fedora Core 1 (disc 1, the catalog is in a subdirectory):

    mkisofs -v -r -T -J -V 'Fedora Core 1 for Planet CCRMA' -b images/bootdisk.img -c isolinux/boot.cat -l -R -o /whatever/image.iso .

    Or for Fedora Core 2 (disc 1)

    mkisofs -b isolinux/isolinux.bin -c isolinux/boot.cat -J -V "Fedora Core 2 for Planet CCRMA" -r -T -v -A "Fedora Core Linux/i386 2" -o /whatever/image.iso -no-emul-boot -boot-load-size 4 -boot-info-table -l .

    For the other two cdroms (they do not need to be bootable cdroms):

    mkisofs -v -r -T -J -V 'RedHat 8.0 for Planet CCRMA' -l -R -o /whatever/image.iso .

    Or for Fedora Core 2 (disc n where n greater than 1):

    mkisofs -J -V "Fedora Core 2 for Planet CCRMA" -r -T -v -A "Fedora Core Linux/i386 " -o /whatever/image.iso .

  7. use your favorite tool to burn the image into a cdr or cdrw, the image has been created in /whatever/image.iso.


next up previous
Next: Change Log for 2006 Up: Appendixes that should not Previous: Recompiling the alsa sound

© Copyright 2001...2019 Fernando Lopez-Lezcano, CCRMA, Stanford University.
All rights reserved.