Difference between revisions of "Doc/mboot"

From Syslinux Wiki
Jump to: navigation, search
(Update to 6.04-pre1, with minor modifications. Wiki formatting.)
m (Delete unnecessary style; already stated by default in "MediaWiki:Common.css".)
 
Line 37: Line 37:
 
"<tt>---</tt>".  For example, to load a Xen VMM, xenlinux and an initrd:
 
"<tt>---</tt>".  For example, to load a Xen VMM, xenlinux and an initrd:
  
{| style="white-space:pre;"
+
{|
 
|
 
|
 
  <nowiki>DEFAULT mboot.c32 xen.gz dom0_mem=15000 nosmp noacpi --- linux.gz console=tty0 root=/dev/hda1 --- initrd.img</nowiki>
 
  <nowiki>DEFAULT mboot.c32 xen.gz dom0_mem=15000 nosmp noacpi --- linux.gz console=tty0 root=/dev/hda1 --- initrd.img</nowiki>
Line 44: Line 44:
 
or, as a choice in a menu:
 
or, as a choice in a menu:
  
{| style="white-space:pre;"
+
{|
 
|
 
|
 
  <nowiki>
 
  <nowiki>

Latest revision as of 20:51, 30 December 2018


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.