Creating UBLinux

  1. Selecting Packages
  2. Creating the Distribution
  3. Editing the Boot Disk
  4. Customizing Anaconda
  5. Creating the Kickstart
  6. Making the ISOs

Making the ISOs

The final step in this long process is getting the distro onto a CD for installation. First, we need to make ISOs from our discs, for which we use the mkisofs command. For the first disc, we'll use a few extra arguments to make the CD bootable.

cd /home/ublinux/i386
mkisofs -r -T -J -V "UBLinux 3.0 Disk 1 of 3" -b images/bootdisk.img -c isolinux/ -o /home/ublinux/i386/UBLinux3-Disk1.iso /home/ublinux/i386/disc1

For each subsequent CD, we can leave off the -b and -c arguments.

mkisofs -r -T -J -V "UBLinux 3.0 Disk 2 of 3" -o /home/ublinux/i386/UBLinux3-Disk2.iso /home/ublinux/i386/disc2
mkisofs -r -T -J -V "UBLinux 3.0 Disk 3 of 3" -o /home/ublinux/i386/UBLinux3-Disk3.iso /home/ublinux/i386/disc3

Finally, you'll need to implant the MD5 into the isos. Forgetting to do this could cause the ISOs to fail the media check, with an error saying "Unable to read the disc checksum from the primary volume descriptor".

To do this, we use the implantmd5sum command, which is part of the anaconda-runtime package:

/usr/lib/anaconda-runtime/implantmd5sum UBLinux3-Disk1.iso
/usr/lib/anaconda-runtime/implantmd5sum UBLinux3-Disk2.iso
/usr/lib/anaconda-runtime/implantmd5sum UBLinux3-Disk3.iso

To burn these ISOs, use the cdrecord command:

(for <=2.4 kernel)
cdrecord -v speed=32 dev=0,0,0 -data UBLinux-Disk1.iso

(for 2.6 kernel)
cdrecord -v speed=32 dev=ATAPI:0,0,0 -data UBLinux-Disk1.iso

That covers our step-by-step documentation on how we created UBLinux. If there are any questions or comments, please feel free to send them to


Back to Technical Documentation index

Send Questions and comments to

Last Modified 5/18/04 11:45pm