Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2003 06:57:44 -0800 (PST)
From:      Dan Strick <dan@covad.net>
To:        a@jenisch.at
Cc:        dan@mist.nodomain
Subject:   Re: Boot-prompt (4.9) - where defined?
Message-ID:  <200311181457.hAIEvijv000449@mist.nodomain>

next in thread | raw e-mail | index | archive | help
>>>
> I've set up a machine with two BSD-slices: One that holds the
> BSD-installation and a separate slice holding /usr/home. (The reason
> behind this is, that I want to keep the data on a separate partition
> (i.e. harddisk partition), so when I re-install BSD user-data should
> remain relatively save)
>
>
> After installing FreeBSD 4.9 I get a boot prompt showing *two*
> BSD-installations, reachable with "F1" and "F2" respectively. When
> pressing F1 FreeBSD boots normally. When pressing F2 I end up with an
> error message. To my understanding this is because the boot manager
> assumes there's a different FreeBSD installation sitting on the second
> slice.
>
> Sure enough I only want the the first BSD-slice to appear on the boot
> prompt.
>
> So my questions are,
>
> o) where (which file) can I change the boot prompt i.e. prompt "F1"
> pointing to the first BSD-slice and "F2" pointing to the second.
>
> o) is there a way to change the messages that appear on the boot
> prompt (e.g. instead of "FreeBSD F1" it should display "Beastie F1")
>>>

You can't change the prompts without changing/rebuilding/reinstalling
the bootstrap program.  (The source is in /usr/src/sys/boot/i386/boot0.)

You can suppress the listing of specific partitions in the bootstrap
menu.  See the boot0cfg command and its -m option.

Dan Strick
strick@covad.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311181457.hAIEvijv000449>