Date: Wed, 8 Jun 2005 17:42:44 -0300 From: =?ISO-8859-1?Q?Jos=E9_de_Paula_Rodrigues?= <espinafre@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: Editing the boot menu Message-ID: <5ef8c2f005060813423f7728c0@mail.gmail.com> In-Reply-To: <B2EC37C39F9F5B22D56ED00E@utd59514.utdallas.edu> References: <0DF7FF668F71A2B85D47F59B@utd59514.utdallas.edu> <5ef8c2f00506081229384d1be8@mail.gmail.com> <B2EC37C39F9F5B22D56ED00E@utd59514.utdallas.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/8/05, Paul Schmehl <pauls@utdallas.edu> wrote: > --On Wednesday, June 08, 2005 16:29:22 -0300 Jos=E9 de Paula Rodrigues > <espinafre@gmail.com> wrote: >=20 > > On 6/8/05, Paul Schmehl <pauls@utdallas.edu> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ef8c2f005060813423f7728c0>