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

syslinux: iso2exe (tiny edits)
author Paul Issott <paul@slitaz.org>
date Thu Dec 13 18:22:00 2012 +0000 (2012-12-13)
parents 7d300004a3b8
children d47403fdd900
line source
1 The iso2exe tool inserts a DOS .EXE header in an ISO image.
2 The ISO image can be launched by DOS :
4 C:\> ren slitaz-5.0.iso slitaz.exe
5 C:\> slitaz
8 Why ?
10 According to the SliTaz forum, some new users have problems burning CD-ROMs,
11 creating USB Keys and booting these devices with the BIOS. Others are lost
12 during the installation process or partitioning.
14 The slitaz.exe program boots the SliTaz ISO image with a text menu:
16 - to start SliTaz in RAM (live) in graphics mode or text mode.
18 - to install SliTaz "a la UMSDOS" in the \slitaz\ subdirectory. The simplest
19 way install to SliTaz. No partitioning. No questions.
22 Usage:
24 C:\> progname [mode]
26 Default mode is menu. Mode can be:
28 - menu start with an interactive menu
29 - live launch SliTaz in RAM with graphics
30 - text launch SliTaz in RAM with text mode
31 - install SliTaz UMSDOS like installation
33 If the program name includes one of the supported modes; the according mode is
34 assumed. Example 'C:\> slitazlive.exe' starts SliTaz in RAM with graphics.
37 Implementation:
39 ISO9660 format begins with 32Kb unused (16 sectors). Some programs may use it:
41 - isolinux uses the first 512 bytes for hybrid iso boot (ISO image in a
42 partition).
43 - tazlito stores extra flavor info at the 2nd Kb for 'tazlito iso2flavor'.
45 The iso2exe tool moves the isolinux boot sector, installs its own boot sector
46 with a DOS .EXE header, and adds a DOS .COM Linux loader and an initramfs in
47 the end of the first 32Kb.
49 +-----------------+
50 | untouched | ISO9660 files including /boot/bzImage and /boot/rootfs*
51 32K +-----------------+
52 | ISO initramfs | Live loader and UMSDOS like install script
53 +-----------------+
54 | DOS .COM loader | Load bzImage, the last rootfs*.gz and the ISO initramfs
55 +-----------------+
56 unused
57 +-----------------+
58 | tazlito info | Flavor missing data for 'tazlito iso2flavor'
59 1K +-----------------+
60 | isohybrid boot | Starts isolinux.bin
61 512 +-----------------+
62 | iso2exe boot | Boot starts isohybrid (*), .EXE starts DOS .COM loader
63 0 +-----------------+
65 * Eltorito boot (i.e. bootable CD-ROM by BIOS) is not concerned by iso2exe.
68 Limitations:
70 - Real mode support only. VM86 is not (yet?) supported.
72 - Image/zImage format not supported, bzImage only. Can't boot memtest or gpxe.
74 - The tiny Linux loader can't load more than 15Mb of files. (not really a
75 problem since many-in-1 ISO format).
77 - The DOS Linux loader and the ISO initramfs must fit in ~30Kb.
79 - Old Linux kernels don't support multiple initramfs load. They will not
80 find the /init.exe file. As a workaround, you can add the "text" argument:
81 C:\> slitaz.exe text
83 - The ISO image must include the files /boot/bzImage and /boot/rootfs*.