From owner-freebsd-doc Sat Jun 10 8:30:14 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 793D637BB9E for ; Sat, 10 Jun 2000 08:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA07640; Sat, 10 Jun 2000 08:30:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com [62.253.162.43]) by hub.freebsd.org (Postfix) with ESMTP id 3FEA437B89B for ; Sat, 10 Jun 2000 08:26:29 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.86.3]) by mta03-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000610152627.KSNP290.mta03-svc.ntlworld.com@parish.my.domain> for ; Sat, 10 Jun 2000 16:26:27 +0100 Received: (from root@localhost) by parish.my.domain (8.9.3/8.9.3) id QAA02849; Sat, 10 Jun 2000 16:26:33 +0100 (BST) (envelope-from mark) Message-Id: <200006101526.QAA02849@parish.my.domain> Date: Sat, 10 Jun 2000 16:26:33 +0100 (BST) From: Mark Ovens Reply-To: Mark Ovens To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/19174: [PATCH] Correct serious error in FAQ Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19174 >Category: docs >Synopsis: [PATCH] Correct serious error in FAQ >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 10 08:30:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mark Ovens >Release: FreeBSD 4.0-STABLE i386 >Organization: >Environment: >Description: An addition of mine, docs/13207, in the System Administration section of the FAQ entitled "How can I use the NT loader to boot FreeBSD?" is incorrect. It was submitted to document information that appeared in a long thread on -questions, however, it is not possible to use /boot/boot0 as described. Doing so will result in a trashed Partition Table. I and at least 2 other people have done this. This patch is a re-write of the last paragraph and details how boot0 works, including a warning of the potential dangers. Given the serious nature of the problems that can be caused this should be committed ASAP. >How-To-Repeat: I wouldn't try if I were you >Fix: *** book.sgml.orig Sat Jun 10 13:55:37 2000 --- book.sgml Sat Jun 10 16:25:13 2000 *************** *** 4390,4399 **** For FreeBSD 3.x systems the procedure is somewhat simpler. If FreeBSD is installed on the same disk as the NT boot partition ! copy /boot/boot1 to c:\bootsect.bsd ! or if FreeBSD is installed on a different disk copy ! /boot/boot0 to c:\bootsect.bsd. ! Then edit c:\bootsect.ini as described earlier. --- 4390,4420 ---- For FreeBSD 3.x systems the procedure is somewhat simpler. If FreeBSD is installed on the same disk as the NT boot partition ! simply copy /boot/boot1 to C:\BOOTSECT.BSD ! However, if FreeBSD is installed on a different disk ! /boot/boot1 will not work, /boot/boot0 ! is needed. ! ! ! DO NOT SIMPLY COPY /boot/boot0 INSTEAD OF ! /boot/boot1, YOU WILL OVERWRITE YOUR PARTITION TABLE ! AND RENDER YOUR COMPUTER UN-BOOTABLE! ! ! /boot/boot0 needs to be installed using sysinstall by ! selecting the FreeBSD boot manager on the screen which asks if you wish to ! use a boot manager. This is because /boot/boot0 has the ! partition table area filled with NULL characters but sysinstall copies the ! partition table before copying /boot/boot0 to the MBR. ! ! ! When the FreeBSD boot manager runs it records the last OS booted by ! setting the active flag on the partition table entry for that OS and then ! writes the whole 512-bytes of itself back to the MBR so if you just copy ! /boot/boot0 to C:\BOOTSECT.BSD ! then it writes an empty partition table, with the active flag set on one ! entry, to the MBR. ! ! I write from bitter personal experience of this. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message