From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767627AbXDFNZk (ORCPT ); Fri, 6 Apr 2007 09:25:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1767628AbXDFNZk (ORCPT ); Fri, 6 Apr 2007 09:25:40 -0400 Received: from bay0-omc1-s28.bay0.hotmail.com ([65.54.246.100]:60054 "EHLO bay0-omc1-s28.bay0.hotmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767627AbXDFNZi (ORCPT ); Fri, 6 Apr 2007 09:25:38 -0400 Message-ID: X-Originating-IP: [74.116.160.187] X-Originating-Email: [gonwg@hotmail.com] From: "Michael" To: "WANG Cong" Cc: "linux-os \(Dick Johnson\)" , References: <20070406031513.GB2407@localhost.localdomain> Subject: Re: set up new kernel with grub Date: Fri, 6 Apr 2007 09:23:38 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-OriginalArrivalTime: 06 Apr 2007 13:25:38.0394 (UTC) FILETIME=[10DBD3A0:01C7784F] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, Wang, Thanks for replying. So which step is doing the compilation of each module , "make oldconfig" or "make" ? For compilation, I mean the step to compile the source code to .o file. Regards, Mike ----- Original Message ----- From: "WANG Cong" To: "Michael" Cc: "linux-os (Dick Johnson)" ; Sent: Thursday, April 05, 2007 10:15 PM Subject: Re: set up new kernel with grub > On Thu, Apr 05, 2007 at 12:28:03PM -0500, Michael wrote: >>Hi, Dick, >> >>Your steps work beautifully. Thanks. >> >>If you could explain a little about what happens in each step, that >>would be even better. >> >>> # cd /usr/src/linux-2.6.20.3 >>> If your current kernel is 2.6.20.3, edit the Makefile to >>> add some character after "EXTRAVERSION" as EXTRAVERSION= 3x >>> # cp .config .. > > Save your existing config file in the parent directory. > >>> # make distclean > > Clean the files generated by last compiling. > >>> # cp ../.config . > > Copy your .config back here. > >>> # make oldconfig > > "The make oldconfig command causes the kernel configuration process to > read in your existing configuration information and then prompt you > for a value for any kernel configuration variables that were not > provided set the existing kernel configuration file." > >>> # make > > Check all changed object files, and do the final kernel image link. > >>> # make modules_install > > Reinstall the newly-compiled modules. > >>> # make install > > Copy the kernel image and system.map to /boot and modify > /boot/grub/menu.lst (or lilo.conf) properly. > > > > - > To unsubscribe from this list: send the line "unsubscribe > linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ >