From owner-freebsd-doc@FreeBSD.ORG Sun May 25 10:50:02 2008 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 B4021106567A for ; Sun, 25 May 2008 10:50:02 +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 8CF618FC19 for ; Sun, 25 May 2008 10:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4PAo2V5026156 for ; Sun, 25 May 2008 10:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4PAo2ZI026155; Sun, 25 May 2008 10:50:02 GMT (envelope-from gnats) Resent-Date: Sun, 25 May 2008 10:50:02 GMT Resent-Message-Id: <200805251050.m4PAo2ZI026155@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, Gabor PALI Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90D1D1065677 for ; Sun, 25 May 2008 10:41:02 +0000 (UTC) (envelope-from pali.gabor@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 0B07A8FC15 for ; Sun, 25 May 2008 10:41:01 +0000 (UTC) (envelope-from pali.gabor@googlemail.com) Received: by fg-out-1718.google.com with SMTP id l26so1058275fgb.35 for ; Sun, 25 May 2008 03:41:00 -0700 (PDT) Received: by 10.86.76.16 with SMTP id y16mr3408161fga.60.1211712060699; Sun, 25 May 2008 03:41:00 -0700 (PDT) Received: from pgj@FreeBSD.org ( [80.99.205.120]) by mx.google.com with ESMTPS id d6sm10886621fga.2.2008.05.25.03.40.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 25 May 2008 03:41:00 -0700 (PDT) Received: by pgj@FreeBSD.org (sSMTP sendmail emulation); Sun, 25 May 2008 12:40:58 +0200 Message-Id: <4839423b.0637560a.7d05.ffff81a0@mx.google.com> Date: Sun, 25 May 2008 12:40:58 +0200 From: "Gabor PALI" Sender: =?UTF-8?B?UMOBTEkgR8OhYm9yIErDoW5vcw==?= To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: docs/123974: [patch] Fix Markups in FAQ, Question 3.23 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gabor PALI List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 May 2008 10:50:02 -0000 >Number: 123974 >Category: docs >Synopsis: [patch] Fix Markups in FAQ, Question 3.23 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sun May 25 10:50:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gabor PALI >Release: FreeBSD 6.3-STABLE i386 >Organization: >Environment: System: FreeBSD disznohal 6.3-STABLE FreeBSD 6.3-STABLE #4: Fri Apr 4 23:29:43 CEST 2008 dezzy@disznohal:/usr/obj/usr/src/sys/GENERIC_ i386 >Description: Some markups are missing or misused in the FreeBSD FAQ, Question 3.23. ``Why do I get a "panic: can't mount root" error when rebooting the system after installation?''. I send you a small patch to fix them. >How-To-Repeat: >Fix: --- books.faq.patch.11.diff begins here --- Index: book.sgml =================================================================== RCS file: /doc/en_US.ISO8859-1/books/faq/book.sgml,v retrieving revision 1.811 diff -u -r1.811 book.sgml --- book.sgml 12 Apr 2008 20:13:12 -0000 1.811 +++ book.sgml 25 May 2008 08:21:58 -0000 @@ -1888,11 +1888,11 @@ systems, with the hard disks arranged as the master or single device on separate IDE controllers, with FreeBSD installed on the secondary IDE controller. The boot blocks - think the system is installed on ad0 (the second BIOS + think the system is installed on ad0 (the second BIOS disk) while the kernel assigns the first disk on the - secondary controller device, ad2. After the device + secondary controller device, ad2. After the device probing, the kernel tries to mount what the boot blocks - think is the boot disk, ad0, while it is really ad2, and + think is the boot disk, ad0, while it is really ad2, and fails. To fix the problem, do one of the following: @@ -1905,10 +1905,10 @@ drop you into the boot loader. Then type - + set root_disk_unit="disk_number" - . disk_number + . disk_number will be 0 if FreeBSD is installed on the master drive on the first IDE controller, 1 if it is installed on the slave @@ -1918,13 +1918,13 @@ installed on the slave of the second IDE controller. - Then type boot, and your + Then type boot, and your system should boot correctly. To make this change permanent (i.e, so you do not have to do this every time you reboot or turn on - your FreeBSD machine), put the line - root_disk_unit="disk_number" + your FreeBSD machine), put the line + root_disk_unit="disk_number" in /boot/loader.conf.local . --- books.faq.patch.11.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: