From owner-freebsd-doc@FreeBSD.ORG Mon Mar 28 08:50:12 2011 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78E9A106567D for ; Mon, 28 Mar 2011 08:50:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 37F648FC13 for ; Mon, 28 Mar 2011 08:50:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2S8oBGh098153 for ; Mon, 28 Mar 2011 08:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2S8oB8T098152; Mon, 28 Mar 2011 08:50:11 GMT (envelope-from gnats) Resent-Date: Mon, 28 Mar 2011 08:50:11 GMT Resent-Message-Id: <201103280850.p2S8oB8T098152@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Cooper Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEF2E106566C for ; Mon, 28 Mar 2011 08:45:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 9F4EE8FC20 for ; Mon, 28 Mar 2011 08:45:39 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p2S8jdvn011601 for ; Mon, 28 Mar 2011 08:45:39 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p2S8jdun011600; Mon, 28 Mar 2011 08:45:39 GMT (envelope-from nobody) Message-Id: <201103280845.p2S8jdun011600@red.freebsd.org> Date: Mon, 28 Mar 2011 08:45:39 GMT From: Garrett Cooper To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: docs/155989: Fix offset in boot.config(5) X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2011 08:50:12 -0000 >Number: 155989 >Category: docs >Synopsis: Fix offset in boot.config(5) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 28 08:50:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Garrett Cooper >Release: CURRENT >Organization: n/a >Environment: N/A >Description: The following is patch fixes the documentation for boot.config(5) as the indexes are incorrect per boot(8): bios_drive:interface(unit,[slice,]part)filename [-aCcDdghmnPprsv] [-Sspeed] Specify boot file and flags. bios_drive The drive number as recognized by the BIOS. 0 for the first drive, 1 for the second drive, etc. I submitted it directly to danger@, but he suggested I create a PR for it. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: share/man/man5/boot.config.5 =================================================================== --- share/man/man5/boot.config.5 (revision 220091) +++ share/man/man5/boot.config.5 (working copy) @@ -80,18 +80,19 @@ .Pp The command: .Bd -literal -offset indent -# echo "1:ad(1,a)/boot/loader" > /boot.config +# echo "0:ad(1,a)/boot/loader" > /boot.config .Ed .Pp will instruct the second stage of .Xr boot 8 -on the first disk to boot with the third -.Xr boot 8 -stage from the second disk. +located on the second disk recognized by the BIOS, to boot via +.Xr loader 8 +located on the first partition of the second non-floppy, non-SCSI disk +recognized by the BIOS. .Pp The command: .Bd -literal -offset indent -# echo "1:ad(1,a)/boot/loader -P" > /boot.config +# echo "0:ad(1,a)/boot/loader -P" > /boot.config .Ed .Pp will do both of the above. >Release-Note: >Audit-Trail: >Unformatted: