Date: Tue, 29 Dec 1998 12:46:38 -0800 From: "Jordan K. Hubbard" <jkh@zippy.cdrom.com> To: Brian Behlendorf <brian@hyperreal.org> Cc: Greg Lehey <grog@lemis.com>, FreeBSD current users <FreeBSD-current@FreeBSD.ORG> Subject: Re: How do I build an a.out kld? Message-ID: <8069.914964398@zippy.cdrom.com> In-Reply-To: Your message of "Tue, 29 Dec 1998 12:20:03 PST." <4.1.19981229121528.03d98ed0@hyperreal.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> I just upgraded to an ELF kernel, updated the boot blocks, and everything > boots up great, except the new boot loader appears to be looking for a > /boot/boot.conf (fails, then waits for 8 seconds, then boots /kernel). I > noticed I have a zero-length /boot.config file - should I move that to > /boot/boot.conf? Yeah, /boot.config is basically obsolete though it can still be used for its old purpose, I in fact still use it to set my rootdev since I haven't grok'd how to do that yet with the new scheme. /boot/boot.conf is supposed to contain any boot commands you'd like to have run (boot.conf is actually a bad name, now that I think about it, since it implies configuration variables rather than actions - boot.rc would have been better, oh well!). After the forth system initializes, it also looks for a /boot/boot.4th which contains straight forth code to run. Andrzej Bialecki has done some really neat stuff where this is concerned, giving the forth environment a screen emulator and standard ANSI graphics capability. He shows it off in the example code, which you can enable by simply doing a: cp /usr/share/examples/bootforth/*.4th /boot > I also noticed that although I had KERNFORMAT set to elf in my environment > and KERNFORMAT=elf in /etc/make.conf, while configing and then building the Hmmm.. That's really weird! You should only need to set it in /etc/make.conf - that certainly works for me. You sure there aren't any typos in the line? :-) - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8069.914964398>