Date: Thu, 8 Jul 1999 19:34:33 +0100 From: Mark Ovens <markov@globalnet.co.uk> To: Pedro Salenbauch <pedrosal@nce.ufrj.br> Cc: questions@freebsd.org Subject: Re: User Config Message-ID: <19990708193433.A257@marder-1> In-Reply-To: <19990708152252.6D07F14D6F@hub.freebsd.org>; from Pedro Salenbauch on Thu, Jul 08, 1999 at 12:22:49PM -0300 References: <19990708152252.6D07F14D6F@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 08, 1999 at 12:22:49PM -0300, Pedro Salenbauch wrote:
> Dear Mrs/Sirs:
>
> There seems to be a problem with the device configuration on
> versions 3.1 and 3.2: I boot with "-c", configurate all devices,
> save with "Q", continue the boot and it works fine; but when I
> boot again, all my configuration is forgotten!
>
> Is this a "bug", or is there a new method to save the configuration?
>
From the errata for 3.1 (although this should be fixed in 3.2):
o Kernel change information is not saved in the new kernel, even
though this is claimed to work in the docs.
Fix: The change information is being written out, in fact,
but to the wrong location. move /kernel.config to
/boot/kernel.conf (if it exists, otherwise there were no
changes to save) and add the following lines to /boot/loader.rc:
load /kernel
load -t userconfig_script /boot/kernel.conf
autoboot 5
This will cause the kernel change information to be read in and
used properly (and you just learned a little about the new 3-stage
loader in the process, so the exercise wasn't a total loss).
> Thank you,
> Pedro Salenbauch
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
--
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://www.users.globalnet.co.uk/~markov
_______________________________________________________________
Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
CAD/CAM solutions for Sheetmetal Working Industry
mailto:markov@globalnet.co.uk http://www.radan.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990708193433.A257>
