From owner-freebsd-questions@FreeBSD.ORG Wed Jun 8 20:43:26 2005 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 1C7DF16A41C for ; Wed, 8 Jun 2005 20:43:26 +0000 (GMT) (envelope-from espinafre@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90F2B43D1D for ; Wed, 8 Jun 2005 20:43:25 +0000 (GMT) (envelope-from espinafre@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so456758wri for ; Wed, 08 Jun 2005 13:43:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hSqGGBjS9lxLbtqjO8GOTBIk24Hl+rmIbIB5lTJgt4vgiyvbx9QaPjKtQ+7OrTXbcly0/mqoYNIe1fhCBhjRziMQs3J0OyDg1Fye7BuA068vm22CkBPshx4TQjNQnczDG5cT3PXc1bTUWoZIDn18g621/FNIpBAIYW3uZ3pVOjo= Received: by 10.54.108.13 with SMTP id g13mr5003690wrc; Wed, 08 Jun 2005 13:42:44 -0700 (PDT) Received: by 10.54.2.45 with HTTP; Wed, 8 Jun 2005 13:42:44 -0700 (PDT) Message-ID: <5ef8c2f005060813423f7728c0@mail.gmail.com> Date: Wed, 8 Jun 2005 17:42:44 -0300 From: =?ISO-8859-1?Q?Jos=E9_de_Paula_Rodrigues?= To: freebsd-questions@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <0DF7FF668F71A2B85D47F59B@utd59514.utdallas.edu> <5ef8c2f00506081229384d1be8@mail.gmail.com> Subject: Re: Editing the boot menu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?ISO-8859-1?Q?Jos=E9_de_Paula_Rodrigues?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2005 20:43:26 -0000 On 6/8/05, Paul Schmehl wrote: > --On Wednesday, June 08, 2005 16:29:22 -0300 Jos=E9 de Paula Rodrigues > wrote: >=20 > > On 6/8/05, Paul Schmehl wrote: > >> When you use FreeBSD's boot manager, you get a menu like this at bootu= p: > >> > >> F1 DOS > >> F2 FreeBSD > >> F3 Linux > >> F4 ?? > >> F5 Drive 1 > >> > >> Default: F2 > >> > >> Is there a way to edit the list? Or is that fixed when boot manager i= s > >> installed and not configurable? > >> > >> By edit, I mean, for example, change F4 ?? to F4 MyOS. > >> > > > > man boot0cfg > > > I *thought* it would go without saying that I had already read man boot0c= fg. >=20 > Obviously, I missed the part where you edit the menu. Wanna give me a hi= nt? >=20 I'm really sorry I underestimated you, I misunderstood your question in the first place. >From what I gather, these labels come straight from /boot/boot0, not from boot0cfg. Looking at the boot0 source code (found at /usr/src/sys/boot/i386/boot0/boot0.S), you can see that the OS options are hard-coded into the boot0 program, so there is no way to edit that other than by changing the source code and recompiling. Did you try using Grub instead? It now supports UFS2, and is a great bootloader, with lots of features. You can find it in your ports tree.