From owner-freebsd-questions Thu Jan 4 08:57:18 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA15941 for questions-outgoing; Thu, 4 Jan 1996 08:57:18 -0800 (PST) Received: from chemserv.umd.edu (chemserv.umd.edu [129.2.64.40]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA15934 for ; Thu, 4 Jan 1996 08:57:14 -0800 (PST) Received: from cappuccino.eng.umd.edu (cappuccino.eng.umd.edu [129.2.98.14]) by chemserv.umd.edu (8.7.3/8.7) with ESMTP id LAA11297; Thu, 4 Jan 1996 11:54:44 -0500 (EST) Received: (chuckr@localhost) by cappuccino.eng.umd.edu (8.7.3/8.6.4) id LAA03780; Thu, 4 Jan 1996 11:54:48 -0500 (EST) Date: Thu, 4 Jan 1996 11:54:48 -0500 (EST) From: Chuck Robey X-Sender: chuckr@cappuccino.eng.umd.edu To: Alexei Nikolaevich Romanov cc: freebsd-questions@freebsd.org Subject: Re: Small, tiny question. In-Reply-To: <199601040125.BAA01583@albion.loach.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org Precedence: bulk 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!: