LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Missing grub-set-default? (https://www.linuxquestions.org/questions/linux-software-2/missing-grub-set-default-418090/)

LasseBob 02-21-2006 02:25 PM

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

stress_junkie 02-21-2006 05:26 PM

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.

orangepics 03-08-2006 10:12 PM

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


All times are GMT -5. The time now is 09:59 PM.