Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 1999 11:02:22 -0500 (EST)
From:      Alfred Perlstein <bright@hotjobs.com>
To:        Ying-Chieh Liao <ijliao@dragon2.net>
Cc:        Joss Roots <root@isis.dynip.com>, freebsd-current@FreeBSD.ORG
Subject:   Re: How to Build & Run ELF Kernel
Message-ID:  <Pine.BSF.4.05.9901061100060.37756-100000@bright.fx.genx.net>
In-Reply-To: <19990106234354.A26489@terry.dragon2.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 6 Jan 1999, Ying-Chieh Liao wrote:

> On Wed, Jan 06, 1999 at 18:20:19 +0300, Joss Roots wrote:
> > any pointers to docs, etc, is highly appreciated
> 
> put this in your /etc/make.conf
> KERNFORMAT=	elf
> 
> then, 
> cd /sys/i386/conf ; config -r MYKERNEL ; cd ../../compile/MYKERNEL
> make depend all install

You should also be aware that you need to install the new bootblocks,
after a make world:

disklabel -B -b /boot/boot1 -s /boot/boot2 <disk>

disk is wd0, wd1, sd2 etc..., although could anyone clarify for me if it's
possible just to do update boot1 without messing with the boot sector?

or does disklabel not even really touch that?

-Alfred


> -- 
> mailto:ijliao@dragon2.net?subject="send pgp key" to get my pgp public key
> key finger print : FA 38 7E 91 FA 22 FA F6  63 04 E3 B5 A1 9F 0C CD
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 


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?Pine.BSF.4.05.9901061100060.37756-100000>