Linux Startup logo modification-Linux general technology-Linux technology and application information. The following is a detailed description. Target: Use a custom ppm image to replace/drivers/video/logo/logo_linux_clut224.ppm
In addition, you can delete the logo_linux_clut224.c logo_linux_clut224.o file to recompile logo_linux_clut224.ppm.
Ppm image generation:
# Pngtopnm logo_linux_clut224.png> logo_linux_clut224.pnm
I. Create a Logo image
[1] can be done with a tool, to http://registry.gimp.org/detailview.phtml? Plugin = Linux + Logo
Download a gimpplug-In glogo-1.3.tar.gz
[2] Open glogo-1.3.tar.gz and compile
Make; make install
[3] using some graphic tools to create three versions of the selected Logo image, in the format of bmp file, the size is 80x214 pixels, and the color is 214 colors (or lower than colors ), 16 colors, 2 colors
[4] Open The GIMP program of The graphic program group in The Linux graphic interface, open The generated three version logo image files, and then select The Build Linux Logo menu under The xtns menu, save the result to a file, such as the logo.
2. Modify linux_logo.h in the kernel/include/linux directory
Returns a result file generated in a lifetime, such as a logo. Its structure is
# If LINUX_LOGO_COLORS = 214
Data of 214 colors
# Endif
# Ifdef INCLUDE_LINUX_LOGO16
16-color data
# Endif
# Ifdef INCLUDE_LINUX_LOGOBW
2-color data
# Endif
Open linux_logo.h in the kernel/include/linux directory and you will find that the structure is the same. Copy the corresponding data (214, 16, and 2 colors) from the logo) to replace the original content in linux_logo.h. Then re-compile the kernel. The new kernel logo is a new image.
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