Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:cookbook:rootcd [2010/02/18 22:08] jozee |
en:cookbook:rootcd [2010/09/14 22:49] (current) linea add link |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== Syslinux/isolinux ===== | ===== 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 [[:en:cookbook:slitaztools|SliTaz tools]]. | + | Syslinux and the (SliTaz) main bootloader - 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 uses the configuration file isolinux.cfg. Here's an example of an 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 [[:en:cookbook:slitaztools|SliTaz tools]]. |
- | <code> | + | <file> |
display isolinux.msg | display isolinux.msg | ||
default slitaz | default slitaz | ||
Line 20: | Line 20: | ||
F3 isolinux.msg | F3 isolinux.msg | ||
F4 display.txt | F4 display.txt | ||
- | + | </file> | |
- | </code> | + | |
===== Isolinux boot splash image ===== | ===== 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. | + | We can configure isolinux to display a splash image when booting SliTaz or any other operating system. 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: | + | 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 find in [[:en:cookbook:slitaztools|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: |
<code> # echo -e "\24isplash.lss\n" > isolinux.msg </code> | <code> # echo -e "\24isplash.lss\n" > isolinux.msg </code> | ||
- | 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. | + | You can also add a text message underneath the splash image by modifying the file with your favorite text editor, echo or cat and so on. |
===== ISO bootable with isolinux ===== | ===== ISO bootable with isolinux ===== | ||
Line 46: | Line 45: | ||
===== GRUB ===== | ===== GRUB ===== | ||
- | GRUB (GRand Unified Bootloader) is a bootloader distributed by the GNU project. This is what is used during installation to a hard drive; it can boot Linux, BSD, HURD and Window$. GRUB provides stage2_eltorito to start the ISO images. To find stage2_eltorito on your system, you need to have the GRUB package installed. Finally you copy stage2_eltorito to the root of the cdrom. Note that SliTaz provides a (.tazpkg) package grub-0.97 that you can find on the mirrors or you can rebuild grub-0.97 from sources. Sample copy of the stage2_eltorito image from a Debian system or SliTaz: | + | GRUB (GRand Unified Bootloader) is a bootloader distributed by the GNU project. This is used during installation to a hard drive; it can boot Linux, BSD, HURD and Window$. GRUB provides stage2_eltorito to start the ISO images. To find stage2_eltorito on your system, you need to have the GRUB package installed. Finally you copy stage2_eltorito to the root of the cdrom. Note that SliTaz provides a (.tazpkg) package grub-0.97 that you can find on the mirrors or you can rebuild grub-0.97 from sources. Example using a stage2_eltorito image from a Debian system or SliTaz: |
<code> | <code> | ||
Line 56: | Line 55: | ||
The GRUB configuration file is called //menu.lst// and can be edited with your favorite text editor. Example: | The GRUB configuration file is called //menu.lst// and can be edited with your favorite text editor. Example: | ||
- | <code> | + | <file> |
# By default, boot the first entry. | # By default, boot the first entry. | ||
default 0 | default 0 | ||
Line 73: | Line 72: | ||
kernel /boot/bzImage root=/dev/null vga=771 | kernel /boot/bzImage root=/dev/null vga=771 | ||
initrd /boot/rootfs.gz | initrd /boot/rootfs.gz | ||
- | + | </file> | |
- | </code> | + | |
===== ISO bootable with GRUB ===== | ===== ISO bootable with GRUB ===== | ||
Line 103: | Line 101: | ||
Once installed, you can add the label for the memtest86 file to isolinux.cfg, specifing the path to the utility: | Once installed, you can add the label for the memtest86 file to isolinux.cfg, specifing the path to the utility: | ||
- | <code> | + | <file> |
label memtest | label memtest | ||
kernel /boot/memtest | kernel /boot/memtest | ||
- | </code> | + | </file> |
Or if you want to use GRUB, here's the line to launch memtest86: | Or if you want to use GRUB, here's the line to launch memtest86: | ||
- | <code> | + | <file> |
title Memtest86 (Test system memory) | title Memtest86 (Test system memory) | ||
kernel /boot/memtest | kernel /boot/memtest | ||
- | </code> | + | </file> |
Once the lines are added, you can then create a new ISO and test. | Once the lines are added, you can then create a new ISO and test. |