Modify the background image of Grub in Ubuntu

Source: Internet
Author: User
As mentioned before, how to change the default startup option of Grub2 in Ubuntu and adjust the resolution to 1600*1200 by the way. However, the default Grub2 background image is too small, and Grub2 does not support auto scaling. So naturally, I thought of a new image with the appropriate size and aesthetic. First, find the image you like and use Gimp to change it to a size of 1600*1200. Save it in any directory. For convenience, we recommend that you ~ . And modify the default start sequence.

As mentioned before, how to change the default startup option of Grub2 in Ubuntu and adjust the resolution to 1600*1200 by the way. However, the default Grub2 background image is too small, and Grub2 does not support auto scaling. So naturally, I thought of a new image with the appropriate size and aesthetic.

First, find the image you like and use Gimp to change it to a size of 1600*1200. Save it in any directory. For convenience, we recommend that you ~ .

Like modifying the default startup sequence, Ubuntu prohibits you from directly modifying menu.1st or grub. cfg. Modify the background image and font color in the/etc/grub. d/05_debian_theme file.

Because the permission of the file is root, you must use sudo to modify it.

After modifying the ghost image in the 12th line of the file, I chose an image called civilaircraft.png and stored it in/usr/share/images/desktop-base. The Modification result is as follows:

For I in {/boot/grub,/usr/share/images/desktop-base}/CivilAircraft. {png, tga}; do

Just like above, add the image path and image file name, and save and exit.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.