From owner-freebsd-questions@FreeBSD.ORG Mon Dec 1 07:34:49 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 747EA16A4CE for ; Mon, 1 Dec 2003 07:34:49 -0800 (PST) Received: from hotmail.com (sea1-dav67.sea1.hotmail.com [207.68.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B37143F93 for ; Mon, 1 Dec 2003 07:34:46 -0800 (PST) (envelope-from kenzo_chin@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 1 Dec 2003 07:34:46 -0800 Received: from 209.187.233.158 by sea1-dav67.sea1.hotmail.com with DAV; Mon, 01 Dec 2003 15:34:45 +0000 X-Originating-IP: [209.187.233.158] X-Originating-Email: [kenzo_chin@hotmail.com] From: "Kenzo" Cc: References: <200312011513.hB1FDwK01583@clunix.cl.msu.edu> Date: Mon, 1 Dec 2003 09:34:43 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-OriginalArrivalTime: 01 Dec 2003 15:34:46.0257 (UTC) FILETIME=[A6276610:01C3B820] Subject: Re: Compiling 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: Mon, 01 Dec 2003 15:34:49 -0000 What happened to make buildkernel KERNCONF=KERNEL make installkernel KERNCONF=KERNEL did this change in newer version or something? I thought the above was the new way of rebuilding a kernel. Am I not up to date? ----- Original Message ----- From: "Jerry McAllister" To: "Valerian Galeru" Cc: Sent: Monday, December 01, 2003 9:13 AM Subject: Re: Compiling the kernel > > > > I want to build a new kernel. I have edit the GENERIC > > file (like is written into the documentation). And > > when i run /usr/sbin/config > > /root/kernels/MYKERNEL(this is my kernel) i get a lot > > of errors Command not found. What is made wrong??? > > First of all, I presume you really used one line as > > /usr/sbin/config /root/kernels/MYKERNEL > > Not two separate command lines as it appears in your message. > > Secondly, did you make your copy of GENERIC in to the > same directory as GENERIC? That is the best idea. > > Third, on any of the FreeBSD systems I have worked on there is > no /root/kernels directory. (If this is something new with 5.x I > am off on this as I haven't built a 5.x yet) The kernel > config files are in: /usr/src/sys/i386/conf (or did you set up > some homebrew link?) So, I would expect that there is a file: > /usr/src/sys/i386/conf/MYKERNEL > > and the best way to run things is to > cd /usr/src/sys/i386/conf > cp GENERIC MYKERNEL > vi MYKERNEL (make whatever changes you need and write+exit vi) > /usr/sbin/config MYKERNEL > cd ../../compile/MYKERNEL > make depend > make > [make install] Only if you want the present kernel replaced > > Now if you have CVSUPed and etc, then you will want to follow those > instructions instead of merely building a kernel. Doing it > the above way is only if you are just changing the kernel config > and then recompiling. > > ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >