Thanks for the quick reply. The by name approach will make sure a
fixed entry is selected. If i understand the approach right it will not
make sure that the right kernel is booted. On Ubuntu kernel updates
new entries are automatically added. The by name approach will select
the older kernel
GRUB 2 has the option already; you just weren't using it. :-) Set
GRUB_DEFAULT to the *name* of a menu entry rather than its number.
I would rather not change the behaviour of numbers in GRUB_DEFAULT,
because (a) it's very messy to have something automatically modifying a
configuration file in