xref: /netbsd/share/man/man8/man8.x68k/loadbsd.8 (revision bf9ec67e)
1.\"	$NetBSD: loadbsd.8,v 1.4 2001/12/26 02:18:29 wiz Exp $
2.Dd August 13, 1998
3.Dt LOADBSD 8 x68k
4.Os
5.Sh NAME
6.Nm loadbsd
7.Nd load and boot NetBSD/x68k kernel from Human68k
8.Sh SYNOPSIS
9.Nm loadbsd.x
10.Op Fl hvV
11.Op Fl abDs
12.Op Fl r Ar root_device
13.Ar kernel_file
14.Sh DESCRIPTION
15.Nm
16is a program runs on Human68k.
17It loads and executes the specified
18.Nx Ns Tn /x68k
19kernel.
20.Pp
21The options (for
22.Nm
23itself) are as follows:
24.Bl -tag -width flag
25.It Fl h
26Show help and exit.
27.It Fl v
28Enable verbose mode.
29.It Fl V
30Print version of
31.Nm
32and exit.
33.El
34.Pp
35The options for
36.Nx
37kernel are as follows:
38.Bl -tag -width flag
39.It Fl a
40Auto (multi-user) boot.
41This disables
42.Fl s
43flag.
44.It Fl b
45Ask boot device during boot.
46Pass
47.Dv RB_ASKNAME
48boot flag to the kernel.
49.It Fl d
50Use compiled-in rootdev.
51Pass
52.Dv RB_DFLTROOT
53boot flag to the kernel.
54.It Fl D
55Enter kernel debugger.
56Pass
57.Dv RB_KDB
58boot flag to the kernel.
59.It Fl r Ar root_device
60Specify boot device, which shall be mounted as root device.
61The default device is
62.Sq Li sd@0,0:a .
63Note that the boot device name is
64.Em not
65the same as that of
66.Nx .
67See
68.Sx BOOT DEVICE NAMES
69below.
70.It Fl s
71Single user boot.
72Pass
73.Dv RB_SINGLE
74boot flag to the kernel.
75This disables
76.Fl a
77flag.
78This flag is set by default.
79.El
80.Pp
81Although listed separately, the options may be in any order.
82.Sh BOOT DEVICE NAMES
83The format of boot device names is:
84.Pp
85.Dl "[/interface/]dev@unit[,lun][:partition]"
86.Pp
87.Bl -tag -width Fl
88.It interface
89SCSI interface type.
90One of:
91.Sq Li spc@0 ,
92.Sq Li spc@1 ,
93.Sq Li mha@0 .
94If the dev is a SCSI device, and interface is omitted,
95the current boot interface is used.
96.It dev
97Device type.
98One of:
99.Sq Li fd
100(floppy disk drive),
101.Sq Li sd
102(SCSI disk),
103.Sq Li cd
104(SCSI CD-ROM),
105.Sq Li md
106(Memory disk).
107.It unit
108Device unit #.
109You must specify the target SCSI ID if dev is a SCSI device.
110.It lun
111SCSI LUN #.
1120 is assumed if omitted.
113.It partition
114Partition letter of device.
115Partition
116.Sq Li a
117is used if omitted.
118.El
119.Sh FILES
120.Bl -tag -width /usr/mdec/loadbsd.xxxx -compact
121.It Pa /usr/mdec/loadbsd.x
122You will find this program here.
123.El
124.Sh SEE ALSO
125.Xr reboot 2 ,
126.Xr boot 8
127.Sh HISTORY
128The
129.Nm
130utility first appeared in
131.Nx 1.4 .
132.Sh BUGS
133.Nm
134reads the entire kernel image at once,
135and requires enough free area on the main memory.
136