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

RE: Installing new kernel



Bob,

Excuse my ignorance,

When I recently upgraded my kernel,  I was told by a friend to do:

apt-get install kernel-source-version (in my instance kernel-source-2.4.18).

What is the difference between apt getting the kernel-image versus
kernel-source?  I noticed that the kernel-source d/l to /usr/src.  Then I
untarred it and went into the newly created dir and ran make.  I then
compiled the kernel and modules.  After doing that I ran "make dep && make
clean".  Then I did "make bzImage".  I then did "make modules" and then
"make modules_install".  Once that was all done I did "depmod -a".  

Once done I copied the System.map and bzImage files to the /boot dir and
then renamed them with appropriate names.  I then had to manually update
lilo.conf and then restart lilo.  Reboot and hey presto!  Is the way i've
done it wrong?  It seems to have worked for me, and it was advice I received
from a friend (a debian user), reading from several books and man pages.
Please let me know if i'm doing things wrong.  It does seem to have worked,
and corresponds to what I read in my books!  

Dave

-----Original Message-----
From: Bob Nielsen [mailto:nielsen@oz.net]
Sent: Monday, 9 September 2002 3:44 PM
To: debian-user@lists.debian.org; David Pastern
Subject: Re: Installing new kernel


 
On Tue, Sep 10, 2002 at 09:54:10AM +0530, J.S.Sahambi wrote:
> Sorry, I meant kernel-image-2.4.19-686 (I think this is the latest!)
> 
> Currently I have kernel  2.4.18-bf2.4. If I install the new kernel image
>   with the command:
> 
> apt-get install kernel-image-2.4.19-686 ,
> 
> 
> 1) will it install the kernel in a saparate dir and not mess up the dir
> of older kernel?

It will install the kernel in the same directory, /boot, but it will
have a unique name (vmlinuz-2.4.19-686).

> 
> 2) will it add one more item inthe lilo for the new kernel and so that
> In can select the older kernel at boot time, in case I want?

IIRC (I use grub), the older kernel gets labelled something like
OldLinux, while the new one will be Linux.  Grub will show many more
possibilities if the kernels exist.

> 
> 3) and will I be able to remove this new kerenl in case I want and still
> have the older kernel on the system.

Yes.

> 
> 4) do I have to install any other package apart from 
> kernel-image-2.4.19-686? like kernel-header, etc?

No (some self-compiled programs get the headers from kernel-headers or
kernel-source, however).


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: