Comment 3 for bug 216178

Revision history for this message
drs305 (drs305) wrote :

Colin,

I have been playing with "GRUB_DEFAULT=saved" today following the latest grub2 update.

40_custom doesn't seem to incorporate this setting.
One thing I noticed is that in the 10_linux section the following line is imported correctly into grub.cfg:

saved_entry=${chosen}

However, when I update grub.cfg, the same line in my 40_custom file is imported as follows and the selection is not retained i.e. the "${chosen}" portion is not imported. Rather, it is imported as:

saved_entry=

If I manually edit grub.cfg (for troubleshooting only) and change the line to the same as the 10_linux entries ( saved_entry=${chosen} ), the previous grub selection is retained on rebooting.

I don't know if this is a bug or by design. Thanks.

Package: grub2
Priority: extra
Section: universe/admin
Installed-Size: 256
Maintainer: Ubuntu Core Developers <email address hidden>
Original-Maintainer: GRUB Maintainers <email address hidden>
Architecture: amd64
Version: 1.97~beta1-1ubuntu3