1 .\" $NetBSD: multiboot.8,v 1.3 2008/04/30 13:10:57 martin Exp $
3 .\" Copyright (c) 2006 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
7 .\" by Julio M. Merino Vidal.
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
35 .Nd procedure for booting NetBSD/i386 from a Multiboot-compliant boot loader
37 Multiboot is a specification that defines a protocol between a boot loader
39 This protocol allows passing boot information between the two in a standard
40 way, allowing any Multiboot-compliant boot loader to boot any
41 Multiboot-compliant kernel.
44 kernel supports Multiboot if it was compiled with
52 Unlike when using the native boot loader, the
54 kernel recognizes a set of command line arguments if booted through a
55 Multiboot-compliant boot loader.
56 This is because the Multiboot protocol is not complete enough to completely
61 The following arguments are recognized:
62 .Bl -tag -width consoleXspeedX
64 Specifies the console device name.
75 Specifies the serial port address for the console.
76 Defaults to the value of
80 if this was not given.
82 Specifies the serial port speed for the console.
83 Defaults to the value of
87 if this was not given.
89 Specifies the name of the device to be mounted as the root partition.
90 It should not be needed because the kernel tries its best to guess which
91 is the root partition (basing the decision on the device from which the
92 kernel was loaded from).
93 In cases where the automatic detection fails, this flag comes useful.
97 .Ss Booting with GRUB Legacy
98 GRUB Legacy is the most popular bootloader that supports Multiboot.
101 kernel (assuming it is compiled with Multiboot support) with a line
102 similar to the following one:
104 kernel (fd0)/netbsd.gz -c console=pc root=wd0e
110 support first appeared in
115 .An Julio M. Merino Vidal Aq jmmv@NetBSD.org .