wok view syslinux/stuff/iso2exe/README @ rev 13713

syslinux/iso2exe: add loram support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 18 16:09:07 2012 +0100 (2012-12-18)
parents d47403fdd900
children 18dff2eb17c1
line source
1 (c) GPLv2, Pascal Bellard <pascal.bellard@slitaz.org>
3 The iso2exe tool inserts a DOS .EXE header in an ISO image.
4 The ISO image can be launched by DOS :
6 C:\> ren slitaz-5.0.iso slitaz.exe
7 C:\> slitaz
10 Why ?
12 According to the SliTaz forum, some new users have problems burning CD-ROMs,
13 creating USB Keys and booting these devices with the BIOS. Others are lost
14 during the installation process or partitioning.
16 The slitaz.exe program boots the SliTaz ISO image with a text menu:
18 - to start SliTaz in RAM (live) in graphics mode or text mode.
20 - to install SliTaz "a la UMSDOS" in the \slitaz\ subdirectory. The easiest
21 way to install SliTaz. No partitioning. No questions.
24 Usage:
26 C:\> progname [mode]
28 Default mode is menu. Mode can be:
30 - menu start with an interactive menu
31 - live launch SliTaz in RAM with graphics
32 - text launch SliTaz in RAM with text mode
33 - install SliTaz UMSDOS like installation
35 If the prognam name includes one of the supported modes, the according mode is
36 assumed. Example 'C:\> slitazlive.exe' starts SliTaz in RAM with graphics.
39 Implementation:
41 ISO9660 format begins with 32Kb unused (16 sectors). Some programs may use it:
43 - isolinux uses the first 512 bytes for hybrid iso boot (ISO image in a
44 partition).
45 - tazlito stores extra flavor info at the 2nd Kb for 'tazlito iso2flavor'.
47 The iso2exe tool moves the isolinux boot sector, installs its own boot sector
48 with a DOS .EXE header, and adds a DOS .COM Linux loader and an initramfs in
49 the end of the first 32Kb.
51 +-----------------+
52 | untouched | ISO9660 files including /boot/bzImage and /boot/rootfs*
53 32K +-----------------+
54 | ISO initramfs | Live loader and UMSDOS like install script
55 +-----------------+
56 | DOS .COM loader | Load bzImage, the last rootfs*.gz and the ISO initramfs
57 +-----------------+
58 unused
59 +-----------------+
60 | tazlito info | Flavor missing data for 'tazlito iso2flavor'
61 1K +-----------------+
62 | isohybrid boot | Starts isolinux.bin
63 512 +-----------------+
64 | iso2exe boot | Boot starts isohybrid (*), .EXE starts DOS .COM loader
65 0 +-----------------+
67 * Eltorito boot (i.e. bootable CD-ROM by BIOS) is not concerned by iso2exe.
70 Limitations:
72 - Only DOS 3, 4 and 6 supported. Checked with http://www.allbootdisks.com/
74 - Real mode support only. VM86 is not supported.
76 - Image/zImage format not supported, bzImage only. Can't boot memtest or gpxe.
78 - The tiny Linux loader can't load more than 15Mb of files. (not really a
79 problem since many-in-1 ISO format).
81 - The DOS Linux loader and the ISO initramfs must fit in ~30Kb.
83 - Old Linux kernels don't support multiple initramfs load. They will not
84 find the /init.exe file. Only the "text" mode will work:
85 C:\> slitaz.exe text
87 - The ISO image must include the files /boot/bzImage and /boot/rootfs*.