Quote |
#mount -rw /dev/hda1 /mnt/hda1 Make the directories needed #mkdir /mnt/hda1/source #mkdir /mnt/hda1/newcd #mkdir /mnt/hda1/newcd/KNOPPIX Copy necessary files to directory /newcd #cp -Rp /cdrom/autorun.bat /mnt/hda1/newcd (This file may not exist) #cp -Rp /cdrom/autorun.inf /mnt/hda1/newcd (This file may not exist) #cp -Rp /cdrom/index.html /mnt/hda1/newcd Copy files to directory /newcd/KNOPPIX #cp -Rp /cdrom/KNOPPIX/boot.cat /mnt/hda1/newcd/KNOPPIX #cp -Rp /cdrom/KNOPPIX/boot.img /mnt/hda1/newcd/KNOPPIX Copy the sources to the right directory #cp -Rp /KNOPPIX/* /mnt/hda1/source #cp -Rp /KNOPPIX/.bash_profile /mnt/hda1/source |
Quote |
#chroot /mnt/hda1/source #mount -t proc /proc proc #dpkg-restore #apt-get update #apt-get install cpio libxaw6 #umount /proc |
Quote |
#mount -rw /dev/hda1 /mnt/hda1 Make the directories needed #mkdir /mnt/hda1/source #mkdir /mnt/hda1/newcd #mkdir /mnt/hda1/newcd/KNOPPIX Copy necessary files to directory /newcd #cp -Rp /cdrom/autorun.bat /mnt/hda1/newcd (This file may not exist) #cp -Rp /cdrom/autorun.inf /mnt/hda1/newcd (This file may not exist) #cp -Rp /cdrom/index.html /mnt/hda1/newcd Copy files to directory /newcd/KNOPPIX #cp -Rp /cdrom/KNOPPIX/boot.cat /mnt/hda1/newcd/KNOPPIX #cp -Rp /cdrom/KNOPPIX/boot.img /mnt/hda1/newcd/KNOPPIX Copy the sources to the right directory #cp -Rp /KNOPPIX/* /mnt/hda1/source #cp -Rp /KNOPPIX/.bash_profile /mnt/hda1/source |
Quote |
Create the custom compressed image file: #mkisofs -R /mnt/hda1/source | create_compressed_fs - 65536 > /mnt/hda1/newcd/KNOPPIX/KNOPPIX Create the iso-file as follows: #cd /mnt/hda1 #mkisofs -r -J -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o myknoppix.iso newcd |
Quote |
Create the custom compressed image file: #mkisofs -R /mnt/hda1/source | create_compressed_fs - 65536 > /mnt/hda1/newcd/KNOPPIX/KNOPPIX Create the iso-file as follows: #cd /mnt/hda1 #mkisofs -r -J -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o mystripped.iso newcd |