LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   2 kernels on start up (https://www.linuxquestions.org/questions/linux-newbie-8/2-kernels-on-start-up-718706/)

igsen 04-12-2009 11:53 PM

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?

linuxlover.chaitanya 04-13-2009 12:00 AM

Remove the option from menu.lst file in /boot/grub. It would not show the option in boot menu after that.

jdkaye 04-13-2009 12:14 AM

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

igsen 04-13-2009 12:30 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3506959)
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!

AlucardZero 04-13-2009 11:11 AM

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-).

jdkaye 04-13-2009 11:47 AM

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


All times are GMT -5. The time now is 10:27 PM.