Modify the background image of Grub in Debian

Source: Internet
Author: User
Modify the background image of Grub in Debian-Debian information for the Linux release. For more information, see the following. 1. install required software:
Apt-get install imagemagick

2. Select the background image to use and convert it using the convert command.
Convert XXXX.jpg-colors 14-geometry 640X480! XXXX. xpm

3. Use gzip for compression
Gzip XXXX. xpm generate the XXXX.xpm.gz File

4. Copy xxxx.xpm.gz to/boot/grub.
Cp XXXX.xpm.gz/boot/grub/

5. Modify/boot/grub/menu. lst file (note: we strongly recommend backing up menu before modification. lst file), first use the df command to check whether your/boot partition is a separate partition.

Add the following line
Splashimage (hd0, x)/grub/XXXX.xmp.gz where (hdx, y) x is the hard disk of your/boot partition, and y is the location of the/boot Partition

If your/boot partition is not a separate partition, add the following line:
Splashimage (hdx, y)/boot/grub/XXXX.xpm.gz where (hdx, y) is the location of your/partition

6. Save and exit, and restart.

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.