SliTaz GNU/Linux official and community documentation wiki.
.png

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:handbook:hacklivecd [2010/07/08 17:14]
127.0.0.1 external edit
en:handbook:hacklivecd [2014/11/17 10:32] (current)
brianperry
Line 63: Line 63:
 === Configuration file isolinux.cfg === === Configuration file isolinux.cfg ===
  
-The //​isolinux.cfg//​ file found on the standard LiveCD of SliTaz, begins with the value display, this will either display a text file or a (//​isolinux.msg//​) file using 24 ASCII characters and a splash image. The default value defines the name of the label started by default after the (timeout) waiting time. Timeout is the number of seconds to wait before booting the system, you can make it 0 to start booting immediately or choose a waiting time as long as 80s. Finally the prompt can be deactivated using the value 0. F1, F2, F3 display help files and F4 displays a text file:+The //​isolinux.cfg//​ file found on the standard LiveCD of SliTaz, begins with the value display, this will either display a text file or a (//​isolinux.msg//​) file using 24 ASCII characters and a splash image. The default value defines the name of the label started by default after the (timeout) waiting time. Timeout is the number of seconds to wait before booting the system, you can make it 0 to start booting immediately or choose a waiting time as long as 80s. Finally the prompt can be deactivated using the value 0. F1, F2, F3 display help files and F4 displays a text file. Example configuration:
  
-<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 //​slitazen//​ which you can add to the original to directly configure the language of the system as English and use the UK keyboard: Example of a label //​slitazen//​ which you can add to the original to directly configure the language of the system as English and use the UK keyboard:
  
-<code>+<file>
 label slitazen label slitazen
       kernel /​boot/​bzImage       kernel /​boot/​bzImage
       append initrd=/​boot/​rootfs.gz rw root=/​dev/​null lang=en kmap=en       append initrd=/​boot/​rootfs.gz rw root=/​dev/​null lang=en kmap=en
-</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/​boot/​isolinux/​isolinux.cfg &  # leafpad rootcd/​boot/​isolinux/​isolinux.cfg &
 </​code>​ </​code>​
-<code>+ 
 +Adding the following lines: 
 + 
 +<file>
 label memtest label memtest
       kernel /​boot/​memtest       kernel /​boot/​memtest
-</code>+</file>
  
 Official website of [[http://​www.memtest86.com/​|Memtest86]] Official website of [[http://​www.memtest86.com/​|Memtest86]]
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,​ but don't forget to make it executable. You can create the script with cat; note that EOF signifies End Of File. To create the script gen_hacked_iso.sh using two variables to change the name of the ISO image and the path to the root directory of the cdrom: 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,​ but don't forget to make it executable. You can create the script with cat; note that EOF signifies End Of File. To create the script gen_hacked_iso.sh using two variables to change the name of the ISO image and the path to the root directory of the cdrom:
  
-<​code>​ +<​code>​ # cat > gen_hacked_iso.sh << "​EOF" ​</​code>​
- # cat > gen_hacked_iso.sh << "​EOF"​+
  
 +<​file>​
 #!/bin/sh #!/bin/sh
 # Gen a new hacked ISO image. # Gen a new hacked ISO image.
Line 200: Line 203:
  
 EOF EOF
 +</​file>​
  
-</​code>​ 
 To use the script, just make it executable and execute: To use the script, just make it executable and execute:
 +
 <​code>​ <​code>​
  # chmod +x gen_hacked_iso.sh  # chmod +x gen_hacked_iso.sh
  # ./​gen_hacked_iso.sh  # ./​gen_hacked_iso.sh
 </​code>​ </​code>​
 +
 +===== See also =====
 +* [[en:​guides:​persistence_splash]] - Guide on adding persistence
 
en/handbook/hacklivecd.1278602063.txt.gz · Last modified: 2010/08/17 19:35 (external edit)