Lucid Lynx and grub
Clay Weber
claydoh at midmaine.com
Sat May 1 22:22:21 UTC 2010
On Saturday, May 01, 2010 05:09:16 pm Mario Andes wrote:
> ...
>
> >> > This is probably what you need to add/edit to your
> >
> > /etc/default/grub
> >
> >> > As for GRUB_DEFAULT, this is what that option is supposed to
be
> >> > doing:
> >> >
> >> > "GRUB_DEFAULT=saved
> >> > The information in this section applies to GRUB 1.98 and
later.
> >> > Enables the "grub-reboot" and "grub-set-default" commands
to
> >
> > set
> >
> >> > the default OS.
> >> > The default OS will not be set by an interactive selection of an
OS
> >> > from the menu.
> >> > grub-set-default Sets the default boot entry until changed.
> >> > The format is sudo grub-set-default X, with X being the
> >
> > menuentry
> >
> >> > position (starting with 0 as the first entry) or the exact menu
> >
> > string.
> >
> >> > Examples: sudo grub-set-default 3 or sudo grub-set-default
> >
> > "Ubuntu,
> >
> >> > Linux 2.6.32-15-generic"
> >> > To obtain the existing menuentry choice number (starting
from 0)
> >
> > or
> >
> >> > the menuentry "string", run grep menuentry
/boot/grub/grub.cfg"
> >> >
> >> > Note the version used above:" 1.98 or above". Karmic uses
grub
> >
> > 1.97,
> >
> >> > and Lucid is using 1.98, so this is probably why you are
seeing
> >
> > this
> >
> >> > change in behavior.
> >> >
> >> > clay
> >
> > Add it to /etc/default grub, you can just put the line:
> > GRUB_SAVEDEFAULT=true
> > above the GRUB_DEFAULT line, save, and run update-grub
> >
> > clay
>
> Clay, I added it but nothing has changed. Grub selects always the
first
> entry.
> If Lucid uses 1.98 why hasn't it been changed with the upgrade
from 09.10?
>
> Mario
I don't currently have another OS installed to test with :(
Perhaps put a "#" in front of the GRUB_DEFAULT line (which will
hopefully turn off the option it is setting) and re-reun 'sudo update-
grub'
clay
More information about the kubuntu-users
mailing list