LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-12-2009, 11:53 PM   #1
igsen
Member
 
Registered: Mar 2009
Location: Phil. Is.
Distribution: Ubuntu 10.04, Debian 6
Posts: 78

Rep: Reputation: 15
2 kernels on start up


Ok, I installed Debian (lenny ) on my computer. I did an apt-get update,
apt-get upgrade and apt-get dist-upgrade. After that I run into this at start up:
The computer is asking for what kernel to use

Quote:
DebianGNU/Linux, kernel 2.6.26-2-686
DebianGNU/Linux, kernel 2.6.26-2-686(single user mode)
DebianGNU/Linux, kernel 2.6.26-1-686
DebianGNU/Linux, kernel 2.6.26-1-686(single user mode)
I understand that kernel 2.6.26-1-686 is the stable version. Now I want to get back to this and remove 2.6.26-2-686. How will I do this?
 
Old 04-13-2009, 12:00 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Remove the option from menu.lst file in /boot/grub. It would not show the option in boot menu after that.
 
Old 04-13-2009, 12:14 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Hi igsen,
You are quite wrong. The current Lenny kernel is:
Quote:
Package linux-image-2.6.26-2-686

* lenny (stable) (admin): Linux 2.6.26 image on PPro/Celeron/PII/PIII/P4
2.6.26-15: i386
In any event you don't have to remove anything. If you really want to run the 2.6.26-1-686 kernel then just select that when the grub menu comes up on bootup.
If you really want to remove a kernel-image then
Code:
sudo aptitude purge [name of kernel package]
should do the job.
Cheers,
jdk
 
Old 04-13-2009, 12:30 AM   #4
igsen
Member
 
Registered: Mar 2009
Location: Phil. Is.
Distribution: Ubuntu 10.04, Debian 6
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linuxlover.chaitanya View Post
Remove the option from menu.lst file in /boot/grub. It would not show the option in boot menu after that.
I was able to find this file thru root terminal and about to delete the the other kernel but I reconsider when I saw jdkaye's post. thanks!
 
Old 04-13-2009, 11:11 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,822

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
The kernel is occasionally updated, even in stable, usually to fix security issues. This is normal. You will not see the kernel minor number (.26.) increase unless you specifically install a later kernel, but you will see the revision change (-2-).
 
Old 04-13-2009, 11:47 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Hi igsen,
At this point I would suggest you stick with the 2.6.26-2 on your grub menu. If you have any problems with it (I've been running it for a while now and I don't have any) you can always switch back to 2.6.26-1.
cheers,
jdk
 
  


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
Please tell me where to start first for codewalk in linux kernels Kesavaraj Linux - Kernel 1 07-11-2008 03:51 AM
backward compatibility in kernels + custom kernels + more queries mmp_3341 Linux - Kernel 1 04-12-2007 07:28 AM
different kernels master Slackware 8 09-27-2004 03:27 PM
RH 8 kernels and their relation to 'stock' kernels psweetma Linux - Distributions 1 03-29-2003 10:46 PM
kernels The Jakale Linux - Newbie 7 03-03-2002 08:46 AM


All times are GMT -5. The time now is 09:50 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