From owner-freebsd-current Sun Mar 14 13: 0:55 1999 Delivered-To: freebsd-current@freebsd.org Received: from hawaii.conterra.com (hawaii.conterra.com [209.12.164.32]) by hub.freebsd.org (Postfix) with ESMTP id A461D14E6B for ; Sun, 14 Mar 1999 13:00:53 -0800 (PST) (envelope-from myself@conterra.com) Received: from dmaddox.conterra.com (myself@dmaddox.conterra.com [209.12.169.48]) by hawaii.conterra.com (8.8.8/8.8.7) with ESMTP id QAA09393; Sun, 14 Mar 1999 16:00:34 -0500 (EST) Received: (from myself@localhost) by dmaddox.conterra.com (8.9.3/8.9.1) id QAA05930; Sun, 14 Mar 1999 16:00:35 -0500 (EST) (envelope-from myself) Date: Sun, 14 Mar 1999 16:00:34 -0500 From: "Donald J . Maddox" To: Donn Miller Cc: current@FreeBSD.ORG Subject: Re: boot -c not saving changes Message-ID: <19990314160034.A5912@dmaddox.conterra.com> Reply-To: dmaddox@conterra.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Donn Miller on Sun, Mar 14, 1999 at 03:51:24PM +0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The answer depends on exactly how current you are... With -current from a few days ago, I would have said: Make sure you have a /boot/loader.rc file that contains at least these lines: load /kernel load -t /boot.config Then, make sure /boot.config contains all the stuff that you would normally type at the config> prompt when you Boot: -c. If you are *really* -current, /boot/loader.rc should probably just contain something like: include /boot/loader.4th start Then, you should copy /boot/defaults/loader.conf to /boot/loader.conf and edit it to match what you want to happen at boot. On Sun, Mar 14, 1999 at 03:51:24PM +0000, Donn Miller wrote: > When I boot up my -current box, I hit 'c' to get to the boot prompt. Then > I do "boot -c", and then "vi" to configure my kernel. But any changes I > make via userconfig aren't saved for when the next time I boot. > > Is it a problem with the boot loader, or do I have to type some commands > to save my config in /boot.config? I have a zero-length /boot.config > right now. I would think this involves invoking load -t /boot.config at > the boot prompt to load /boot.config the next time I boot, but I don't > know the exact sequence. > > Thanks > . > > Donn > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message