save default working with Grub 1.98 ?
Hello,
I installed last year Grub2 from Debian 'experimental' repository to
get « default=saved » feature, it worked well, and recently I updated it to 1.98 release (from official « unstable » repository), and now I get a strange behaviour :
the menu always preselects the entry saved with old Grub2 version, but if I choose another one, the new entry isn't saved.
Does it means that Grub2 1.98 doesn't support yet entry saving ? or should I look at my conf more carefully for a misconfiguration ?
Thanks for your advice,
Fred.
Quoted 9 lines · Frédéric Boiteux
I installed last year Grub2 from Debian 'experimental' repository to
get « default=saved » feature, it worked well, and recently I updated it to 1.98 release (from official « unstable » repository), and now I get a strange behaviour :
the menu always preselects the entry saved with old Grub2 version, but if I choose another one, the new entry isn't saved.Does it means that Grub2 1.98 doesn't support yet entry saving ? or should I look at my conf more carefully for a misconfiguration ?
1.98 only saves the selected entry as the default if you also have GRUB_SAVEDEFAULT=true. In other words, there are two separate controls:
GRUB_DEFAULT=saved
use saved entry as the default
GRUB_SAVEDEFAULT=true
save entry as default when selected
The reason for the separation is that this means that you can use GRUB_DEFAULT=saved on its own so that grub-reboot and grub-set-default work, but without having the default changing merely because you selected a different entry interactively. This wasn't extensively documented because both these controls were new in 1.98, so it only affected upgrades from experimental versions (well, and the backport in Ubuntu 9.10).
Regards,
Signature · 1 line
Colin Watson [[email protected]]
Is there something like howmany=x implemented in grub2 ?
Hi,
I'm new to that list and don't know if that subject was previously discussed..
On that page : http://doc.ubuntu-fr.org/grub-pc-annexe, there are some scripts to implement a "howmany"ish functionality.
Is there something that could be a standard in the future for it with just a variable in /etc/default/grub to answer ?
In Ubuntu Lucid grub1.98, the localization appears to be implemented only in the 10_linux script but not in the 30_os-prober one.. Is it fixed now ?
Quoted 4 lines · Colin Watson
1.98 only saves the selected entry as the default if you also have GRUB_SAVEDEFAULT=true. In other words, there are two separate controls:
…
Many thanks for your explanation :-))
Fred.