From owner-freebsd-questions@FreeBSD.ORG Sun May 11 14:59:45 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 AB72337B401 for ; Sun, 11 May 2003 14:59:45 -0700 (PDT) Received: from Gina.esfm.ipn.mx (esfm.ipn.mx [148.204.102.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7E4243FE5 for ; Sun, 11 May 2003 14:59:44 -0700 (PDT) (envelope-from mrspock@esfm.ipn.mx) Received: from Gina.esfm.ipn.mx (localhost [127.0.0.1]) by Gina.esfm.ipn.mx (8.12.6p2/8.12.6) with ESMTP id h4BLvwEJ082677; Sun, 11 May 2003 16:57:58 -0500 (CDT) (envelope-from mrspock@esfm.ipn.mx) Received: from localhost (mrspock@localhost)h4BLvv0A082674; Sun, 11 May 2003 16:57:58 -0500 (CDT) X-Authentication-Warning: Gina.esfm.ipn.mx: mrspock owned process doing -bs Date: Sun, 11 May 2003 16:57:57 -0500 (CDT) From: Eduardo Viruena Silva To: David Gerard In-Reply-To: <20030511213402.GW16799@thingy.apana.org.au> Message-ID: <20030511163652.S77658@Gina.esfm.ipn.mx> References: <20030511213402.GW16799@thingy.apana.org.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org cc: lilith@newsguy.com Subject: Re: Bootloader two-drive dual-boot configuration question 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, 11 May 2003 21:59:45 -0000 On Mon, 12 May 2003, David Gerard wrote: > > I am setting up an IBM 300PL (Model 6862-N2U) which is intended to > dual-boot Windows and FreeBSD 4.8-RELEASE. As the BIOS will happily boot > from any IDE hard disk, we wanted to set it up with the present Windows > installation on drive 0 (the master - which FreeBSD sees as ad0) and a > fresh FreeBSD installation on drive 1 (the slave - which FreeBSD sees as > ad1). > > We installed FreeBSD and it's working fine on drive 1. However, going to > the BIOS to configure which OS to boot into is annoying. So it would be > nice to do it in the boot loader. However, I can't see what to give > boot0cfg to do this (assuming that's the right program to use). > > (The options boot0 gives are F1 - FreeBSD; F5 - Drive 1 ... note that > FreeBSD *is* on drive 1.) > > I tried swapping the disks - so the FreeBSD disk was drive 0 and the > Windows disk was drive 1. No, it won't work. I doubt windows can start from your slave disk and your /etc/fstab is made to mount file systems in "ad1". You will require changing your /etc/fstab and making your device files in /dev > However, FreeBSD would not boot - the disk was > expecting to find itself as ad1s1a, and mountboot wouldn't accept > ufs:/dev/ad0s1a as I would have expected. So I put the disks back the way > they were and we're presently selecting which disk to use via the BIOS. Are you also writting the boot manager to disk 0? You have to. > > Is there a way to do what we want with boot0? That is: boot from drive 1, > then bring up a boot menu allowing us to select between booting off drive 0 > or drive 1? > Write boot manager to both disk0 and disk1 Booting with disk 0, will make you see a menu like: F1: ??? F5: Disk 1 Pressing F1, you will get windows. pressing F5, you will get a menu like: F1: FreeBSD F5: Disk 0 > > - d. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >