Date: Sun, 19 Dec 2004 05:38:49 -0600 From: Eric Kjeldergaard <kjelderg@gmail.com> To: Thierry Lacoste <lacoste@univ-paris12.fr> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD loader Message-ID: <d9175cad04121903381af10805@mail.gmail.com> In-Reply-To: <000501c4e5be$60762940$0100a8c0@ALDEBARAN> References: <000801c4e537$a720c080$0100a8c0@ALDEBARAN> <d9175cad041218151218475b86@mail.gmail.com> <001001c4e56b$77252180$0100a8c0@ALDEBARAN> <d9175cad04121902571604eba8@mail.gmail.com> <000501c4e5be$60762940$0100a8c0@ALDEBARAN>
next in thread | previous in thread | raw e-mail | index | archive | help
> > > > > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d9175cad04121903381af10805>