From owner-freebsd-questions Tue Apr 16 3:22:55 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dns.perimeter.co.za (dns.perimeter.co.za [196.25.164.254]) by hub.freebsd.org (Postfix) with ESMTP id 6570B37B404 for ; Tue, 16 Apr 2002 03:22:46 -0700 (PDT) Received: from PATRICK (loopback.mipjhb [209.212.102.245] (may be forged)) by dns.perimeter.co.za (8.11.1/8.11.1) with SMTP id g3GAKeL87405; Tue, 16 Apr 2002 12:20:41 +0200 (SAST) (envelope-from bsd@perimeter.co.za) Message-ID: <017301c1e530$174f04d0$b50d030a@PATRICK> From: "Patrick O'Reilly" To: "Peter Leftwich" , "Mike Meyer" Cc: "mpd" , "FreeBSD Questions" References: <20020415205947.J24688-100000@earl-grey.cloud9.net> Subject: Re: MBR, mfsroot.flp, handbook, and list fail me! [mwm] Date: Tue, 16 Apr 2002 12:18:41 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi again Peter! ----- Original Message ----- From: "Peter Leftwich" > On Sat, 6 Apr 2002, Mike Meyer wrote: > > They install two different things. fdisk installs /dev/mbr, which should be the standard boot manager. boot0cfg installs /dev/boot0, which is the FreeBSD boot manager. If you're getting a different behavior, either 1) something is broken on your system, or 2) there's a serious bug somewhere. > > No. I've used "fdisk -B da0" to do this on my SCSI-based systems. > Way-way-wait... I appreciate the assistance, Mike but one moment you gave > an example that used "fdisk -B -b" and the one above is just "fdisk -B" so > now I am growing unnecessarily confused. In a nutshell: > > * When I run "boot0cfg" alone, it seems to know about too much stuff. > * I don't want a boot-manager at all. No F1, F2, etc menus please. :) > * I want the "active partition" (wordchoice?) to be /dev/ad0s2a (FreeBSD). > * I still want to be able to mount /dev/ad0s1 (MSDOS/Win98SR1). In a previous mail in this thread I said: " I just tried 'fdisk -B ad0', and it has correctly 'demoted' the boot manager to just go ahead and boot the first partition." The -b argument to fdisk will allow you to specify one of the alternative boot codes, but the one you want is /boot/mbr, which is the default value for -b. Therefore, you do not need to specify it when typing the command. As Mike said above, and as I confirmed, this should do the trick for you: # fdisk -B ad0 Alternatively, you can do EXACTLY the same thing by typing: # fdisk -B -b /boot/mbr ad0 Mike used "da0" because his is a SCSI disk, but yours is IDE, so "ad0" is the way to go. If you need to set the active partition, use: # fdisk -a ad0 Regards, Patrick O'Reilly. ___ _ __ / _ )__ __ (_)_ __ ___ _/ /____ __ / __/ -_) _) / ~ ) -_), ,-/ -_) _) /_/ \__/_//_/_/~/_/\__/ \__/\__/_/ http://www.perimeter.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message