From owner-freebsd-current Thu Nov 5 11:21:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA17364 for freebsd-current-outgoing; Thu, 5 Nov 1998 11:21:41 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles232.castles.com [208.214.165.232]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA17320 for ; Thu, 5 Nov 1998 11:21:11 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id LAA04146; Thu, 5 Nov 1998 11:19:59 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199811051919.LAA04146@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Brian W. Buchanan" cc: Mike Smith , current@FreeBSD.ORG Subject: Re: USERCONFIG_BOOT, heads up! In-reply-to: Your message of "Thu, 05 Nov 1998 11:13:46 PST." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 05 Nov 1998 11:19:58 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > Now, to load a userconfig script you must be using the new 3-stage > > > > bootloader. To load a script, either execute this command manually, > > > > or insert it in /boot/boot.conf: > > > > > > > > 'load -t userconfig_script ' > > > > > > I tried the following: > > > > > > disklabel -B /dev/wd0s1 > > > > What's that for? > > I really had no clue how to install the new loader, and I couldn't find > any docs for it. The manpage for disklabel said that -B would install the > standard loader, so... :) Ah, OK. The best way to switch is probably to install the new bootstrap. There's some terminology fog here; there are four components in the new boot path: - boot0 (looks like booteasy, optional) - boot1 - boot2 - /boot/loader These are all new, although boot1 and boot2 share names with the old bootstrap components. You don't need to update boot0 if you already have something like it installed, or you're not doing the multiple OS thing. To install the new boot1/boot2, say: disklabel -B -b /boot/boot1 -s /boot/boot2 wd0s1 You should remove any existing /boot.config file. > > Incidentally, you should only have to run the above 'pnp' commands once; > > they should be saved by 'dset' back into the kernel during the boot > > process. > > Right, but wouldn't I have to reissue them every time I built a new > kernel? Yes. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message