From owner-freebsd-questions@FreeBSD.ORG Thu May 20 08:10:10 2004 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 6718816A4CE for ; Thu, 20 May 2004 08:10:10 -0700 (PDT) Received: from web40303.mail.yahoo.com (web40303.mail.yahoo.com [66.218.78.82]) by mx1.FreeBSD.org (Postfix) with SMTP id 4150343D1F for ; Thu, 20 May 2004 08:10:10 -0700 (PDT) (envelope-from satimis@yahoo.com) Message-ID: <20040520151009.54166.qmail@web40303.mail.yahoo.com> Received: from [203.88.168.195] by web40303.mail.yahoo.com via HTTP; Thu, 20 May 2004 23:10:09 CST Date: Thu, 20 May 2004 23:10:09 +0800 (CST) From: =?iso-8859-1?q?Stephen=20Liu?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Correct steps to recompile 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: Thu, 20 May 2004 15:10:10 -0000 Hi all folks, FreeBSD 5.2 =========== I am trying to learn recompiling kernel. I visited following link; http://www.freebsd.org/doc/en_US.IS...g-building.html But I am still not very clear of the correct steps to be taken. I suppose taking following steps # cd /usr/src/sys/i386/conf # cp GENERIC GENERIC.bak # cp GENERIC MYKERNEL # ee MYKERNEL (modifying the kernel) # config MYKERNEL # cd /usr/src/sys/i386/compile/MYKERNEL (Are the above directories correct???) # make depend # make # make install check /etc/rc.conf to have the line: linux_enable="YES" reboot PC Any further steps needed to be taken thereafter? If I am wrong please correct me. TIA B.R. Stephen Liu _______________________________________________________________________ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk