Debian makes GrubMenu more sexy

Source: Internet
Author: User
Debian makes GrubMenu more sexy-Debian information of the Linux release-details are as follows. 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:
Sudo mkdir/boot/grub/splashimages
Sudo cp bysoli.xpm.gz/boot/grub/splashimages

C) modify the/boot/grub/menu. ls file to block the following content (add the first line ):
Color cyan/blue white/blue

Add the following content:
Splashimage (hd0, 0)/boot/grub/splashimages/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://www.cnblogs.com/Files/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 they cannot be posted here ,)

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 640x480-colors 14 soli.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.
Related Article

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.