[Bug 485636] [NEW] Can not disable GRUB2 background image
Felix Zielcke
fzielcke at z-51.de
Fri Nov 20 07:53:26 UTC 2009
Am Freitag, den 20.11.2009, 03:23 +0000 schrieb evfool:
> Public bug reported:
>
> Binary package hint: grub2
>
> After setting a grub2 background in /etc/grub.d/05_debian_theme by
> setting the use_bg=true, and setting the image name, running
> update-grub2 sets the background, at next reboot it is displayed. If i
> set a non-existent image file name, update-grub2 throws an interesting
> error message "Generating grub.cfg ...
> No path or device is specified.
> Try ``grub-probe --help'' for more information.
> No path or device is specified.
> Try ``grub-probe --help'' for more information." This message is not
> very friendly, and gives no meaningful information.
This of course shouldn't happen.
> The other, and more serious problem is that after setting the use_bg
> to false with an existent and working background image, update-grub2
> and restart, the image is still shown. The only way to set grub2 back
> to console-only mode is to set use_bg to false, and the imagename to a
> non-existent image filename. This way after update-grub2 and restart,
> I get the console grub2 menu again.
>
Uhm I'm a bit unsure if you understand basic shell scripting.
If you change
if ${use_bg} ; then
to
if false ; then
or
echo "Found Debian background: `basename ${bg}`" >&2
use_bg=true
if you change this use_bg= to false it has the same effect.
And I just tested both now to be sure.
Note that it doestn't count what update-grub outputs or 00_header says
for the real GRUB. Only /boot/grub/grub.cfg counts for it.
If there's no background_image line in it, it will never use one.
--
Felix Zielcke
Proud Debian Maintainer and GNU GRUB developer
--
Can not disable GRUB2 background image
https://bugs.launchpad.net/bugs/485636
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list