Bug 111840

Summary: boot0cfg(8) man page lacks how to reset to non-interactive MBR [patch]
Product: Documentation Reporter: Warren Block <wblock>
Component: Books & ArticlesAssignee: Pav Lucistnik <pav>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Warren Block 2007-04-19 05:00:11 UTC
	boot0cfg man page lacks description of how to switch back from
	the interactive boot0 to a non-interactive MBR.

Fix: Apply this patch:
How-To-Repeat: 	man boot0cfg
Comment 1 Warren Block 2007-04-19 05:25:46 UTC
Bugfixed patch:

--- boot0cfg.8.old	Wed Apr 18 20:58:37 2007
+++ boot0cfg.8	Wed Apr 18 21:47:37 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 ad0"
+.Pp
  .Sh SEE ALSO
  .Xr geom 4 ,
  .Xr boot 8 ,
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-12 11:33:35 UTC
State Changed
From-To: open->patched

Committed, thanks! Will MFC later. 


Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-12 11:33:35 UTC
Responsible Changed
From-To: freebsd-doc->pav

Committed, thanks! Will MFC later.
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-05-12 11:40:27 UTC
pav         2007-05-12 10:40:20 UTC

  FreeBSD src repository (doc,ports committer)

  Modified files:
    usr.sbin/boot0cfg    boot0cfg.8 
  Log:
  Document /boot/mbr (non-interactive boot block)
  
  PR:             doc/111840
  Submitted by:   Warren Block <wblock@wonkity.com>
  MFC after:      1 week
  
  Revision  Changes    Path
  1.30      +10 -0     src/usr.sbin/boot0cfg/boot0cfg.8
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-19 12:11:00 UTC
State Changed
From-To: patched->closed

MFC'ed.