Bug#574617: grub-common: GRUB_DEFAULT=saved not working
Francois Gouget
fgouget at free.fr
Tue Apr 13 08:58:35 UTC 2010
Package: grub-common
Version: 1.98-1
Severity: normal
I have the same problem as the original reporter.
However I am not using LVM so the problem is unrelated and I see no reason
to close this bug.
Looking at /boot/grub/grub.cfg, the savedefault() function is never
called. So if it really is responsible for saving the new default it's
no surprise that this is not working.
Apparently the reason is that save_default_entry() in
/usr/lib/grub/grub-mkconfig_lib expects GRUB_SAVEDEFAULT=true instead of
GRUB_DEFAULT=saved as the online grub documentation would seem to imply.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages grub-common depends on:
ii base-files 5.1 Debian base system miscellaneous f
ii dpkg 1.15.5.6 Debian package management system
ii gettext-base 0.17-10 GNU Internationalization utilities
ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libfreetype6 2.3.11-1 FreeType 2 font engine, shared lib
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages grub-common recommends:
ii os-prober 1.35 utility to detect other OSes on a
Versions of packages grub-common suggests:
pn grub-emu <none> (no description available)
pn multiboot-doc <none> (no description available)
-- no debconf information
More information about the Pkg-grub-devel
mailing list