Fwd: Unable to set GRUB background image

Sreyan Chakravarty sreyan.mailing at gmail.com
Wed Aug 16 18:19:25 UTC 2017


I am unable to set a background image, for the Grub bootloader.

Please note that my system boots of an encrypted LVM and the /boot
partition is there on a separate unencrypted partition. And I am running on
EFI.

What I have tried so far-:

I tried manually adding the following line to grub.cfg located in the /boot
partition.

GRUB_BACKGROUND="../IMAGE.JPG"

this did not make any difference.

Second, I have tried copying /usr/share/grub/default/grub
to /*etc/default* and then added

GRUB_BACKGROUND="IMAGE.JPG"

and tried running update-grub but the generated grub.cfg in my /boot
partition did not contain the above attribute. Also I am not sure if this
would work since the image is in an encrypted partition and will not be
available during the boot.

What I want is to manually edit grub.cfg and place the attribute for the
background image.

My question is that should it be
GRUB_BACKGROUND="../IMAGE.JPG"
with quotes or without quotes ? Are relative paths supported ?

Also should "set" be added before the attribute ?

like
set GRUB_BACKGROUND="../IMAGE.JPG" ?

Regards,
Sreyan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170816/84d48620/attachment.html>


More information about the ubuntu-users mailing list