Fedora This forum is for the discussion of the Fedora Project. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
04-25-2004, 09:14 AM
|
#1
|
LQ Newbie
Registered: Apr 2004
Posts: 5
Rep:
|
How do I remove old kernels from boot loader?
I apologize if this has been asked before. I looked through the past eight pages of threads, and didn't see anything on the matter.
Anyhow, I've updated my kernel twice since I made a clean install of FC1 onto my computer. When I boot up, it gives me three options on how to boot up. I'm perfectly happy with the most recent kernel, and would like to remove the option to boot into the other two kernels. If anyone can help, I would be extremely grateful.
Let me know if you need any hardware information or logs.
|
|
|
04-25-2004, 09:21 AM
|
#2
|
Member
Registered: Mar 2004
Location: Jinhua, People's Republic of China
Distribution: MDK, RH, KNPX
Posts: 161
Rep:
|
Tell me, oh tell me please, what boot loader are you using?
If you are using Grub, go to /boot/grub and modift grub.conf. You can take out the kernels you don't want to show up in Grub.
Procedur efor Lilo is the same, except you are looking for /boot/lilo and the file is called lilo.conf (I think)...
|
|
|
04-25-2004, 09:30 AM
|
#3
|
LQ Newbie
Registered: Apr 2004
Posts: 5
Original Poster
Rep:
|
Thanks profjohn. Your advice worked.
P.S. How did I forget to include that I'm booting Grub?
|
|
|
04-25-2004, 12:57 PM
|
#4
|
Member
Registered: Oct 2003
Location: Reno, NV
Distribution: Fedora Core 3
Posts: 88
Rep:
|
If you installed your kernels with rpm, you should be able to remove them with rpm, and the rpm config should also remove them from grub.conf.
|
|
|
04-26-2004, 01:03 AM
|
#5
|
LQ Newbie
Registered: Apr 2004
Posts: 1
Rep:
|
Bro, I think use the easy way...
eg. rpm -e kernel-2.4.22-1.2115.nptl
got it....thx guys i like this forum..
|
|
|
04-26-2004, 11:56 AM
|
#6
|
Senior Member
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103
Rep:
|
my grub.conf is under /etc/grub.conf not /boot... but yes that's all you need to do is edit that with VIM and delete the lines....
|
|
|
04-26-2004, 12:00 PM
|
#7
|
Member
Registered: Oct 2003
Location: Reno, NV
Distribution: Fedora Core 3
Posts: 88
Rep:
|
[ed@localhost /etc]$ls -l /etc/grub.conf
lrwxrwxrwx 1 root root 22 Mar 24 15:11 /etc/grub.conf -> ../boot/grub/grub.conf
[ed@localhost /etc]$
|
|
|
04-26-2004, 12:30 PM
|
#8
|
Senior Member
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103
Rep:
|
ahh... yes... they are linked... i forgot... my apologies...
|
|
|
All times are GMT -5. The time now is 12:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|