From owner-freebsd-current Sun Nov 17 14:40:33 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA19107 for current-outgoing; Sun, 17 Nov 1996 14:40:33 -0800 (PST) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA19067 for ; Sun, 17 Nov 1996 14:40:12 -0800 (PST) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.8.2/8.8.2) with SMTP id OAA01421; Sun, 17 Nov 1996 14:24:38 -0800 (PST) Message-ID: <328F90A1.167EB0E7@whistle.com> Date: Sun, 17 Nov 1996 14:24:33 -0800 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Joerg Wunsch CC: FreeBSD-current users , Philippe Charnier Subject: Re: can not change to correct boot device References: <199611162336.AAA04631@uriah.heep.sax.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk J Wunsch wrote: > > As Philippe Charnier wrote: > > > If I let him boot, it tries 1:sd(1,a)/kernel and fails at > > `change root to sd1a'. Entering 1:sd(0,a)/kernel is ok. > > > > How can I do this in the kernel config file? > > You can't. You must do it in the bootblocks. > > I think there's something from Julian around that would let you store > such a change automatically in the bootblock, but offhand i don't > remember any pointers to documentation for it. > IF you have sliced your disk with a normal BIOS partition table (fdisk) then you can replace the bootblocks with a set compiled with the NAMEBLOCK (I think that was it) option and then use the 'nextboot(8)' program to set the default string.. if you used the "dangerously dedicated" option it won't work, because it stores the string(s) in block 1 but if block 1 is part of a slice, it refuses to rewrite it (sensibly). We use it in production, though we use a version of boot.c that is checked in under the tag "JULIAN_HACK" I'd like to get that version reconciled with the version bruce reworked. julian