Lucid Lynx and grub

Mario Andes multilingus at gmx.de
Sun May 2 19:00:20 UTC 2010


On Sun, 02 May 2010 17:46:07 +0200, Clay Weber <claydoh at midmaine.com>  
wrote:

> Mario Andes wrote:
>> Hi Clay,
>>
>> I commented out the GRUB_DEFAULT=option
>> and inserted GRUB_SAVEDEFAULT=true
>> Before I installed the alternate version of Lucid.
>> The system works better even if it forgets the last programs I used.
>> The default system problem hasn't changed with the new constant.
>> It's really amazing that this good working mechanism of starting
>> automatically the last system used was abandonned!
>> It seems that this comfort existed only n for Karmic...
>> Regards
>> Mario
>>
>> On Sun, 02 May 2010 13:59:20 +0200, Clay Weber<claydoh at midmaine.com>
>> wrote:
>>
>>> Tom H wrote:
>>>> On Sat, May 1, 2010 at 3:59 PM, Mario Andes<multilingus at gmx.de>    
>>>> wrote:
>>>>>
>>>>> this constant isn't set! not in /etc/default/grub nor
>>>>> /boot/grub/grub.cfg!
>>>>>
>>>>> Where shall I add the definition of this constant?
>>>>
>>>> GRUB_SAVEDEFAULT is set in /etc/default/grub, exported by
>>>> /usr/sbin/grub-mkconfig and used by /usr/lib/grub/grub-mkconfig_lib.
>>>>
>>>> The only way that I have been able to make the last menu selection
>>>> stick is with /usr/sbin/grub-set-default
>>>>
>>>> Usage:
>>>> grub-set-default<menu_entry_number>
>>>>
>>>> If you want to default to the 2nd menu entry:
>>>> grub-set-default 1
>>>> (the count starts at 0)
>>>>
>>>
>>> Which is why I suggested disabling the GRUB_DEFAULT= option and add in
>>> the GRUB_SAVEDEFAULT=true option
>>>
>>> clay
>>>
>>
>>
>
> No it is a bug you have, nothing was abandoned (on purpose that is).
> https://bugs.launchpad.net/ubuntu/+source/grub is where you can submit a
> bug report for grub. I do not see any similar bug reports on this in
> there. I will set up a dual boot tonight and see if I can reproduce this
> on a Karmic to lucid upgraded machine and a cleanly installed one.
>
> clay
>
Hi Clay,

I got it.

There miust be both constants at the same time:
GRUB_DEFAULT=saved
and
GRUB_SAVEDEFAULT=true

Now everything works fine again.

Thank you all for your help

Regards
Mario


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/




More information about the kubuntu-users mailing list