Date: Mon, 28 Dec 1998 13:16:39 +0800 From: Peter Wemm <peter@netplex.com.au> To: "Jordan K. Hubbard" <jkh@zippy.cdrom.com> 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: <199812280516.NAA62868@spinner.netplex.com.au> In-Reply-To: Your message of "Sun, 27 Dec 1998 20:33:38 PST." <14069.914819618@zippy.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Jordan K. Hubbard" wrote: > > 1. I can build an ELF kernel. My understanding is that this will > > also require me to install the new style boot blocks. Correct? > > If so, is there any documentation on what to do here? > > Correct. > > 1. cd /sys/boot && make all install > 2. disklabel -B da0 (or whatever your boot disk is). Not neccessarily necessary. :-) Just try typing: /boot/loader at the boot: prompt of your existing bootblocks. All things being equal, it should work. If it does, and your bootblocks are new enough to know about /boot.config, you can tell the bootblocks to load the /boot/loader ``kernel'' instead. :-) Apparently, the older 2.1 and maybe 2.2.[12] bootblocks don't like the /boot/loader for some reason - I'd like to know why so this can be fixed. Any ideas anyone? :-) When you get to the loader, you have a command prompt. You can do things like this: boot /kernel # load and start /kernel boot /kernel.old -s # load /kernel.old and start it in single user load kernel # load /kernel load vinum # then load /modules/vinum.ko boot -s # then start in single user. Cheers, -Peter 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?199812280516.NAA62868>
