From owner-freebsd-questions@FreeBSD.ORG Tue Aug 8 21:54:43 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 EA1DF16A4E1 for ; Tue, 8 Aug 2006 21:54:43 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [213.238.47.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBFD743D69 for ; Tue, 8 Aug 2006 21:54:39 +0000 (GMT) (envelope-from stb@lassitu.de) Received: (from stb@koef.zs64.net) (authenticated) by koef.zs64.net (8.13.7/8.13.7) with ESMTP id k78LsROT011897 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Tue, 8 Aug 2006 23:54:38 +0200 (CEST) (envelope-from stb@lassitu.de) In-Reply-To: <20060808004826.32179.qmail@web52109.mail.yahoo.com> References: <20060808004826.32179.qmail@web52109.mail.yahoo.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4AE9173E-6A69-4376-ADBB-E87DF4153A71@lassitu.de> Content-Transfer-Encoding: 7bit From: Stefan Bethke Date: Tue, 8 Aug 2006 23:54:27 +0200 To: gahn X-Mailer: Apple Mail (2.752.2) Cc: freebsd general questions 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 21:54:44 -0000 Am 08.08.2006 um 02:48 schrieb gahn: > 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. boot0 will boot into the same OS as the last time automatically, so you don't need to do anything to boot into FreeBSD, if you had booted into FreeBSD the last time. If you want to *always* boot into FreeBSD, irrespective of the choice you made the last time, you can use the boot0cfg(8) utility to stop boot0 from remembering the last choice and stick to the stored default. Untested: # boot0cfg -o noupdate -s2 Stefan -- Stefan Bethke Fon +49 170 346 0140