You are not logged in.
Pages: 1
Hi all,
I am in the process of reinstalling my laptop on a SSD. This needs grub2. I'd like to use the graphical background feature but I can't get it to work.
I used grub's vbeinfo to get the max solution of my screen, put a background.icb of the right size in /boot/grub and edited /etc/default/grub:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch Linux"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=3
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=1680x1050x32
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-blue/black"
GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
GRUB_BACKGROUND="/boot/grub/background.icb"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
output from grub-mkconfig when updating grub2
[root@totalbaf ~]# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Found background: /boot/grub/background.icb
Found linux image: /boot/vmlinuz26
Found initrd image: /boot/kernel26.img
done
So nothing seems to be wrong. The system starts, the entries are coloured and the resolution is what it should be but - no background...
I looked through the grub2 wiki several times but by now I can't see anything I did wrong.
Maybe someone can help me out with new glasses
Harvey
Last edited by Harey (2010-12-19 16:36:44)
Linux is like a wigwam: No Gates, no Windows and an Apache inside
Offline
Hmm... I think only png and tga are the image formats grub2 can use but I might be mistaken... try converting it to png and repeat.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Hmm... I think only png and tga are the image formats grub2 can use but I might be mistaken... try converting it to png and repeat.
Hi graysky,
thanks for your answer. PNG will load as expected. The grub2 wiki says:
Image formats supported include tga, png and jpeg
But only png really works. I tried TGA and JPEG, both of them result in no background at all although I verified that the script loads the right modules.
Setting this to solved, well, sort of...
Harvey
Linux is like a wigwam: No Gates, no Windows and an Apache inside
Offline
Pages: 1