Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:handbook:hacklivecd [2010/07/08 15:14] – external edit 127.0.0.1 | en:handbook:hacklivecd [2014/11/17 09:32] (current) – brianperry | ||
|---|---|---|---|
| Line 63: | Line 63: | ||
| === Configuration file isolinux.cfg === | === Configuration file isolinux.cfg === | ||
| - | The // | + | The // |
| - | <code> | + | <file> |
| display isolinux.msg | display isolinux.msg | ||
| default slitaz | default slitaz | ||
| Line 78: | Line 78: | ||
| F3 isolinux.msg | F3 isolinux.msg | ||
| F4 display.txt | F4 display.txt | ||
| - | </code> | + | </file> |
| Example of a label // | Example of a label // | ||
| - | <code> | + | <file> |
| label slitazen | label slitazen | ||
| kernel / | kernel / | ||
| append initrd=/ | append initrd=/ | ||
| - | </code> | + | </file> |
| Once you've finished modifying the configuration file, don't forget to save your changes and generate a bootable ISO image with isolinux. | Once you've finished modifying the configuration file, don't forget to save your changes and generate a bootable ISO image with isolinux. | ||
| Line 113: | Line 113: | ||
| # leafpad rootcd/ | # leafpad rootcd/ | ||
| </ | </ | ||
| - | <code> | + | |
| + | Adding the following lines: | ||
| + | |||
| + | <file> | ||
| label memtest | label memtest | ||
| kernel / | kernel / | ||
| - | </code> | + | </file> |
| Official website of [[http:// | Official website of [[http:// | ||
| Line 148: | Line 151: | ||
| We'll add a command displaying a message and letting the system sleep for 4 seconds. Example using local script: | We'll add a command displaying a message and letting the system sleep for 4 seconds. Example using local script: | ||
| - | <code> | + | <file> |
| echo "* Hacked SliTaz version booting..." | echo "* Hacked SliTaz version booting..." | ||
| sleep 4 | sleep 4 | ||
| - | </code> | + | </file> |
| === Rebuilding the image of the compressed system === | === Rebuilding the image of the compressed system === | ||
| Line 186: | Line 189: | ||
| If you wish to test out a lot of new possibilities and generate a lot of ISO images, you may want to semi-automate the process via a simple SHell script. This tiny script can be created on the command line or edited graphically, | If you wish to test out a lot of new possibilities and generate a lot of ISO images, you may want to semi-automate the process via a simple SHell script. This tiny script can be created on the command line or edited graphically, | ||
| - | < | + | < |
| - | # cat > gen_hacked_iso.sh << " | + | |
| + | < | ||
| #!/bin/sh | #!/bin/sh | ||
| # Gen a new hacked ISO image. | # Gen a new hacked ISO image. | ||
| Line 200: | Line 203: | ||
| EOF | EOF | ||
| + | </ | ||
| - | </ | ||
| To use the script, just make it executable and execute: | To use the script, just make it executable and execute: | ||
| + | |||
| < | < | ||
| # chmod +x gen_hacked_iso.sh | # chmod +x gen_hacked_iso.sh | ||
| # ./ | # ./ | ||
| </ | </ | ||
| + | |||
| + | ===== See also ===== | ||
| + | * [[en: | ||