From owner-freebsd-questions@FreeBSD.ORG Sun Sep 19 12:09:35 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF83D16A4CE for ; Sun, 19 Sep 2004 12:09:35 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62E0E43D2F for ; Sun, 19 Sep 2004 12:09:34 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i8JC9Rht094496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 19 Sep 2004 13:09:27 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i8JC9RXn094495; Sun, 19 Sep 2004 13:09:27 +0100 (BST) (envelope-from matthew) Date: Sun, 19 Sep 2004 13:09:27 +0100 From: Matthew Seaman To: Abe Olson Message-ID: <20040919120927.GF51161@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Abe Olson , freebsd-questions@freebsd.org References: <414CD0D3.2030802@comcast.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ni93GHxFvA+th69W" Content-Disposition: inline In-Reply-To: <414CD0D3.2030802@comcast.net> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Sun, 19 Sep 2004 13:09:27 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: winxp freebsd dual boot with freebsd on second HD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2004 12:09:36 -0000 --ni93GHxFvA+th69W Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 18, 2004 at 05:20:35PM -0700, Abe Olson wrote: =20 > The instructions say: > "Other operating systems, in particular Windows=AE 95, have been known to= =20 > overwrite an existing MBR with their own. If this happens to you, or you= =20 > want to replace your existing MBR with the FreeBSD MBR then use the=20 > following command: >=20 > # fdisk -B -b /boot/boot0 device >=20 > Where device is the device that you boot from . . ." You have to do that to all bootable drives in your machine -- so assuming your Windows disk is ad0 and your FreeBSD disk is ad2, you'ld run: # fdisk -B -b /boot/boot0 ad0 # fdisk -B -b /boot/boot0 ad2 In either case, you shouldn't need to rewrite the partition table. See also boot0cfg(8) for a tool that lets you configure exactly how the boot blocks work. Indeed, you can use boot0cfg(8) instead of fdisk(8) to achieve your ends: # boot0cfg -B -b /boot/boot0 ad0 # boot0cfg -B -b /boot/boot0 ad2 boot0cfg only ever affects the boot blocks; unlike fdisk it doesn't do anything with partition tables, other than allow you to choose which slices to boot from. Note that the boot0 boot block is very minimal -- it fits into a single 512 byte sector -- and that many people prefer 3rd party boot managers like GAG: http://gag.sourceforge.net/ which, while quite a bit bigger, have a much friendlier user interface. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --ni93GHxFvA+th69W Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBTXb3iD657aJF7eIRAvX5AKCQL2yVkenuMEVxlSJWE9/r3qv3QwCguhO0 Xrxzvac/XHTU+F74TQuFx5U= =jFn/ -----END PGP SIGNATURE----- --ni93GHxFvA+th69W--