LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 02-21-2006, 02:25 PM   #1
LasseBob
LQ Newbie
 
Registered: Jan 2004
Posts: 8

Rep: Reputation: 0
Missing grub-set-default?


Hi

I am running Fedora Core 4 with grub 0.95 installed. Since i want to test a new kernel i want to be able to boot that kernel once and then return to the default kernel. In the grub documentation it is written that i should use the grub-set-default and a setting in menu.1st. But i can't find the grub-set-default program??

Best regards,
Lasse
 
Old 02-21-2006, 05:26 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
You are probably thinking of the grub command savedefault. That is a grub internal command. I checked the grub documentation in the info utility and this is the closest that I came to what you asked.

The menu file is named menu.lst, not menu.1st.

There is a grub utility that you run from the Linux command line called grub-install. Maybe that is what you meant.

In my experience the savedefault command doesn't work. I always have to edit the menu.lst file to change the default entry. When you edit the menu.lst file you don't have to do anything else. The grub-install program is just for putting the grub boot code onto the MBR.

Last edited by stress_junkie; 02-21-2006 at 05:32 PM.
 
Old 03-08-2006, 10:12 PM   #3
orangepics
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Hi, I'd like to do the same as Lasse. I've found that there is in fact a command called "grub-set-default" it's documented on the gnu website, I'd post a link but this silly forum won't let me. Also I've learned that this command is not available until grub 0.96 (again I cannot post a link to that reference). FC4 uses 0.95

Can anyone recommend a way to test out a kernel on a remote FC4 machine that I don't have physical access to and cannot operate the grub menu during boot?

Thanks for any help on this.
Chris Brown
 
  


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
grub-set-default missing Paulsuk Linux - Software 3 02-08-2006 08:18 PM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 08:01 PM
How do I set default in GNU GRUB? akilhoffer Linux - Newbie 11 09-01-2004 06:17 AM
missing enlightenment default theme shrndegruv Linux - Software 1 06-03-2004 09:30 AM
How to set the default WM beajedi Linux - General 6 02-20-2004 02:17 PM


All times are GMT -5. The time now is 05:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration