docs/111840: boot0cfg man page lacks how to reset to non-interactive MBR [patch]
Warren Block
wblock at wonkity.com
Thu Apr 19 04:00:12 UTC 2007
>Number: 111840
>Category: docs
>Synopsis: boot0cfg man page lacks how to reset to non-interactive MBR [patch]
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Apr 19 04:00:11 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Warren Block
>Release: FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD speedy.wonkity.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Apr 9 16:45:44 MDT 2007 root at speedy.wonkity.com:/usr/obj/usr/src/sys/SPEEDY i386
>Description:
boot0cfg man page lacks description of how to switch back from
the interactive boot0 to a non-interactive MBR.
>How-To-Repeat:
man boot0cfg
>Fix:
Apply this patch:
--- boot0cfg.8.old Wed Apr 18 20:58:37 2007
+++ boot0cfg.8 Wed Apr 18 21:20:00 2007
@@ -88,7 +88,9 @@
.Pa /boot/boot0sio
can be used for output to the COM1 port.
(Be aware that nothing will be output to the COM1 port unless the
-modem signals DSR and CTS are active.)
+modem signals DSR and CTS are active.) Use
+.Pa /boot/mbr
+to go back to non-interactive booting.
.It Fl d Ar drive
Specify the drive number used by the PC BIOS in referencing the drive
which contains the specified
@@ -152,6 +154,8 @@
image
.It Pa /boot/boot0sio
Image for serial consoles (COM1,9600,8,N,1,MODEM)
+.It Pa /boot/mbr
+Non-interactive boot MBR image
.El
.Sh EXIT STATUS
.Ex -std
@@ -163,6 +167,11 @@
To enable just slices 1 and 2 in the menu:
.Pp
.Dl "boot0cfg -m 0x3 ad0"
+.Pp
+To go back to non-interactive booting:
+.Pp
+.Dl "boot0cfg -B -b /boot/mbr"
+.Pp
.Sh SEE ALSO
.Xr geom 4 ,
.Xr boot 8 ,
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list