[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: upgrade sarge from 2.0 to 2.6



On Thu, 2005-03-17 at 15:10 +0100, Frank Gevaerts wrote:
> On Thu, Mar 17, 2005 at 09:59:53AM -0400, Tom Weller at Ambassador Computers wrote:
> > I am presently running Sarge with the 2.4 kernel, but wish to upgrade to the
> > version running the 2.6 kernel. Rather than re-install from the option 2.6 I
> > want to upgrade, and 2 days of research in the various documentation has
> > fallen short of the goal.
> > 
> > Any advice?
> 
> Just install a 2.6 kernel 
> apt-get install kernel-image-2.6-686 # replace the 686 by the correct
>    cpu variant, try "apt-cache search kernel-image-2.6" for more options
> 
> If you have a default sarge 2.4 kernel (i.e. not a self-compiled one)
> that should be all.

If you self-compile, then it's a lot like 2.4:
# apt-get install kernel-source-2.6.10 libncurses-dev libqt3-mt-dev
# cd /usr/src
# tar xvfj kernel-source-2.6.10.tar.bz2
# rmdir linux && ln -sf kernel-source-2.6.10 linux
# cd linux
# make clean
# make {x|menu}config
# make modules_install
# cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.xx
# cp System.map /boot/System.map-2.6.xx
# cp .config /boot/config-2.6.10
# vi /etc/lilo.conf  ## If you're Old School!
# lilo -v

Once you get a good kernel, then when next you upgrade, you'll be
able to run "make oldconfig".  It's glass-TTY, but makes it trivial
to retain existing config options.

-- 
-----------------------------------------------------------------
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B I prefer encrypted mail.

"I did not have sex with that woman."
Bill Clinton

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: