1 .\" $NetBSD: dosboot.8,v 1.19 2009/03/11 19:26:09 joerg Exp $
4 .\" Matthias Drochner. All rights reserved.
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
15 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 .\" @(#)boot_i386.8 8.2 (Berkeley) 4/19/94
34 .Nd boot NetBSD/i386 from DOS
40 .Op Ar path Op Fl adqsv
46 It is a boot loader for
50 to be booted directly from
52 By default, it boots a file with name
58 shares common code with the standard boot loader,
61 The recognized options are:
62 .Bl -tag -width -ads -offset 04n
68 Enter interactive mode.
70 will present a prompt, allowing input of commands (see below).
72 Boot from a UFS filesystem instead of an
76 Specifies the kernel file.
79 mode (default) a normal
81 filename (with or without drive specification) is accepted.
88 filesystem is expected.
89 By default, the file is looked up in partition
91 of the first harddisk.
92 Another device or partition can be specified
93 by prepending a block device name in terms of
95 followed by a colon (see
99 Flags passed to the kernel, see
103 The commands accepted after the
105 flag or in interactive mode are:
106 .\" NOTE: some of this text is duplicated in the MI boot.8
107 .\" and in other i386-specific *boot.8 files;
108 .\" please try to keep all relevant files synchronized.
109 .Bl -tag -width 04n -offset 04n
110 .It Ic boot Oo Va device : Ns Oc Oo Va filename Oc Oo Fl 1234abcdmqsvxz Oc
119 Set the default device and partition for subsequent filesystem operations.
120 Without an operand, print the current setting.
121 This setting doesn't apply to
125 Print an overview about commands and arguments.
127 Print a directory listing of
129 containing inode number, filename and file type.
130 This command works in UFS mode only.
132 can contain a device specification.
133 .It Ic mode Va fstype
134 Switch filesystem type;
148 is also installed in the
151 .Pa installation/misc/dosboot.com .
153 .Pa /usr/mdec/dosboot.com
159 drive D, one would issue:
160 .Bd -literal -offset indent
161 dosboot D:\eNODOS\eNETBSD
166 floppy into single user mode, type e.g.:
167 .Bd -literal -offset indent
168 dosboot -u fd0a:netbsd -s
178 command first appeared in
182 assumes that the processor is in real mode at startup.
183 It does not work well in the presence of
185 extenders and memory managers.
188 does not run directly under
192 for a method of starting
198 In UFS mode, files can only be loaded from devices known to the BIOS.
199 The device names do not necessarily comply with the names later
206 mode, no useful boot device specification is passed to
208 It is necessary to have the root device hardwired into the kernel
209 configuration or to enter it manually.