Re: set up new kernel with grub

From: Michael
Date: Thu Apr 05 2007 - 12:30:35 EST


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 ..
# make distclean
# cp ../.config .
# make oldconfig
# make
# make modules_install
# make install


Regards,

Mike


----- Original Message ----- From: "linux-os (Dick Johnson)" <linux-os@xxxxxxxxxxxx>
To: "Michael" <gonwg@xxxxxxxxxxx>
Cc: <linux-kernel@xxxxxxxxxxxxxxx>
Sent: Wednesday, April 04, 2007 10:53 AM
Subject: Re: set up new kernel with grub



On Wed, 4 Apr 2007, Michael wrote:

Hi,

I compiled a new kernel: 2.6.20.3, and hope to test it without removing
my old kernel.

You don't need to remove your old kernel. Log in as root.

# 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 ..
# make distclean
# cp ../.config .
# make oldconfig
# make
# make modules_install
# make install

The result will put the new kernel in the GRUB menu so you can
always go back to the old one if the new one doesn't work.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.16.24 on an i686 machine (5592.65 BogoMips).
New book: http://www.AbominableFirebug.com/
_


****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@xxxxxxxxxxxx - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/