SliTaz GNU/Linux official and community documentation wiki.
.png
Translations of this page:

This is an old revision of the document!


Rootcd

Descriptions of files contained on the cdrom.

Syslinux/isolinux

Syslinux and the main bootloader of SliTaz - we use the isolinux version to start the system contained on the CD-ROM. Simple effective and configurable, isolinux was installed during the creation of the base system. The binary is named isolinux.bin and its configuration file: isolinux.cfg. Here's an example of isolinux.cfg using isolinux.msg to post the splash image and displayable help files via F1, F2, F3 and F4. You will find the files help.txt, options.txt, etc in SliTaz tools.

display isolinux.msg
default slitaz
label slitaz
	kernel /boot/bzImage
	append initrd=/boot/rootfs.gz rw root=/dev/null vga=788
implicit 0	
prompt 1	
timeout 80
F1 help.txt
F2 options.txt
F3 isolinux.msg
F4 display.txt

Isolinux boot splash image

We can configure isolinux to display a splash image when booting SliTaz or any other operating system using isolinux. This image has a particular format .lss, suitable for Syslinux, and must be indexed using the 16 color mode. You can use the official logo, ppmforge, imagemagick, GIMP or other tools to create your image.

The Syslinux file (sample/syslogo.lss) provides an official logo which you can directly use by copying to the root of the CD-ROM. SliTaz provides a logo (rootcd/boot/isolinux/splash.lss) which you can locate in SliTaz tools. To display a splash image when booting, it's necessary that the 'display' option calls the isolinux.msg file which loads the *.lss format image. Note that the isolinux.msg file uses 24 ASCII characters. Example using 'echo' and an isolinux.msg file incorporating a .lss splash image:

 # echo -e "\24isplash.lss\n" > isolinux.msg 

You can also add a text message underneath the splash image by modifying this file with your favorite text editor, echo or cat and so on.

ISO bootable with isolinux

To create a bootable ISO image using isolinux and genisoimage:

 # genisoimage -R -o slitaz-test.iso -b boot/isolinux/isolinux.bin \
   	-c boot/isolinux/boot.cat -no-emul-boot -boot-load-size 4 \
   	-V "SliTaz" -input-charset iso8859-1 -boot-info-table rootcd 
 
en/cookbook/rootcd.1266527153.txt.gz · Last modified: 2010/07/08 17:17 (external edit)