Lucid Lynx and grub

Tom H tomh0665 at gmail.com
Sun May 2 19:02:30 BST 2010


On Sun, May 2, 2010 at 7:59 AM, 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

Setting
GRUB_DEFAULT=
makes it default to 0
because of the following
if [ "x${GRUB_DEFAULT}" = "x" ] ; then GRUB_DEFAULT=0 ; fi
in
/etc/grub.d/00_header



More information about the kubuntu-users mailing list