From owner-freebsd-questions@FreeBSD.ORG Tue Nov 18 06:57:55 2003 Return-Path: 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 9A41816A4CE for ; Tue, 18 Nov 2003 06:57:55 -0800 (PST) Received: from smtp.covadmail.net (mx05.covadmail.net [63.65.120.65]) by mx1.FreeBSD.org (Postfix) with SMTP id 57E0143FDD for ; Tue, 18 Nov 2003 06:57:54 -0800 (PST) (envelope-from dan@covad.net) Received: (covad.net 16647 invoked from network); 18 Nov 2003 14:57:48 -0000 Received: from unknown (HELO mist.nodomain) (68.164.175.55) by sun-qmail10 with SMTP; 18 Nov 2003 14:57:48 -0000 Received: from mist.nodomain (localhost [127.0.0.1]) by mist.nodomain (8.12.9p2/8.12.9) with ESMTP id hAIEvkNB000450; Tue, 18 Nov 2003 06:57:47 -0800 (PST) (envelope-from dan@mist.nodomain) Received: (from dan@localhost) by mist.nodomain (8.12.9p2/8.12.9/Submit) id hAIEvijv000449; Tue, 18 Nov 2003 06:57:44 -0800 (PST) (envelope-from dan) Date: Tue, 18 Nov 2003 06:57:44 -0800 (PST) From: Dan Strick Message-Id: <200311181457.hAIEvijv000449@mist.nodomain> To: a@jenisch.at cc: FreeBSD-Questions@freebsd.org cc: dan@mist.nodomain Subject: Re: Boot-prompt (4.9) - where defined? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2003 14:57:55 -0000 >>> > 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