Ubuntu13.04 Use plymouth to modify the splash screen

  
        

There is a need to modify the startup screen of ubuntu 13.04server:

In the configuration process, it does not take effect. After many checks, it is found that the default path of ubuntu's plymouth is different from that of centos. The configuration method is also different. The following configuration steps are recorded under ubuntu

Installing plymouth software

apt-get install plymouth

The path of the default startup screen for ubuntu is :/lib/plymouth/themes/default.plymouth

If you don't have this file, you need to create it yourself:

vim /lib/plymouth/themes/default.plymouth

Add:

[Plymouth Theme]

Name=Wheat

Description=A theme thatfeatures a wheat background with a logo.

ModuleName=script

[script]

ImageDir=/lib/plymouth/themes/wheat

ScriptFile=/lib/plymouth/themes/wheat/wheat.script

Special Note the following two paths, Ubuntu and centos are different

Place your custom splash screen in /lib/plymouth/themes/wheat/path,

Modify grub startup items:

vim /etc/default/grub

Modify the following line to:

GRUB_CMDLINE_LINUX_DEFAULT="splash"

Save after modification

Then update grub

update-grub

Refresh initramfs

update-initramfs -u

Copyright © Windows knowledge All Rights Reserved