Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:guides:bootguide [2011/05/19 07:55] – bellard | en:guides:bootguide [2020/03/15 11:59] (current) – [SliTaz ISO image boot tricks] bellard | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| | | ||
| | | ||
| - | | + | |
| - | | | + | | |
| - | V | + | V PXE forwarder (5) V |
| - | Boot Sector | + | Boot Sector |
| - | | | + | | |
| +-------------------------------+ | +-------------------------------+ | ||
| - | | | + | |
| - | | + | Already running Kernel |
| - | | + | |
| + | | ||
| + | | ||
| + | | ||
| | | ||
| | | ||
| Line 26: | Line 29: | ||
| | | ||
| | | ||
| - | Run /init -----------+ | + | +--------Run /init -------------+ |
| - | | + | | | |
| - | | + | | |
| - | | + | | |
| - | | | | | + | | | | | |
| - | V V V | + | | V V V |
| - | Loram: | + | | Loram(7): |
| - | Mount aufs populate | + | | Mount aufs populate |
| - | & squashfs | + | | & squashfs |
| - | | | mount root | | + | | | | mount root | |
| - | | | | | + | | | | | |
| - | +------------+------------+ | + | V +------------+------------+ |
| - | | + | | |
| - | | + | +------+ |
| - | | + | | Switch to new root |
| - | | + | | | | |
| - | +------------------------+ | + | | +----------------+ |
| - | | | + | Tiny SliTaz(6): |
| - | V | + | | |
| - | | + | | Run / |
| - | | | + | | |
| - | V | + | +----------------------+ |
| - | | + | | |
| - | from / | + | V |
| + | Run / | ||
| + | | ||
| </ | </ | ||
| - | - Uncommon is LVM, RAID, crypto, loop or subdir mount with preinit rootfs, see http://doc.slitaz.org/ | + | - [[uncommoninst|Uncommon]] is LVM, RAID, crypto, loop or subdir mount with preinit rootfs. |
| - | | + | - [[http://mirror.slitaz.org/ |
| - | - Boot floppy set - http://mirror.slitaz.org/ | + | |
| - | - LAN PXE or WEB boot, see http://doc.slitaz.org/en:guides:pxe | + | |
| + | - [[pxe# | ||
| + | - Tiny slitaz, see http://tiny.slitaz.org/ | ||
| + | - [[lowramcd|Lowram CD]]. | ||
| + | - kexec command from the [[http:// | ||
| + | |||
| + | ===== SliTaz ISO image boot tricks ===== | ||
| + | |||
| + | The cdrom image has a hybrid format from version 5.0. | ||
| + | |||
| + | | ||
| + | * It boots from a memory card / USB key using the syslinux hybrid format (BIOS) or using a FAT partition mapped in the ISO image (UEFI). | ||
| + | * It launches a USB boot key creation utility from Windows (32 bits). | ||
| + | * It can boot from DOS (real mode or virtual 8086 with EMM386) directly: | ||
| + | |||
| + | < | ||
| + | C:\> slitaz.exe</ | ||
| + | <note tip> | ||
| + | The files bzImage, memtest and ipxe can boot with DOS too: | ||
| + | < | ||
| + | C:\> bzimage.exe root=/ | ||
| + | C:\> memtest.exe</ | ||
| + | C:\> ren ipxe ipxe.exe | ||
| + | C:\> ipxe.exe | ||
| + | |||
| + | * It is easily customizable with the iso2exe (compatible with taziso or tazpanel/ | ||
| + | |||
| + | < | ||
| + | iso2exe -l slitaz.iso | ||
| + | iso2exe -r slitaz.iso custom.append custom.initrd | ||
| + | taziso slitaz.iso getcustomconf | ||
| + | taziso slitaz.iso isomd5</code> | ||
| + | <note tip>You can tune the boot process with your own /init script: | ||
| + | < | ||
| + | |||
| + | sed -i ' | ||
| + | cat >> / | ||
| + | / | ||
| + | EOM | ||
| + | exec /init " | ||
| + | </ | ||
| + | Update the kernel command line: | ||
| + | < | ||