From owner-freebsd-questions@FreeBSD.ORG Sun May 11 14:34:08 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 1164237B401 for ; Sun, 11 May 2003 14:34:08 -0700 (PDT) Received: from thingy.apana.org.au (thingy.apana.org.au [203.12.237.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7C0643FB1 for ; Sun, 11 May 2003 14:34:06 -0700 (PDT) (envelope-from fun@thingy.apana.org.au) Received: from fun by thingy.apana.org.au with local (Exim 3.35 #1 (Debian)) id 19EySJ-0005Fg-00; Mon, 12 May 2003 07:34:03 +1000 Date: Mon, 12 May 2003 07:34:02 +1000 To: freebsd-questions@freebsd.org Message-ID: <20030511213402.GW16799@thingy.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i From: David Gerard cc: lilith@newsguy.com Subject: 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:34:08 -0000 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. 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. 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? - d.