From owner-freebsd-questions@FreeBSD.ORG Tue Sep 16 16:53:29 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F66A16A4E5 for ; Tue, 16 Sep 2003 16:53:28 -0700 (PDT) Received: from mail.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 612D844266 for ; Tue, 16 Sep 2003 16:29:15 -0700 (PDT) (envelope-from judmarc@fastmail.fm) Received: from mail.messagingengine.com (localhost [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 8593C1D7CF3; Tue, 16 Sep 2003 19:27:47 -0400 (EDT) Received: from 10.202.2.150 ([10.202.2.150] helo=mail.messagingengine.com) by messagingengine.com with SMTP; Tue, 16 Sep 2003 19:27:47 -0400 X-Mail-from: judmarc@fastmail.fm X-Epoch: 1063754867 X-Sasl-enc: nd+ITqKcDJXjIAzvsRBNCw Received: from sparky (dialup-67.74.79.249.Dial1.Philadelphia1.Level3.net [67.74.79.249]) by mail.messagingengine.com (Postfix) with ESMTP id 79CB61D7CC8; Tue, 16 Sep 2003 19:27:44 -0400 (EDT) To: Charles Howse , 'Nathan Kinkade' , 'Mark Luxton' References: <003601c37c8f$cfe8e4a0$04fea8c0@moe> Message-ID: From: Jud Content-Type: text/plain; format=flowed; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Tue, 16 Sep 2003 19:27:43 -0400 In-Reply-To: <003601c37c8f$cfe8e4a0$04fea8c0@moe> User-Agent: Opera7.20/Win32 M2 build 3122 cc: freebsd-questions@freebsd.org Subject: Re: Rebuilding the Kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 23:53:30 -0000 On Tue, 16 Sep 2003 15:19:20 -0500, Charles Howse wrote: >> > So I can get it right in my head (now there's a challenge). >> The correct >> > steps for building a custom kernel is: >> > >> > 1) update sources >> > 2) rm -rf /usr/obj/* >> > 3) make buildworld >> > 4) edit kernel config file >> > 5) make buildkernel >> > 6) make installkernel >> > 7) reboot >> > 8) make installworld >> > 9) mergemaster >> > >> > Many Thanks >> > >> > Mark. >> >> I believe that's mostly it, but there are smaller steps that may be >> important inbetween, like doing `chflags' on /usr/obj/* >> before removing >> the files - all this is in the manual, though. The steps outlined >> above are in the handbook - in that order. Take another look at the >> handbook and if you still have problem reply with specific issues. > > Here's a real good article. > http://bsdvault.net/sections.php?op=viewarticle&artid=21 # cd /usr/obj # chflags -R noschg * # rm -rf * One other step between removing the old /usr/obj and making buildworld: # mergemaster -p Jud