Welcome!
Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.2 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Change Grub2 background

Post Reply
Spaceman Spiff
Forum Novice
Forum  Novice
Posts: 18
Joined: Sat Mar 17, 2018 12:01 am

Change Grub2 background

#1

Post by Spaceman Spiff » Thu May 09, 2019 2:33 pm

How do I change the grub background to the sparrowhawk mx image?

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 11337
Joined: Sun Dec 16, 2007 1:17 pm

Re: Change Grub2 background

#2

Post by dolphin_oracle » Thu May 09, 2019 3:12 pm

Spaceman Spiff wrote:
Thu May 09, 2019 2:33 pm
How do I change the grub background to the sparrowhawk mx image?
select whatever background you want in the mx-boot-options background chooser.

or edit the Grub_background_picture (I think) line in /etc/default/grub, and do a "sudo update-grub".

but that's what mx-boot-options will do anyway.


help link for those interested: https://mxlinux.org/wiki/help-files/hel ... t-options/
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-18
lenovo s21e - MX-18, antiX-17.3.1 (live-USB)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Cavsfan
Forum Novice
Forum  Novice
Posts: 12
Joined: Tue Apr 02, 2019 3:07 pm

Re: Change Grub2 background

#3

Post by Cavsfan » Thu May 09, 2019 5:52 pm

You can use one of the pictures in the /usr/share/backgrounds/ folder or you can use your own picture.
Then edit /etc/default/grub where it says this:

Code: Select all

export GRUB_MENU_PICTURE="/usr/share/backgrounds/MXLinux/grub/linen-gradientblu-grub.png"
I like to put my grub backgrounds in /boot/grub/picture.png etc. but, where you store it is up to you.
Then you just have to put that between quotes as above.

Since the font color is white stick with a darker picture.

Of course then

Code: Select all

sudo update-grub
You should see the picture listed in the terminal output. But you'll need to reboot to see if it worked.
I've found png pictures work the best.

Cheers
Creating a Custom Maintenance Free GRUB2 Screen Community Wiki for Legacy/MBR and UEFI/GPT systems
Intel Core i7-4770K, Mobo: ASUSTeK model: Z87-K, Nvidia GeForce GTX 980 Ti, 16GB RAM, 1TB Western Digital Blue SSD, 480GB OCZ VERTEX460 SSD

Spaceman Spiff
Forum Novice
Forum  Novice
Posts: 18
Joined: Sat Mar 17, 2018 12:01 am

Re: Change Grub2 background

#4

Post by Spaceman Spiff » Thu May 09, 2019 7:40 pm

Thanks guys :happy:

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 4460
Joined: Sun May 27, 2007 5:37 am

Re: Change Grub2 background

#5

Post by asqwerth » Thu May 09, 2019 11:55 pm

Summary of other posts:

MX Boot Options - the GUI way to do it.

Cavsfan's post - the CLI way.



Regardless of method used, there are picture limitations.

If you use jpg pics there is a limit on the number of the colours can exist in the pics. See -

https://www.unixmen.com/change-grub-bac ... inux-mint/
...If we want to change the Background of grub menu, the image should be PNG, JPG or TGA image. JPG/ JPEG images must be 8-bit (256 color). Else you will get errors, so the PNG images are preferable. Images should be non-indexed, RGB.
But note the limitation on png pics as well. I've encountered that before for some complex png pics.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
Cavsfan
Forum Novice
Forum  Novice
Posts: 12
Joined: Tue Apr 02, 2019 3:07 pm

Re: Change Grub2 background

#6

Post by Cavsfan » Sat May 11, 2019 1:20 pm

My current custom Grub2 screen:
In /etc/default/grub:
export GRUB_MENU_PICTURE='/boot/grub/Matrix-1920x1200.png'

Image

Along with custom menuentries.
Creating a Custom Maintenance Free GRUB2 Screen Community Wiki for Legacy/MBR and UEFI/GPT systems
Intel Core i7-4770K, Mobo: ASUSTeK model: Z87-K, Nvidia GeForce GTX 980 Ti, 16GB RAM, 1TB Western Digital Blue SSD, 480GB OCZ VERTEX460 SSD

Snaffle
Forum Novice
Forum  Novice
Posts: 9
Joined: Sun May 05, 2019 7:44 pm

Re: Change Grub2 background

#7

Post by Snaffle » Fri May 17, 2019 10:59 pm

Cavsfan wrote:
Sat May 11, 2019 1:20 pm
My current custom Grub2 screen:
In /etc/default/grub:
export GRUB_MENU_PICTURE='/boot/grub/Matrix-1920x1200.png'

Image

Along with custom menuentries.
That looks awesome! :cool:

Post Reply

Return to “General”