Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After i did a update using Redhat Network, I have more then one version of kernel. I have 2.4.18-3 , 2.4.18-3 debug, 2.4.18-4 ,2.4.18-4 debug.
After doing another update a week or more later ,new version of kernel was updated and now i got 3 kernels for me to choose when i boot up my system. 2.4.18-5, 2.4.18-5 debug.
A few qns.
i don't need 3 kernels, i will like to keep only the latest one so when i boot up the system i will only have one choice. How can i do that? Which files should i edit?
What is the diiference between 2.4.18-5 and 2.4.18-5debug?? Likewise for the above 2 version? What is the debug about? Should i choose the debug version to login ? or just the version without the word "debug" behind it?
if you use lilo, you can check your /etc/lilo.conf and edit. If you want to totally remove the older image to free up space which is located in your /boot you can refer to the /etc/lilo.conf for the older image.
You said remove issit just edit the text below?
How about the different between the version with and without the word debug?
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-5debug)
root (hd0,0)
kernel /vmlinuz-2.4.18-5debug ro root=/dev/hda2
initrd /initrd-2.4.18-5debug.img
title Red Hat Linux (2.4.18-5)
root (hd0,0)
kernel /vmlinuz-2.4.18-5 ro root=/dev/hda2
initrd /initrd-2.4.18-5.img
title Red Hat Linux (2.4.18-4debug)
root (hd0,0)
kernel /vmlinuz-2.4.18-4debug ro root=/dev/hda2
initrd /initrd-2.4.18-4debug.img
title Red Hat Linux (2.4.18-4)
root (hd0,0)
kernel /vmlinuz-2.4.18-4 ro root=/dev/hda2
initrd /initrd-2.4.18-4.img
title Red Hat Linux (2.4.18-3)
root (hd0,0)
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda2
initrd /initrd-2.4.18-3.img
You just need to edit out the entried for the kernels you dont need. No need to run grub afterwards. With lilo there is.
To be safe I would make a copy of grub.conf just for safety.
2.4.18 is the latest stable kernel.
dude, erase all except the 2.4.18-5 if it's working fine. Delete the Debug one, you don't need it, and just boot the 2.4.18-5, that's all your need to do.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.