Debian's grub boot screen and nice-looking command line

Source: Internet
Author: User
Tags imagemagick

OnlineArticleA lot, but it's hard to understand. With the help of my colleague Alex, I finally figured out the details. Write it down and forget it ~
Display the command line in 1024*768 format

By default, the command line is displayed in the form of 640*480, which is not very nice. After zhcon is loaded, it always feels slow under the virtual machine.

Modify/boot/GRUB/menu. LST is as follows
# --------------------------------------------------
title Debian GNU/Linux, kernel 2.6.8-2-386 (1024*768)
root (hd0, 0)
kernel/boot/vmlinuz-2.6.8-2-386 VGA = 773 root =/dev/sda1 Ro
initrd/boot/initrd. img-2.6.8-2-386
# ------------------------------------------------------
focuses on VGA = 773
change the boot screen

After Debian's grub is installed, there is no boot screen, and many livecd have beautiful images. I want to get one.
First, install the ImageMagick package. If you write PHP, you must have encountered ImageMagick. Although gimp can be used or images can be prepared under Win, it is always unpleasant.
Then select an image and place it in the specified directory. For example, I have created the/boot/gurb/images directory.
Convert the image to the XPM format. The source file here should be 640*480 in size:
Convert boot.bmp-colors 14 boot. XPM
Compressing XPM files:
Gzip-9 boot. XPM
Modify/boot/GRUB/menu. lst as follows:
# Packaged image files
# Foreground
Foreground = 0000ff
# Background color
Background = ffcccc

I selected a secondary image experiment temporarily. It seems ugly.

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: 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.