Skip to the content of the web site.

Linux | InstallUsingPreseed

Preseeding

Remastering a Preseed CD

To remaster an Ubuntu CD with the linxus preseed files, first choose a work directory (e.g. /tmp/remaster) and mount the source cd image:

mount /home/foo/ubuntu-6.06-alternate-i386.iso /mnt/image -o loop

Copy over the contents to the working directory (don't forget the hidden .disk directory):

cd /mnt/image
cp -rv * /tmp/remaster/
cp -rv .disk /tmp/remaster/

The preseed bazaar repository is set up so that its contents can be copied into a remastering folder:

baz get cfmaster@engmail.uwaterloo.ca--config/preseed--stable--0.1 ./preseed
cd ./preseed/cd
cp -rv * /tmp/remaster

All that is left to do is burn the new image to a cdrom:

cd /tmp/remaster
mkisofs -r -V "Linxus Ubuntu Image" \
            -cache-inodes \
            -J -l -b isolinux/isolinux.bin \
            -c isolinux/boot.cat -no-emul-boot \
            -boot-load-size 4 -boot-info-table \
            -o /tmp/linxus_image.iso /tmp/remaster/
sudo cdrecord dev=/dev/hdc --speed=24 --blank=fast -v -gracetime=2 -tao /tmp/linxus_image.iso

A more detailed description of the process can be found in the Ubuntu Documentation.

-- AlexBencz - 05 Sep 2006