Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Dec 2000 11:02:38 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        "Christian Kuhtz" <ck@gnu.org>
Cc:        questions@freebsd.org
Subject:   Re: boot disk & boot loader
Message-ID:  <14908.61870.629841.316769@guru.mired.org>
In-Reply-To: <16084@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Christian Kuhtz <ck@gnu.org> 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.

	<mike
--
Mike Meyer <mwm@mired.org>			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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14908.61870.629841.316769>