mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: WANG Cong <xiyou.wangcong@gmail.com>
To: Michael <gonwg@hotmail.com>
Cc: "linux-os (Dick Johnson)" <linux-os@analogic.com>,
	linux-kernel@vger.kernel.org
Subject: Re: set up new kernel with grub
Date: Fri, 6 Apr 2007 11:15:13 +0800	[thread overview]
Message-ID: <20070406031513.GB2407@localhost.localdomain> (raw)
In-Reply-To: <BAY113-DAV11F86E1B1E91A799AB05E9B9650@phx.gbl>

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.




  reply	other threads:[~2007-04-06  3:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-04 16:36 Michael
2007-04-04 15:53 ` linux-os (Dick Johnson)
2007-04-05 17:28   ` Michael
2007-04-06  3:15     ` WANG Cong [this message]
2007-04-06 14:23       ` Michael
2007-04-06 13:34         ` WANG Cong
     [not found] <fa.BNamKVxrrt25RRODKJNDbnxNoSs@ifi.uio.no>
2007-04-04 23:34 ` Robert Hancock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070406031513.GB2407@localhost.localdomain \
    --to=xiyou.wangcong@gmail.com \
    --cc=gonwg@hotmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-os@analogic.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®