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
savedefault
boot
# ------------------------------------------------------
focuses on VGA = 773
labels
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
Splashimage/boot/GRUB/images/boot.xpm.gz
# Foreground
Foreground = 0000ff
# Background color
Background = ffcccc
#-----------------------------------------------------------
I selected a secondary image experiment temporarily. It seems ugly.