GRUB color option ignored when splashimage set

Bug #498282 reported by zanberdo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: grub

NORMAL and HIGHLIGHT color values in menu.lst are ignored when SPLASHIMAGE is set. Leaving out SPLASHIMAGE the color directive is accepted and performs as expected.

I add the color setting: color red/light-gray black/red. Without a splashimage setting the colors display correctly. However, when I add splashimage=(hd0,0)/boot/grub/images/myimage.xpm.gz, the image is displayed correctly, but the color of the menu reverts to white-on-white and white-on-black.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: grub 0.97-29ubuntu53
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: grub
Uname: Linux 2.6.28-17-generic x86_64

Revision history for this message
zanberdo (mzanfardino-gmail) wrote :
Revision history for this message
zanberdo (mzanfardino-gmail) wrote :
Revision history for this message
zanberdo (mzanfardino-gmail) wrote :
Revision history for this message
zanberdo (mzanfardino-gmail) wrote :

According to adrian15 "Non-standard grub such as the one from Ubuntu is not supported officially by Grub." (http://savannah.gnu.org/bugs/?func=detailitem&item_id=16190#options).

His suggestion to use FOREGROUND and BACKGROUND in place of COLOR does not work. Rather, it does not work at boot. However, when selecting command line (option 'c') when the GRUB menu is visible and defining FOREGROUND FF0000 and BACKGROUND 000000, the text does display as expected (in this case red with black shadowing).

Not sure the significance of it not working when defined in menu.lst but working interactively. Will change the order of the commands in menu.lst to see if that makes any difference.

Revision history for this message
zanberdo (mzanfardino-gmail) wrote :

It appears that the order of the commands in menu.lst has an effect. When defining SPLASHIMAGE in conjunction with FOREGROUND and BACKGROUND it is necessary to add FOREGROUND and BACKGROUND *after* SPLASHIMAGE.

Ex:
...
splashimage=(hd0,0)/boot/grub/image/myimage.xpm.gz
foreground ff0000
background 000000
...

This will render the image and color correctly.

Changed in grub (Ubuntu):
assignee: nobody → Console Jockey (mzanfardino-gmail)
Changed in grub (Ubuntu):
assignee: Console Jockey (mzanfardino-gmail) → nobody
Revision history for this message
zanberdo (mzanfardino-gmail) wrote :

UPDATE: TI have been informed that these settings (FOREGROUND and BACKGROUND) are UNOFFICIAL features of GRUB 0.97 and are NOT supported by the GRUB development community. Please do not contact the GRUB development community if you have any issues with use of these features.

Revision history for this message
dino99 (9d9) wrote :

outdated report & no more maintained distro; please send a new one if that issue still exist (using ubuntu-bug)

Changed in grub (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.