From owner-freebsd-questions@FreeBSD.ORG Thu Sep 4 05:12:52 2003 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 1552216A4BF for ; Thu, 4 Sep 2003 05:12:52 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 098AA43FF2 for ; Thu, 4 Sep 2003 05:12:50 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h84CBPQr002189 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 4 Sep 2003 13:12:42 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h84CBPiE002188; Thu, 4 Sep 2003 13:11:25 +0100 (BST) (envelope-from matthew) Date: Thu, 4 Sep 2003 13:11:25 +0100 From: Matthew Seaman To: David Kelly Message-ID: <20030904121125.GC88888@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , David Kelly , FreeBSD-Questions@freebsd.org References: <20030903181348.5cbfcabb.pnmurphy@cogeco.ca> <200309031800.30413.dkelly@HiWAAY.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JWEK1jqKZ6MHAcjA" Content-Disposition: inline In-Reply-To: <200309031800.30413.dkelly@HiWAAY.net> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-11.5 required=5.0 tests=AWL,BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: FreeBSD-Questions@freebsd.org Subject: Re: Undo MBR 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: Thu, 04 Sep 2003 12:12:52 -0000 --JWEK1jqKZ6MHAcjA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 03, 2003 at 06:00:30PM -0500, David Kelly wrote: > On Wednesday 03 September 2003 05:13 pm, Paul Murphy wrote: > > I have just installed FBSD-CURRENT on a test box. During install I > > unwittingly installed a BootMgr entry for the second HDD (it will > > just be a data disk, no need to boot from it). > > > > If I do 'dd if=3D/dev/zero of=3D/dev/rad2 count=3D15' will this "erase" > > the BootMgr or will I have to redo Fdisk and etcetera. There is no > > data on the disk yet so this would be no hardship, but is there a > > "proper" way of doing what I want? > > > > > > Just to clarify, upon booting I get: > > > > F1 FreeBSD > > F5 Drive 1 > > > > but I just want to boot straight into FreeBSD, no "dual-boot". >=20 > I don't know why you are fretting about this prompt and momentarily=20 > pause in the boot process. Also think you are confused about the MBR=20 > thing on the 2nd drive. >=20 > The prompt above is coming from your first HD. If the BIOS did not know= =20 > about the 2nd drive the F5 entry would not be there and the FreeBSD F1=20 > entry would still be there. You could hide this prompt by retuning the=20 > MBR to pause 0 or 1 seconds. Zero might be infinite. >=20 > To eliminate the prompt, wipe the HD and reinstall "dangerously=20 > dedicated." The result will be a disk which lacks the headers which=20 > allows other x86 OS's to understand what/how the disk is used. Errr... That's a little excessive. The quick way to remove the FreeBSd boot manager and restore a standard MBR is: # boot0cfg -B -b /boot/mbr ad0 (The OP might want to do that on his data disk ad2 as well). No changes to the filesystems on those disks should be necessary. 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 --JWEK1jqKZ6MHAcjA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/VyvtdtESqEQa7a0RAnLsAJ4o1mOV8VBHjWvoBH+J8l6ETx2rXwCaA12N GpLv+m5fkTWyJyiWucvEPNE= =JCW6 -----END PGP SIGNATURE----- --JWEK1jqKZ6MHAcjA--