Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-12-2005, 02:48 PM   #1
Registered: Jun 2005
Location: Chicago, IL, USA
Distribution: Fedora Core, CentOS
Posts: 188

Rep: Reputation: 31
Modifying GRUB selections

I have a problem with booting GRUB. It seems that since I've updated the kernel there have been some leftover entries in the boot loader. When I reboot my machine there are 3 kernels to pick from but only one is valid. This valid selection is on the bottom and the invalid one, which is on the top, is being loaded. To sum it up: How do I modify GRUB so that the older kernels are below the valid kernel or they don't appear during the boot? I like to step away from the computer during boot from time to time.
Old 07-12-2005, 03:11 PM   #2
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
Edit "/boot/grub/menu.lst" and remove the lines for the older kernels that are not needed anymore
Old 07-12-2005, 03:15 PM   #3
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Edit the /boot/grub/grub.conf ( or menu.lst if that's what you use in Fedora) in a text editor. Cut and paste the menu entries to get them in the order you want. You will have to be root to do this.

As user, open a term window and enter the command: xhost +localhost
Then su to root, and start up any editor you want from the command line, with root privilege and gui (the xhost command allows more than one user to have gui with the logged in user's environment).

Last edited by bigrigdriver; 07-12-2005 at 03:17 PM.
Old 07-13-2005, 07:19 AM   #4
Registered: Jun 2005
Location: Chicago, IL, USA
Distribution: Fedora Core, CentOS
Posts: 188

Original Poster
Rep: Reputation: 31
vi /boot/grub/menu.lst
This worked for me. I don't know if this is something particular to FC but it worked. Both gave the same configuration output but I only tested the first. Thanks for the help !

Last edited by gizza23; 07-13-2005 at 07:27 AM.


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
Gimp help - selections cneedham Linux - Newbie 1 02-19-2005 02:01 AM
Is there a way to change which kernel/os boots without modifying grub.conf? niverson Linux - Software 2 01-05-2005 04:14 PM
grub time out - selections CloudBuilder Linux - Newbie 5 09-16-2003 04:04 PM
modifying grub bootloader w/ gui (rh8) skitxoz Linux - Newbie 3 06-17-2003 11:33 PM
Modifying Red Hat 7.3 Grub conf. file nixdisciple Linux - General 4 06-02-2002 10:37 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration