Bug#561441: grub-common: creating a new target like "Recovery" not working
Felix Zielcke
fzielcke at z-51.de
Thu Dec 17 10:05:12 UTC 2009
Am Donnerstag, den 17.12.2009, 12:17 +0530 schrieb Ritesh Raj Sarraf:
> Package: grub-common
> Version: 1.98~20091210-1
> Severity: minor
>
>
> Hi,
>
> In Grub2, I have been trying to create a new target "Debug Mode", just
> like the "Recovery Mode". It doesn't seem to be generated for the
> grub.cfg file.
>
> I have attached the changed files I had done to make the same.
> Problem is that the "Debug Mode" options that I want, were never
> getting
> appended.
>
> Appreciate if you can point where I am doing wrong. You could also add
> a
> similar example file into /usr/share/doc/
>
>
> Regards,
> Ritesh
>
>
You need to export any variable in /etc/default/grub which you add
yourself.
I.e. export GRUB_DISABLE_LINUX_DEBUG="false" in /etc/default/grub should
work, but I haven't tested this yet.
For the variables we support, we do it in /usr/sbin/grub-mkconfig.
But these changes get overwritten then with the next package upgrade.
Also note that your attached files have .ucf-old respectively .dpkg-old
and so don't have any effect.
grub-mkconfig ignores even all /etc/grub.d/*.dpkg* files even if they're
executable (+x).
--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer
More information about the Pkg-grub-devel
mailing list