Subject: Re: compiling a new kernel?
To: None <current-users@NetBSD.ORG>
From: Michael Graff <>
List: current-users
Date: 08/18/1996 03:15:42
> I kinda new to netbsd and I've been using linux for sometime now.  How > do I go about compiling a new kernel?  I just finished unpacking the > > kernel source but don't know what to do from there, namely configuring > the options that I want.

The easiest way is to (assuming you're on an i386):
	cd /sys/arch/i386/conf
	vi FOO    (or whatever you wanna call it...  Just edit
		   this file to make it match your machine)
	/usr/sbin/config FOO
	cd ../compile/FOO
	make depend && make

sit back and relax.

If it builds,
	mv /netbsd /onetbsd
	mv netbsd /netbsd

and reboot.