Quote |
Remastering HOWTO for Damn Small Linux Change the keyboard-layout (unless you have a us-keyboard) $sudo loadkeys se-latin1 $startx Format the partition with the ext2 filesystem $sudo mke2fs /dev/hda3 Become root and mount the right partition $sudo su #mount -rw /dev/hda1 /mnt/hda1 #mount -rw /dev/hda3 /mnt/hda3 Make the directories needed #mkdir /mnt/hda3/source #mkdir /mnt/hda3/newcd #mkdir /mnt/hda3/newcd/KNOPPIX #mkdir /mt/hda3/newcd/boot/isolinux Copy necessary files to directory /newcd #cp -Rp /cdrom/boot/isolinux/* cdrom/autorun* /cdrom/index.html /mnt/hda3/newcd Copy the sources to the right directory #cp -Rp /KNOPPIX/* /mnt/hda3/source #cp -Rp /KNOPPIX/.bash_profile /mnt/hda3/source Go through and copy wanted things to /mnt/hda3/source #cp -Rp /mnt/hda1/Docs/* /mnt/hda3/source/home/dsl #cp -Rp /mnt/hda1/styles/* /mnt/hda3/source/usr/share/fluxbox/styles Create the custom compressed image file: #mkisofs -R /mnt/hda3/source | create_compressed_fs -b - 65536 > /mnt/hda3/newcd/KNOPPIX/KNOPPIX Create the iso-file as follows: #cd /mnt/hda3 #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 /mnt/hda3/newcd/KNOPPIX/KNOPPIX Copy the iso-file to the first partition on your harddrive #cp /mnt/hda3/mydsl.iso /mnt/hda1 |