8.b - Remastering DSL

DSL RAM-Remaster HOWTO (adapted from a guide by meo)

Change the keyboard-layout (unless you have a us keyboard)
$sudo loadkeys se-latin1 (I have a swedish keyboard)

Mount the partition needed
$sudo su
#mount -rw /dev/hda1 /mnt/hda1 (here I store needed files)

Make the directories needed
#mkdir source newcd newcd/KNOPPIX

Copy necessary files to /newcd
#cp -Rp /cdrom/boot newcd
#cp -Rp /cdrom/lost+found newcd
#cp -Rp /cdrom/index.html newcd

Copy the sources to the right directory
#cp -Rp /KNOPPIX/* source
#cp -Rp /KNOPPIX/.bash_profile source

Go through and copy wanted things to /source
#cp -Rp /mnt/hda1/backgrounds source/etc/skel/.fluxbox
#cp -Rp /mnt/hda1/styles/* source/usr/share/fluxbox/styles

Create the custom compressed image file
#mkisofs -R source | create_compressed_fs – 65536 >

Then REMOVE the source directory if you have just 256 MB of RAM

Create the iso-file as follows
#mkisofs -no-pad -l -r -J -no-emul-boot -boot-load-size 4 -boot-info-table -b
boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -o mydsl.iso newcd

Copy the iso-file to the partition where you have your favourite cd-burning program
#cp mydsl.iso /mnt/hda1

Burn. Voila.