Ask Your Question
0

How do I set the grub2 background image?

asked 2013-07-10 05:43:51 -0500

john.koshy gravatar image

updated 2013-07-10 08:06:57 -0500

FranciscoD_ gravatar image

is it possible to put an image in the boot screen where we select windows or fedora to boot. i have installed both windows and fedora 19 live xfce. but now the boot screen in black screen. i need to put a picture of my own. can anyone help me.

edit retag flag offensive close merge delete

Comments

Picture? I'm not sure I understand. Do you want to put an image (jpg/png) in the bootloader, or do you want to add another entry to it (windows/linux)?

FranciscoD_ gravatar imageFranciscoD_ ( 2013-07-10 06:38:20 -0500 )edit

yes i want to put an image for bootloader.

john.koshy gravatar imagejohn.koshy ( 2013-07-10 07:47:29 -0500 )edit

5 Answers

Sort by ยป oldest newest most voted
1

answered 2013-07-10 08:05:40 -0500

FranciscoD_ gravatar image

You can add themes to grub as explained here: https://ask.fedoraproject.org/question/27617/solved-after-upgrade-to-fedora-19-grub-has-no-theme/

To add background images etc., you'll have to look at external links.

https://help.ubuntu.com/community/Grub2/Displays is one of them.

edit flag offensive delete link more
0

answered 2013-07-10 09:40:48 -0500

john.koshy gravatar image

updated 2013-07-10 09:42:53 -0500

still m boot loader is black screen. here is my grub file details GRUB_TIMEOUT=43 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="rd.md=0 rd.dm=0 vconsole.keymap=us rd.lvm.lv=fedora_localhost/root $([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param || :) rd.luks=0 vconsole.font=latarcyrheb-sun16 rd.lvm.lv=fedora_localhost/swap rhgb quiet" GRUB_DISABLE_RECOVERY="true" GRUB_FONT=/boot/grub2/DejaVuSansMono.pf2 GRUB_GFXMODE=1280x960 GRUB_GFXPAYLOAD_LINUX=keep GRUB_

edit flag offensive delete link more
0

answered 2013-07-10 23:20:16 -0500

tempus gravatar image

updated 2013-07-10 23:23:24 -0500

You could use GRUB_BACKGROUND and set an image in your /etc/default/grub. e.g.

GRUB_BACKGROUND="/boot/grub-splash.tga"

You'll have to place an image that can be used by grub2 at the specified (available at boot) path.

jpg, png, tga are acceptable formats.

Check that your image is RGB and that it's at a sane resolution.

You may use ImageMagick's convert or GIMP to properly forge your background image. Don't forget to update your grub.cfg running grub2-mkconfig after your modifications in /etc/default/grub.

edit flag offensive delete link more

Comments

What kind of image have you tried? If your image is "/boot/grub-splash.tga" could you post the output of "file /boot/grub-splash.tga"? Given that you have "GRUB_GFXMODE=1280x960" make sure that your image fits this resolution, and that it does not make use of indexed colours.

tempus gravatar imagetempus ( 2013-07-11 12:27:38 -0500 )edit
0

answered 2013-07-11 02:45:09 -0500

john.koshy gravatar image

it wont work

edit flag offensive delete link more
0

answered 2013-07-11 02:43:22 -0500

john.koshy gravatar image

it dont work

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-07-10 05:43:51 -0500

Seen: 20,267 times

Last updated: Jul 10 '13