Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:guides:bootguide [2015/06/25 18:16] bellard iso tricks |
en:guides:bootguide [2016/05/21 18:41] bellard [SliTaz ISO image boot tricks] |
||
---|---|---|---|
Line 68: | Line 68: | ||
==== SliTaz ISO image boot tricks ==== | ==== SliTaz ISO image boot tricks ==== | ||
- | The cdrom image has a hybrid format since version 5.0. | + | 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) | ||
+ | * It can boot from DOS (in real mode only) directly: | ||
- | * It boots from a cdrom drive according the el-torito specification as usual, | ||
- | * it boots from a memory card / USB key using the syslinux hybrid format, | ||
- | * it lauches a USB boot key creation utility from Windows (32 bits), | ||
- | * and it can boot from DOS (in real mode only) directly : | ||
<code>C:\> ren slitaz.iso slitaz.exe | <code>C:\> ren slitaz.iso slitaz.exe | ||
C:\> slitaz.exe</code> | C:\> slitaz.exe</code> | ||
- | <note tip>The files bzImage, memtest and ipxe can boot with DOS too: | + | <note tip> |
+ | The files bzImage, memtest and ipxe can boot with DOS too: | ||
<code>C:\> ren bzimage bzimage.exe | <code>C:\> ren bzimage bzimage.exe | ||
C:\> bzimage.exe root=/dev/hda3 autologin</code><code>C:\> ren memtest memtest.exe | C:\> bzimage.exe root=/dev/hda3 autologin</code><code>C:\> ren memtest memtest.exe | ||
Line 82: | Line 84: | ||
C:\> ren ipxe ipxe.exe | C:\> ren ipxe ipxe.exe | ||
C:\> ipxe.exe http://myserver.org/boot.php</code></note> | C:\> ipxe.exe http://myserver.org/boot.php</code></note> | ||
+ | |||
+ | * It is easily customizable with the iso2exe (compatible with taziso or tazpanel/boot/ISO mine) tool: | ||
+ | |||
+ | <code>iso2exe -a " lang=fr_FR kmap=fr-latin1 tz=Europe/Paris" -i myconfig.gz slitaz.iso | ||
+ | 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: | ||
+ | <code>#!/bin/sh | ||
+ | |||
+ | sed -i 's,^RUN_DAEMONS=",RUN_DAEMONS="dropbear ,' /etc/rcS.conf | ||
+ | cat >> /etc/init.d/local.sh <<EOM | ||
+ | /my/special/inits.sh | ||
+ | EOM | ||
+ | exec /init "$@" | ||
+ | </code> | ||
+ | Update the kernel command line: | ||
+ | <code>iso2exe -a " rdinit=/myinit lang=fr_FR kmap=fr-latin1 tz=Europe/Paris" -i myconfig slitaz.org -f</code></note> |