From owner-freebsd-questions Sun Dec 17 9: 2:42 2000 From owner-freebsd-questions@FreeBSD.ORG Sun Dec 17 09:02:40 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 5612337B402 for ; Sun, 17 Dec 2000 09:02:40 -0800 (PST) Received: (qmail 53249 invoked by uid 100); 17 Dec 2000 17:02:38 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14908.61870.629841.316769@guru.mired.org> Date: Sun, 17 Dec 2000 11:02:38 -0600 (CST) To: "Christian Kuhtz" Cc: questions@freebsd.org Subject: Re: boot disk & boot loader In-Reply-To: <16084@toto.iv> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Christian Kuhtz types: > Hey gang, > > one of the machines here has two IDE disks, one with win98, the other with > 4.2-STABLE. I ran into a snag on my machine which prevented me from > installing the boot loader at install time. So, only way to boot FreeBSD is > to tell the BIOS to boot directly off the 2nd drive. Clumsy but it worked for > now. I want to change this and restore sanity. > > Now, I need to build a boot floppy which can do enough stuff to install a > FreeBSD boot loader instead of the Win98 MBR on the first drive after booting > off the floppy. > > My FreeBSD skills are a little rusty, and I need some help. So, how do I do > this? > > Can somebody please send me a procedure or a pointer to a doc which describes > how to do this? You don't need a BSD boot floppy to install a boot loader - unless there's some factor you haven't mentioned. To install the standard boot manager, you use boot0cfg. You can install it from a running BSD system. You install it on disk 0 (which should be /dev/ad0 for IDE and /dev/da0 for SCSI) with a command like "/usr/sbin/boot0cfg -B /dev/ad0". Some peoople install on both disks, so that F1 boots the current disk, and F2 switches to the boot menu from the other disk. For details see the boot0cfg man page. http://www.mired.org/home/mwm/ Independent WWW/Unix/FreeBSD consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message