configure GRUB to savedefault
Nigel J. Terry
nigel at nigelterry.net
Wed Jul 26 11:31:33 UTC 2006
On Wed, 2006-07-26 at 03:05 -0500, Chris McKeever wrote:
> 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
>
Try
default saved
instead of
default=saved
More information about the fedora-list
mailing list