LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-25-2004, 09:14 AM   #1
XryanX
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Rep: Reputation: 0
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.
 
Old 04-25-2004, 09:21 AM   #2
profjohn
Member
 
Registered: Mar 2004
Location: Jinhua, People's Republic of China
Distribution: MDK, RH, KNPX
Posts: 161

Rep: Reputation: 30
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)...
 
Old 04-25-2004, 09:30 AM   #3
XryanX
LQ Newbie
 
Registered: Apr 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks profjohn. Your advice worked.

P.S. How did I forget to include that I'm booting Grub?
 
Old 04-25-2004, 12:57 PM   #4
Ed-MtnBiker
Member
 
Registered: Oct 2003
Location: Reno, NV
Distribution: Fedora Core 3
Posts: 88

Rep: Reputation: 15
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.
 
Old 04-26-2004, 01:03 AM   #5
KiDZ
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
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..
 
Old 04-26-2004, 11:56 AM   #6
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
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....
 
Old 04-26-2004, 12:00 PM   #7
Ed-MtnBiker
Member
 
Registered: Oct 2003
Location: Reno, NV
Distribution: Fedora Core 3
Posts: 88

Rep: Reputation: 15
[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]$
 
Old 04-26-2004, 12:30 PM   #8
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
ahh... yes... they are linked... i forgot... my apologies...
 
  


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
Fedora Remove and restoring windows MBR boot loader eng_muhammad Fedora 3 12-03-2005 01:39 PM
How do I remove the windows boot loader? sureshot324 Linux - Software 2 10-27-2005 02:29 PM
remove boot loader mchitrakar Linux - Software 1 10-12-2005 06:22 AM
how to remove the winXP boot loader? Thinking Linux - Software 4 10-08-2005 08:43 PM
How can I remove Grub boot loader? TechSonic Linux - Newbie 7 08-06-2005 04:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12: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
Open Source Consulting | Domain Registration