LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-29-2005, 10:34 PM   #1
IchBin
Member
 
Registered: Dec 2004
Distribution: Tinysofa Classic
Posts: 75

Rep: Reputation: 15
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.
 
Old 05-29-2005, 10:39 PM   #2
simple
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Ubuntu 5.04
Posts: 89

Rep: Reputation: 15
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
 
Old 05-30-2005, 01:04 PM   #3
IchBin
Member
 
Registered: Dec 2004
Distribution: Tinysofa Classic
Posts: 75

Original Poster
Rep: Reputation: 15
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?
 
Old 05-30-2005, 06:39 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
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

Last edited by JimBass; 05-30-2005 at 06:40 PM.
 
Old 05-30-2005, 07:32 PM   #5
IchBin
Member
 
Registered: Dec 2004
Distribution: Tinysofa Classic
Posts: 75

Original Poster
Rep: Reputation: 15
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?
 
Old 05-30-2005, 08:00 PM   #6
IchBin
Member
 
Registered: Dec 2004
Distribution: Tinysofa Classic
Posts: 75

Original Poster
Rep: Reputation: 15
Woohoo! It worked! Now, I just have to find out how to delete the old kernel off of my machine.
 
Old 05-30-2005, 09:11 PM   #7
funkydan2
Member
 
Registered: Mar 2004
Location: Brisbane, Australia
Distribution: VectorLinux; Ubuntu
Posts: 135

Rep: Reputation: 15
apt-get remove kernel-2.4.29 or whatever will work.

daniel
 
Old 05-31-2005, 01:08 AM   #8
IchBin
Member
 
Registered: Dec 2004
Distribution: Tinysofa Classic
Posts: 75

Original Poster
Rep: Reputation: 15
Thank you funkydan2!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a question about apt MaTrIx709 Debian 2 11-13-2005 10:27 AM
question about apt-get impakt Debian 3 05-29-2005 01:02 PM
question on apt-get insyte Debian 7 08-16-2004 11:50 AM
Yet Another Apt-Get Question akk Linux - Newbie 1 03-28-2004 03:44 AM
apt-get, Kernel, and grub question neozero62 Linux - Newbie 2 11-01-2003 11:57 PM


All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration