From owner-freebsd-current Sun Dec 27 21:17:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA22498 for freebsd-current-outgoing; Sun, 27 Dec 1998 21:17:23 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA22490 for ; Sun, 27 Dec 1998 21:17:19 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.1/8.9.1/Netplex) with ESMTP id NAA62868; Mon, 28 Dec 1998 13:16:40 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199812280516.NAA62868@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: "Jordan K. Hubbard" cc: Greg Lehey , FreeBSD current users Subject: Re: How do I build an a.out kld? In-reply-to: Your message of "Sun, 27 Dec 1998 20:33:38 PST." <14069.914819618@zippy.cdrom.com> Date: Mon, 28 Dec 1998 13:16:39 +0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "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