NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: boot loader configuration file?



On Tue, 1 Jul 2008, Jeremy C. Reed wrote:
I don't think it exists in NetBSD. And I do recall reading ideas about
it. (And I have used similar on FreeBSD many times.)

Any boot loader configuration file? (I am using -current.)

Something like boot checks for /boot.conf and if exists reads the lines
and uses with userconf(4).

That would be easier and faster for me so I can do "disable ohci" (versus
manually or creating custom kerne) so my keyboardf works.

We already have boot.cfg(5). See the patch below which hacks in support for a userconf script:

http://ftp.netbsd.org/pub/NetBSD/misc/sborrill/confscript.diff

That patch is missing a #include <machine/bootinfo.h> in boot2.c IIRC

--
Stephen



Home | Main Index | Thread Index | Old Index