FreeBSD loader
Eric Kjeldergaard
kjelderg at gmail.com
Sun Dec 19 03:38:51 PST 2004
> > > > > How can I configure the loader of FreeBSD 5.2 such that
> > > > > the default is loading the kernel with ACPI support.
> > > >
> > > > with ACPI is the default, is it not?
> > > >
> > > No. When I let the loader timeout, it does not load
> > > the acpi.ko module. This is the second choice.
> > >
> > > This is the way /boot/beastie.4th operates;
> > > at least for FreeBSD 5.2 installed from
> > > the freebsdmall CDs.
> >
> > Huh, that's strange, I could have sworn it was on mine...but nevermind
> > that, on to a solution. Ideally, all the acpi option does is load the
> > acpi module, so if you use /boot/loader.conf (man loader.conf) you
> > could use the load keyword and it should load it right up on boot.
> >
> It works. Thanks.
> Now the problem with your solution is that the acpi module is loaded
> unconditionally. I'd like to make acpi the default but keep the possibility
> of loading FreeBSD without acpi in case there's a problem with it.
> In other words, my present beastie menu begins with
> 1. Boot FreeBSD [default]
> 2. Boot FreeBSD with ACPI enabled
> and I'd like to just swap these options.
That is a problem that I had thought of, and the easy solution that
came to my mind is boot single-user and then comment out the line in
loader.conf when you /really/ don't need acpi. This of course assumes
that you don't want to switch your acpi/non-acpi status every other
hour or something. While that solution is a little inconvenient, it
is not lacking in ability. If there is a better way, though, I hope
someone speaks up about it. I know that the loader for me (5.3, 5.1)
has the default with acpi and the #2 disabled. I really do think that
a better solution. I'm just not sure how to do it. You /could/ try
grabbing the 5.3 versions of the loader files, I'm pretty sure that
there is nothing in them that changed between 5.2 and 5.3.
--
If I write a signature, my emails will appear more personalised.
More information about the freebsd-questions
mailing list