LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 31
Modifying GRUB selections


Hello,
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
fouldsy
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
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
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
gizza23
Member
 
Registered: Jun 2005
Location: Chicago, IL, USA
Distribution: Fedora Core, CentOS
Posts: 188

Original Poster
Rep: Reputation: 31
Code:
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:47 AM.

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