From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767424AbXDFDMe (ORCPT ); Thu, 5 Apr 2007 23:12:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1767513AbXDFDMe (ORCPT ); Thu, 5 Apr 2007 23:12:34 -0400 Received: from nz-out-0506.google.com ([64.233.162.238]:23404 "EHLO nz-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767424AbXDFDMd (ORCPT ); Thu, 5 Apr 2007 23:12:33 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=Za7W00C3pmFRlpsReQwYt6XM0nT29eVuy/6cX04iQOTZIvW0iwg8SnOFFjWWCrlYkIOB2WthPiFmKi0GCKMZpx+djSrpWAF+1a8VYLIpXNa65Alm6xc4LFQirbpuWhM/p8YiViyRl1vb+9/gqnMtWzyOcfxRRvAwJgTQ0LKlj4o= Date: Fri, 6 Apr 2007 11:15:13 +0800 From: WANG Cong To: Michael Cc: "linux-os (Dick Johnson)" , linux-kernel@vger.kernel.org Subject: Re: set up new kernel with grub Message-ID: <20070406031513.GB2407@localhost.localdomain> Reply-To: WANG Cong Mail-Followup-To: Michael , "linux-os (Dick Johnson)" , linux-kernel@vger.kernel.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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.