How to change the background color and image of the Grub

Grub2 Ubuntu

Personally, I have to admit that I have a hard time sitting still using a version of Ubuntu. There are so many versions with so many different images that in two months I can go from using Ubuntu to Ubuntu MATE, from MATE to Elementary OS and back to standard Ubuntu, I don't know, for a change. In other operating systems we cannot modify certain things, but in Ubuntu we can change everything, such as, for example, edit the background color and image of the Grub, that is, from the start of the system.

Of course, before starting to provide all the information, I would like to mention the usual, that beware with what we touch because to edit Grub we are going to make changes that are not dangerous but, if we are not careful, we can screw up the Grub and we will not be able to restart the system (unless we repair it). If, despite everything, you want change the background image of the Grub and its colors, you just have to keep reading.

Changing the background image and Grub colors

  1. We open a Terminal and write the following:
sudo gedit /etc/default/grub
  • We will see something similar to this capture:

Edit Grub2 options

  1. From the previous file, we modify the values ​​that we prefer:
    • GRUB_TIMEOUT defines the timeout in seconds.
    • If we want to change the colors, we will have to add them below the line that says GRUB_CMDLINE_LINUX. For example, we can add:
GRUB_COLOR_NORMAL="light-gray/transparent"
GRUB_COLOR_HIGHLIGHT="magenta/transparent"
  1. If we want to change the background image, we will have to do it by adding something like this:
GRUB_BACKGROUND="/usr/share/imágenes/grub/ubunlog.tga"
  1. In order for the images to appear, we will first have to install the package grub2-splashimages, so we open a terminal and write:
sudo apt install grub2-splashimages
  1. And so that all the changes are made, in the terminal we write:
sudo update-grub

And that's it. Now, when we turn on the computer we will no longer see the classic white text on the color purple. Have you modified the colors or the background image of the Grub? What have you put?


9 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Gerardo said

    Excellent post, just learning and I really like to walk from tenton with ubuntu

  2.   Coqui Alarcon said

    The post is incomplete, it does not give confidence because it does not show how the GRUB looks at the end

  3.   Coqui Alarcon said

    The post is incomplete and does not give confidence because it does not show how the GRUB looks at the end

  4.   Rayne Kestrel said

    group customizer

  5.   Rayne Kestrel said

    facil

    1.    Fabian Valencia said

      With the grub customizer you can do all this?
      regards

  6.   The boss said

    file system 2222vm22w2age 23322win3232win231232323win231winu2buntou7butini 7botloa52d5we52r

  7.   Roman the Great ༼ (⟃ ͜ʖ ⟄) said

    I think that the comment from Patron King is very good and contributes a lot; other users should learn more about this user.
    Long live the Pattern.
    Hey.

  8.   Manuel said

    Please could you explain how the background image is completely removed from the grub, so that only the original mauve color appears, with the white letters, without danger of damaging the grub.
    Thank you very much