Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 1996 11:54:48 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        Alexei Nikolaevich Romanov <alexei@loach.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Small, tiny question.
Message-ID:  <Pine.SUN.3.91.960104114221.3283D-100000@cappuccino.eng.umd.edu>
In-Reply-To: <199601040125.BAA01583@albion.loach.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Jan 1996, Alexei Nikolaevich Romanov wrote:

> Is there a quick guide to completely rebuilding the OS using the make world
> mechanism of the source tree?  Any caveats that need to be known?  Anyone?
> Anyone?  Bueller? :)   Any advice is appreciated!

Take a look at the handbook, it's got a section on making your kernel 
config file that's pretty useable.  Beware, if you have an older copy of 
the handbook, it had a mistake in it that made many think it was ok to 
drop the npx0 device.  It's a mandatory device, so don't disable it or 
you just won't get a good compile (you'll get linking error messages).

After you are happy with the config file, use the config utility to make 
a build directory for it.  You MUST do it that way, because config does 
many other things for you too.  Then cd into the directory that config 
tells you it has created, do a make depend, then a make.  If you don't 
see any error messages, you can install this new kernel in your system 
with a make install.  If you then get a error rebooting and want to go 
back to your old kernel, it's still there, just respond to the boot 
prompt with the filename "kernel.old" and you'll be back where you were.  
You might want to save that kernel.old then, to make room, because  a 
second make install (of a fixed kernel) will write the bad kernel into 
kernel.old.  I usually keep an 'emerg'ency file in my root, to which I 
always copy my last good kernel, as a safety line.

> 
> 	-Alexei
> 

============================================================================
Chuck Robey chuckr@eng.umd.edu -- I run FreeBSD on n3lxx and Journey2
---------------------------------------------------------------------------
The Dilbert Zone is Dilbert's new WWW home! The area
features never-before-seen original sketches of Dilbert, a photo tour
of Scott Adams' studio, Dilbert Trivia and memorabilia, high
school photos and much more!:
<URL:http://www.unitedmedia.com/comics/dilbert/>;




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.960104114221.3283D-100000>