Changes to the logo displayed in Linux kernel boot

Source: Internet
Author: User

1. Configuring the Kernel

Enable the kernel to load the logo at boot time, in the source code of the main directory make Menuconfig

Device Drivers--->



Graphics Support--->



Select and enter the Bootup logo--



Choose the standard 224-color Linux logo



[*] Represents the selected

[] Represents not selected

[M] stands for compiling modules , use the SPACEBAR to toggle

Make to recompile the kernel so that startup will load the boot logo.


2. Then there is processing The boot image is up.

Modify the "drivers/video/logo/logo_linux_clut224.ppm" file, which is actually replacing the file.


Using NETPBM Software


Conversion resolution:

Convert-resize 240x320! Name.png Name2.png


Convert a PNG image to PNM:

PNGTOPNM name2.png > NAME3.PNM


Limit the color of the PNM picture to 224:

Pnmquant 224 NAME3.PNM > NAME4.PNM


Convert PNM images into the PPM format we need:

PNMTOPLAINPNM NAME4.PNM > logo_linux_clut224.ppm


Copy the file to the "drivers/video/logo/" directory in the kernel source code

Replace the original "logo_linux_clut224.ppm" file. Delete logo_linux_clut224.c at the same time

LOGO_LINUX_CLUT224.O files so that the compilation can be used logo_linux_clut224.ppm

Re compile the kernel, start the change to see the self-made logo!

Copyright NOTICE: This article for Bo Master original article, welcome reprint, reproduced Please indicate the source, thank you for your cooperation.

Changes to the logo displayed in Linux kernel boot

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.