configure GRUB to savedefault

Chris McKeever techjedi at gmail.com
Wed Jul 26 08:05:32 UTC 2006


I have tried to get fedora 5 to save the last booted kernel as the default -
Unfortunately, I have not had any success.

The following config *only* defaults to the first entry.
The only time I have gotten it to reboot to the second entry (outside
of manually selecting it) was when issue the following command in the
grub shell:

savedefault --default=1 --once
I couldnt even find documentation on this - is there any?  I have
tried combinations of these parameters to try to set the default, but
no luck.

I have also tried issuing the command: grubby --set-default=1
but that seems to change the default=saved to default=0

I was hoping to mimic the behaviour as outlined:
http://www.gnu.org/software/grub/manual/html_node/savedefault.html


default=saved
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora Core (2.6.15-1.2054_FC5)
        root (hd0,0)
        kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=/dev/VolGroup00/LogVol00
        initrd /initrd-2.6.15-1.2054_FC5.img
        savedefault
title Xen 3.0.2 / XenLinux 2.6.16
       root (hd0,0)
       kernel /xen.gz panic=30
       module /vmlinuz-2.6-xen ro root=/dev/VolGroup00/LogVol00
       module /initrd-xen-3.0.2.img
       savedefault

-- 
----------------------------------
please respond to the list .. if you need to contact me direct
cgmckeever is the account
prupref.com is the domain

<A href="http://www.prupref.com">Simply Chicago Real Estate</A>




More information about the fedora-list mailing list