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

Re: upgrade 1.3 -> 2.1 question



*- On 28 Sep, Bruno Melli wrote about "upgrade 1.3 -> 2.1 question"
> 
> I just upgraded (from CD) my 1.3 system to 2.1. 
> After installing 1.3 a couple of years ago I haven't done much
> sysadmin so I'm a little rusty when it comes to kernel
> configuration...
> 
> Everything seems to have updated OK but I'm puzzled that the machine 
> was never rebooted during the upgrade. 

Beautiful huh?  That is the one of Debian's selling points, in place
upgrades. The only reason you need to reboot is for a kernel
upgrade(see below).

 
> What is the mechanism to upgrade the kernel ? (I haven't
> kept up to speed with kernel version but I assume 2.1 uses a newer
> kernel than 1.3 did...)
> 

Since the kernel-image packages have the kernel version in the package
name and not just as a version, as in kernel-image-2.0.36_2.0.36-1.deb,
then if you had an earlier image installed it would not get upgraded
since it had a different package name.(ack, that was a long sentence)

Look in the list of available package for the kernel-image-2.0.??
packages and pick the one you want.  But remember that these have lots
of defaults compiled in and are not the best choices for a running
system.  You should really compile your own kernel.


> Does it mean that I have to upgrade the kernel sources and rebuild one
> (as well as making a new boot disk ?)
> 

Yes.  Look for the kernel-source-* packages and install it.  Also
install the kernel-package package(and its dependencies) and read the
documentation in /usr/doc/kernel-package and the man page for make-kpkg.
This will program will compile and build a Debian kernel-image package
for you so that you can install it with dpkg -i. 

If you want to run a 2.2.x version kernel you will have to grab the
prestine source from the net and read the threads on this list archive
about the issues of doing that.  But you can still use make-kpkg to
build a Debian kernel-image package.

HTH,
-- 
Brian 
---------------------------------------------------------------------
Mechanical Engineering                              servis@purdue.edu
Purdue University                   http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------


Reply to: