Code Sample |
...ask question(s) to determine if remastering should be done in memory or on the hard drive... |
Code Sample |
Do the equivalent of the following, asking the user for the specific partitions or directories: $sudo su #mount -rw /dev/hda1 /mnt/hda1 mke2fs /dev/hda3 #mount -rw /dev/hda3 /mnt/hda3 #mount -rw /.../source-of-added-packages #mount -rw /dev/cddrive... ...and exit to the menu... |
Code Sample |
Do the equivalent of the following, asking the user for the specific partitions/directories _or_ using the previously selected partitions/directories: #mount the directories $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 Copy necessary files to directory /newcd #cp -Rp /cdrom/boot /mnt/hda3/newcd #cp -Rp /cdrom/lost+found /mnt/hda3/newcd #cp -Rp /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 #cp -Rp /mnt/hda1/backgrounds/* /mnt/hda3/source/etc/skel/.fluxbox #cp -Rp /mnt/hda1/styles/* /mnt/hda3/source/usr/share/fluxbox/styles ...and exit to the menu... |
Code Sample |
#Start emelFM ...exit to menu... |
Code Sample |
Do the equivalent of the following, asking the user for the specific partitions/directories _or_ using the previously selected partitions/directories: #mount the directories $sudo su #mount -rw /dev/hda1 /mnt/hda1 #mount -rw /dev/hda3 /mnt/hda3 Create the custom compressed image file: #mkisofs -R /mnt/hda3/source | create_compressed_fs - 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 newcd |
Code Sample |
...All of the above steps configured for remastering in memory... |
Code Sample |
...delete the source directory... ...use the previously selected cd burner... ...Burn that iso!... ...and exit. |