LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   apt-get kernel question (https://www.linuxquestions.org/questions/linux-newbie-8/apt-get-kernel-question-328395/)

IchBin 05-29-2005 09:34 PM

apt-get kernel question
 
I recently upgraded my Tinysofa box with these commands.

apt-get update
apt-get dist-upgrade
apt-get install kernel#2.6.11-14ts

How do I make my machine run the new kernel? When I type uname -a it still says I'm using the older kernel. Tinysofa is a spin off of redhat btw.

simple 05-29-2005 09:39 PM

Re: apt-get kernel question
 
Quote:

Originally posted by IchBin
I recently upgraded my Tinysofa box with these commands.

apt-get update
apt-get dist-upgrade
apt-get install kernel#2.6.11-14ts

How do I make my machine run the new kernel? When I type uname -a it still says I'm using the older kernel. Tinysofa is a spin off of redhat btw.

are you using grub to boot? try
Code:

update-grub
and it should add the newley detected kernel to the boot menu
hope that helps

IchBin 05-30-2005 12:04 PM

Command not found. I looked in the grub.conf and has all the info for the new and old kernel. Do I have to remove the old kernel before the new one will take over?

JimBass 05-30-2005 05:39 PM

The kernel can't be changed while the machine is running. Switching to a new kernel is one of the very few things that linux actually requires a reboot for. If grub has the info for the new 2.6.11 kernel, all you need to do is reboot and let grub choose the 2.6.11 kernel.

Also, I wouldn't remove the old kernel info until you're sure the new one does everything you want. Even then, it is no problem to have multiple kernel choices, unless you're on the tiniest of small drives.

Peace,
JimBass

IchBin 05-30-2005 06:32 PM

Well I'm accessing this machine remotely. I'm going to assume that it's default choice would be the old kernel, since I did reboot it after I installed the new kernel. So I guess that all I need to do is change the default kernel in the grub.conf to the new one and reboot to see if it works?

IchBin 05-30-2005 07:00 PM

Woohoo! It worked! Now, I just have to find out how to delete the old kernel off of my machine.

funkydan2 05-30-2005 08:11 PM

apt-get remove kernel-2.4.29 or whatever will work.

daniel

IchBin 05-31-2005 12:08 AM

Thank you funkydan2!


All times are GMT -5. The time now is 12:03 AM.