Stool (Debian) -- very big, very convenient? (2) -- make GRUB menu more sexy

Source: Internet
Author: User
Tags imagemagick
Book connection.

7. Make GRUB menu more sexy

It seems to be more professional, and the default GRUB menu of Debian is ugly. Even a 100 or 200 K splash image is missing. Let's do it ourselves.

A) Search for a splash image (I Don't Know What To translate. I can only use English first ). For example, find bysoli.xpm.gz. The cursor is the file ending with xpm.gz.

B) copy it to/boot/GRUB/splashimage:

code highlighting produced by actipro codehighlighter (freeware)
http://www.CodeHighlighter.com/

--> sudo mkdir / boot / grub / splashimages
sudo CP bysoli.xpm.gz / boot / grub / splashimages

C) modify the/boot/GRUB/menu. ls file, and block the following content (add one at the beginning of the line ):

code highlighting produced by actipro codehighlighter (freeware)
http://www.CodeHighlighter.com/

--> color cyan / blue white / blue

Add the following content:

code highlighting produced by actipro codehighlighter (freeware)
http://www.CodeHighlighter.com/

--> splashimage (hd0, 0) / boot / grub / splashimage S/ bysoli.xpm.gz

The last line is like this: #Color cyan/blue white/blue
Splashimage (hd0, 0)/Boot/Grub/Splashimages/Bysoli.xpm.gz

The blue part may need to be modified based on your actual partition.

D) restart the machine. OK!

Where can I find the splash image file? I have prepared some ready-made items for you here (http://files.cnblogs.com/soli/splashimages.zip. A few of them are very sexy.

If it is not enough, go here (http://gnome-look.org) look for it. Only .xpm.gz files can be recorded.

Why? Not satisfied yet? Let's make yourself fit:

I) install ImageMagick: Sudo Apt-Get install ImageMagick

Ii) find a satisfactory image, in JPG, PNG, and other formats. You don't have to ask for pictures. (If you are interested, I can tell you a good place. There are so many sexy pictures, but you cannot publish them here. If you want to promote the ** culture, ysmile ~~)
Assume that the image you are looking for is soli.png.

Iii) convert the image file format to the XPM format supported by GRUB: Convert-Resize 64Zero x 480 -Colors14Soli.png soli. XPM&&Gzip soli. XPM

Now we can see that there is no soli.xpm.gz in the current project. Next we will do the above B) to D.

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.