boot0cfg.8 (6a068746777241722b2b32c5d0bc443a2a64d80b) boot0cfg.8 (05d98029e9476e39b23f895225d36bf60f22ad91)
1.\" Copyright (c) 1999 Robert Nordier
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 10 unchanged lines hidden (view full) ---

19.\" OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
20.\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
22.\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
23.\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
1.\" Copyright (c) 1999 Robert Nordier
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 10 unchanged lines hidden (view full) ---

19.\" OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
20.\" BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
21.\" WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
22.\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
23.\" EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd February 4, 2012
27.Dd October 1, 2013
28.Dt BOOT0CFG 8
29.Os
30.Sh NAME
31.Nm boot0cfg
32.Nd boot manager installation/configuration utility
33.Sh SYNOPSIS
34.Nm
35.Op Fl Bv

--- 132 unchanged lines hidden (view full) ---

168.It Pa /boot/boot0sio
169Image for serial consoles (COM1,9600,8,N,1,MODEM)
170.El
171.Sh EXIT STATUS
172.Ex -std
173.Sh EXAMPLES
174To boot slice 2 on the next boot:
175.Pp
28.Dt BOOT0CFG 8
29.Os
30.Sh NAME
31.Nm boot0cfg
32.Nd boot manager installation/configuration utility
33.Sh SYNOPSIS
34.Nm
35.Op Fl Bv

--- 132 unchanged lines hidden (view full) ---

168.It Pa /boot/boot0sio
169Image for serial consoles (COM1,9600,8,N,1,MODEM)
170.El
171.Sh EXIT STATUS
172.Ex -std
173.Sh EXAMPLES
174To boot slice 2 on the next boot:
175.Pp
176.Dl "boot0cfg -s 2 ad0"
176.Dl "boot0cfg -s 2 ada0"
177.Pp
178To enable just slices 1 and 3 in the menu:
179.Pp
177.Pp
178To enable just slices 1 and 3 in the menu:
179.Pp
180.Dl "boot0cfg -m 0x5 ad0"
180.Dl "boot0cfg -m 0x5 ada0"
181.Pp
182To go back to non-interactive booting, use
183.Xr fdisk 8
184to install the default MBR:
185.Pp
181.Pp
182To go back to non-interactive booting, use
183.Xr fdisk 8
184to install the default MBR:
185.Pp
186.Dl "fdisk -B ad0"
186.Dl "fdisk -B ada0"
187.Sh SEE ALSO
188.Xr geom 4 ,
189.Xr boot 8 ,
190.Xr fdisk 8 ,
191.Xr gpart 8
192.Sh AUTHORS
193.An Robert Nordier Aq rnordier@FreeBSD.org .
194.Sh BUGS
195Use of the
196.Sq packet
197option may cause
198.Sq boot0
199to fail, depending on the nature of BIOS support.
200.Pp
201Use of the
202.Sq setdrv
203option with an incorrect -d operand may cause the boot0 code
204to write the MBR to the wrong disk, thus trashing its previous
205content. Be careful.
187.Sh SEE ALSO
188.Xr geom 4 ,
189.Xr boot 8 ,
190.Xr fdisk 8 ,
191.Xr gpart 8
192.Sh AUTHORS
193.An Robert Nordier Aq rnordier@FreeBSD.org .
194.Sh BUGS
195Use of the
196.Sq packet
197option may cause
198.Sq boot0
199to fail, depending on the nature of BIOS support.
200.Pp
201Use of the
202.Sq setdrv
203option with an incorrect -d operand may cause the boot0 code
204to write the MBR to the wrong disk, thus trashing its previous
205content. Be careful.