Re: configure GRUB to savedefault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 9:18 AM -0500 7/26/06, Chris McKeever wrote:
>On 7/26/06, Nigel J. Terry <nigel@xxxxxxxxxxxxxx> wrote:
>> 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
>
>I should have mentioned that I tried the various combinations (with
>the same non-results)
>default saved
>default=saved
>
>Nigel - are you using this same type of config and it yielding the
>correct results?
>
>any other suggestions?
>Thanks

Are you booting grub from hdo,0?  I wonder if the partition is mounted
read-only because of that?
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux