From owner-freebsd-questions Thu Apr 8 12:12:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from tele-post-20.mail.demon.net (tele-post-20.mail.demon.net [194.217.242.20]) by hub.freebsd.org (Postfix) with ESMTP id C577414D9D for ; Thu, 8 Apr 1999 12:11:05 -0700 (PDT) (envelope-from marko@uk.radan.com) Received: from [158.152.75.22] (helo=uk.radan.com) by tele-post-20.mail.demon.net with smtp (Exim 2.12 #2) id 10VKAa-00037l-0K; Thu, 8 Apr 1999 19:08:58 +0000 Organisation: Radan Computational Ltd., Bath, UK. Phone: +44-1225-320320 Fax: +44-1225-320311 Received: from marder-1. (rasnt-1 [193.114.228.211]) by uk.radan.com (8.6.10/8.6.10) with ESMTP id UAA03896; Thu, 8 Apr 1999 20:08:13 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id UAA04869; Thu, 8 Apr 1999 20:05:49 +0100 (BST) (envelope-from marko) Date: Thu, 8 Apr 1999 20:05:49 +0100 From: Mark Ovens To: Jacob Ritorto Cc: freebsd-questions@freebsd.org Subject: Re: boot loader loses config each time Message-ID: <19990408200549.K2997@marder-1.localhost> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Jacob Ritorto on Thu, Apr 08, 1999 at 01:30:07PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 08, 1999 at 01:30:07PM -0400, Jacob Ritorto wrote: > Sorry if this is a redundant question, but I just bought the 3.1 > CDROM and Greg's FreeBSD book and upgraded our mail machine at work. Now > every time the system boots, I have to configure the kernel with 'boot -c > kernel' to get my serial port (/dev/cuaa2) to show up (custom kernel). I > need to fix this Real Soon so I can let this machine run unattended for a > couple of years ;). > I would have checked the web page for an answer, but I'm in dire > straits right now because I don't have X running anywhere and lynx is > munging my screen horribly due to my having an old hercules 8-bit display > adaptor. > BTW, guessing, I checked the /kernel.config file and all that was > in it was a 'q'. Couldn't find any docs on that mechanism.. From the errata: 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). > Keep up the great work. I hope my $70.00 expendature helps the > cause for what it's worth.. > > thanks. > jake > > > > 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:marko@uk.radan.com http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message