Mastering the CD


Once you are done with your changes, it is time to compress the KNOPPIX/KNOPPIX filesystem and make the burnable CD ISO:

 $ mkisofs -iso-level 4 -R -U -V "My LiveCD" -hide-rr-moved image from book    -cache-inodes -no-bak -pad /home/knoppix/image from book    knoppixuncompressed | nice -5 create_compressed_fs image from book     - 65536 > /home/knoppix/knoppixiso/KNOPPIX/KNOPPIX 

Please be aware that this command should be executed on a single line, and it will take a long time to run, depending on the size of the /home/knoppix/knoppixuncompressed directory and the speed of your machine.

When the command is finished, you create the final ISO:

 $ mkisofs -pad -l -r -J -v -V "My LiveCD" -b boot/image from book    isolinux/isolinux.bin -c boot/isolinux/boot.cat -no-emulimage from book    -boot -boot-load-size 4 -boot-info-table -hide -rr -moved image from book    -o /home/knoppix/my-livecd.iso /home/knoppix/knoppixiso 

If everything goes well, the final ISO should exist at /home/knoppix/my-livecd.iso.



Hacking Knoppix
Hacking Knoppix (ExtremeTech)
ISBN: 0764597841
EAN: 2147483647
Year: 2007
Pages: 118

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net