From owner-freebsd-questions@FreeBSD.ORG Tue Aug 8 20:40:38 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 8176816A4DA for ; Tue, 8 Aug 2006 20:40:38 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc3-cmbg1-0-0-cust506.cmbg.cable.ntl.com [82.21.101.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44EFD43D78 for ; Tue, 8 Aug 2006 20:40:37 +0000 (GMT) (envelope-from dan@slightlystrange.org) Received: from jools.slightlystrange.org ([192.168.0.2]) by catflap.slightlystrange.org with esmtp (Exim 4.63 #0) id 1GAYN5-000PlV-N8 for ; Tue, 08 Aug 2006 21:40:15 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Date: Tue, 8 Aug 2006 21:40:30 +0100 User-Agent: KMail/1.9.3 References: <20060808004826.32179.qmail@web52109.mail.yahoo.com> <20060808120407.GA22725@catflap.slightlystrange.org> In-Reply-To: <20060808120407.GA22725@catflap.slightlystrange.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5718864.eGz19SbbfY"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200608082140.36373.dan@slightlystrange.org> X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 192.168.0.2 X-SA-Exim-Mail-From: dan@slightlystrange.org X-SA-Exim-Scanned: No (on catflap.slightlystrange.org); SAEximRunCond expanded to false Subject: Re: default boot option in dual-boot mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Aug 2006 20:40:38 -0000 --nextPart5718864.eGz19SbbfY Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 08 August 2006 13:04, Daniel Bye wrote: > On Mon, Aug 07, 2006 at 05:48:26PM -0700, gahn wrote: > > hi: > > > > how could i fix the default boot option in dual-boot > > mode? > > > > i have a machine with both windows xp and freebsd 6.1. > > it works fine with freebsd boot manager (wiht optios > > of f1 for xp and f2 for freebsd when it starts). but i > > would like to fix the default mode for freebsd; ie, if > > i don't make a choice on either f1 or f2 keys, then > > system automatically boots up as freebsd machine. > > AFAIK, the FreeBSD loader sets the boot flag on the selected partition, > so that becomes the default at next boot. I don't think it can do what > you want. However, you might try grub or any of the other boot managers > in the ports, or simply use the WinXP loader. It's easy enough to set > up. > > If both WinXP and FreeBSD are installed on the same disk, copy > /boot/boot1 to, say, C:\BOOTSECT.BSD. If they're on different devices, > then you'll need to copy /boot/boot0 instead, BUT DON'T GET THIS WRONG! > Then change the "default" line to read > > default=3DC:\BOOTSECT.BSD > > and add this to the [operating systems] section: > > C:\BOOTSECT.BSD=3D"FreeBSD" > > And you're set. Gibbering nit alert! You're not set at all... Sorry - you need to make those two changes in the C:\BOOT.INI file. And yo= u=20 will also need to restore your MBR. The state I'm in, I won't offer any=20 advice on doing that - I'm sure to guide you wrong! Dan, just waking up... =2D-=20 Daniel Bye Local Host Services http://localhostservices.co.uk --nextPart5718864.eGz19SbbfY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBE2PbEixf5fBYiFmoRArgNAJwNRJYuaOIqsqRmD1ACHYX5l1F14QCfTNlq /rUQAVMEK4MDJfObhZ2nozg= =wIXr -----END PGP SIGNATURE----- --nextPart5718864.eGz19SbbfY--