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

This is an old revision of the document!


From BIOS to /etc/init.d/rcS

                      CPU
                       |
                       V
   +------------------BIOS----------------+
   |             |            |           |
   V             V            V           V
 Floppy      Hard Disk    Versatile      PXE (4)
 set (3)    DVD/CD-ROM <- Floppy (2) -->  or
   |          USB key                  WEB boot
   V             V                        |
   +-------------+         +--------------+
          |                V              |
          V         PXE forwarder (5)     V
     Boot Sector           |              |
          |                V              |
          +-------------------------------+
                                |
Already running Kernel          V
          V                     |
          +------KEXEC (8)  Boot loader 
                   |            |
             +-----+------------+---------+
             |                            |
             V                            V
     Frugal/Uncommon(1):              Installed:
    load Kernel+initramfs          load Kernel only
             |                            |
             V                            V
+--------Run /init -------------+         |
|            |                  |     Mount root
|            V                  |     filesystem  
|      Create tmpfs             |         |
|     |            |            |         |
|     V            V            V         V
|  Loram(7):     Frugal:    Uncommon(1):  | 
| Mount aufs    populate    run script    |
| & squashfs     tmpfs    load modules(s) |
|     |            |        mount root    |
|     |            |            |         |
V     +------------+------------+         |
|                        |                |
+------+                 V                V
       |         Switch to new root       |
       |                 |                |
       |                 +----------------+
 Tiny SliTaz(6):              |
       |                      V
       |               Run /sbin/init
       |                      |
       +----------------------+
                   |
                   V
          Run /etc/init.d/rcS       
           from /etc/inittab
  1. Uncommon is LVM, RAID, crypto, loop or subdir mount with preinit rootfs.
  2. LAN PXE or WEB boot.
  3. Tiny slitaz, see http://tiny.slitaz.org/
  4. kexec command from the kexec-tools package.

SliTaz ISO image boot tricks

The cdrom image has a hybrid format from version 5.0.

  • It boots from a cdrom drive according to the el-torito specification as usual
  • It boots from a memory card / USB key using the syslinux hybrid format
  • It launches a USB boot key creation utility from Windows (32 bits)
  • And it can boot from DOS (in real mode only) directly:
C:\> ren slitaz.iso slitaz.exe
C:\> slitaz.exe

The files bzImage, memtest and ipxe can boot with DOS too:

C:\> ren bzimage bzimage.exe
C:\> bzimage.exe root=/dev/hda3 autologin
C:\> ren memtest memtest.exe
C:\> memtest.exe
C:\> ren ipxe ipxe.exe
C:\> ipxe.exe http://myserver.org/boot.php

 
en/guides/bootguide.1435254026.txt.gz · Last modified: 2015/06/25 19:40 by linea