Doc/mboot

From Syslinux Wiki
Jump to: navigation, search


The content of doc/mboot.txt (6.04-pre1, with minor modifications):

mboot.c32

mboot.c32 is a 32-bit comboot ELF module that allows Syslinux and its variants to load and boot kernels that use the Multiboot standard (e.g. the Xen virtual machine monitor, and the Fiasco and GNU Mach microkernels).

[6.04+] mboot.c32 supports loading ELF64 for Multiboot1 too.

To load a multiboot kernel and modules in Syslinux, put mboot.c32 (from com32/modules "com32/mboot/") in the boot directory, and load it as the "kernel" in the configuration file. The command-line to pass to mboot.c32 is the kernel command-line, followed by all the module command lines, separated with "---". For example, to load a Xen VMM, xenlinux and an initrd:

DEFAULT mboot.c32 xen.gz dom0_mem=15000 nosmp noacpi --- linux.gz console=tty0 root=/dev/hda1 --- initrd.img

or, as a choice in a menu:

 LABEL Xen
   KERNEL mboot.c32
   APPEND xen.gz dom0_mem=15000 nosmp noacpi --- linux.gz console=tty0 root=/dev/hda1 --- initrd.img

mboot.c32 requires version 2.12 or later of Syslinux.