Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Aug 2000 22:23:23 -0700
From:      Phil Staub <phils@staub.net>
To:        Paul Jansen <vlaero@yahoo.com.au>
Cc:        Doug White <dwhite@resnet.uoregon.edu>, small@freebsd.org
Subject:   Re: PicoBSD  help - dial version
Message-ID:  <20000807222322.A34023@mail>
In-Reply-To: <20000807235315.17724.qmail@web5102.mail.yahoo.com>; from vlaero@yahoo.com.au on Tue, Aug 08, 2000 at 09:53:15AM %2B1000
References:  <20000807235315.17724.qmail@web5102.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Paul:

I'm pretty new to PicoBSD myself, but I believe that what you're
seeing is due to one of two possible problems. First of all, perhaps
the changes that are being made are to the in-memory, running OS. When
you reboot, the filesystem supporting that OS goes away, and if the
configuration was stored there, your cofiguration goes with it. The
other (more likely) possibility is that the kernel.config file (which
is where your settings from the config utility are stored) are either
not being saved, or saved in the wrong place.

First of all, what I did is to go into the configuration directory for
the PicoBSD model I'm using (/usr/src/release/picobsd/net), and edit
the kernel configuration file, which is named PICOBSD. Then when I
rebuilt, I got only the drivers, number of units, and other settings I
specified in the config file.

The other possibility (and what I believe *should* have happened when
you agreed to write the configuration changes) is that in the root
directory of the boot floppy is the file 'kernel.config'. (Now, this
is what *I* got. I built PicoBSD from a 3.4-RELEASE system. YMMV) On a
standard FreeBSD system this file is read to determine how to alter
settings on a generic kernel (things like disabling certain drivers,
changing port/irq/dma settings, etc.). The problem is that the
/boot/defaults/loader.conf file seems to indicate that kernel.conf is
expected to be in /boot, not /. For me, it says:

userconfig_script_name="/boot/kernel.conf"

If you have that file in /, try moving it to /boot (but you'll
probably want to make sure it has something in it first). Also, note
that /boot/defaults/loader.conf contains a line that says:

userconfig_script_load="NO"

which is overridden by /boot/loader.conf by

userconfig_script_load="YES"

Make sure you have /boot/loader.conf, and that it contains (at least)
that line.


Good Luck,
Phil

On Tue, Aug 08, 2000 at 09:53:15AM +1000, Paul Jansen wrote:
> Thanks Doug.
> 
> I'm pretty sure that my configuration is not being
> saved anywhere though.  Part of the problem is saving
> my device configuration- another part is the kernel
> config screen popping up.  It's no use to me taking
> the Kernel config screen away unless my settings are
> saved somewhere else (and being loaded at boot time). 
> I won't be able to use my hardware otherwise!
> The PicoBSD splash screen says that the Kernel config
> screen will come up first time.  Maybe if I can save
> my settings somehow it won't come up anymore?
> 
> Cheers,
> Paul
> 
> --- Doug White <dwhite@resnet.uoregon.edu> wrote: > On
> Mon, 7 Aug 2000, [iso-8859-1] Paul Jansen wrote:
> > 
> > > Has anyone got any other ideas as to how I can
> > stop
> > > the kernel config screen coming up and specify my
> > > configuration?
> > 
> > Oh, *that* :)
> > 
> > You have to rebuild the kernel on the floppy and
> > remove the
> > INTRO_USERCONFIG option.
> > 
> > Doug White                    |  FreeBSD: The Power
> > to Serve
> > dwhite@resnet.uoregon.edu     |  www.FreeBSD.org
> > 
> 
> 
> _____________________________________________________________________________
> http://geocities.yahoo.com.au - Yahoo! Australia & NZ GeoCities
> - Build your own Web Site - for free!
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-small" in the body of the message
> 

-- 
Phil Staub, KE7HC
phils@staub.net
Unix: because reboots are for hardware upgrades


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000807222322.A34023>