Custom Boot Logo
These instructions are written by K12Linux user Jeff Siddall.
Create a new plymouth theme. You can do this by making simple variations on the stock theme by taking a copy of the default theme using the procedure below. You can replace "newtheme" in the commands below with whatever name you want to give the new theme. This procedure assumes the chroot is in the /opt/ltsp/i386 directory.
Start by copying the folder with this command:
cp -a /opt/ltsp/i386/usr/share/plymouth/themes/solar /opt/ltsp/i386/usr/share/plymouth/themes/newtheme
Now modify "newtheme" as appropriate. First go into the new theme directory by typing:
Then rename the .plymouth file by running:
mv rings.plymouth newtheme.plymouth
Edit the .plymouth file and change:
You may also want to change the background colors. BackgroundStartColor is the color at the top of the screen and BackgroundEndColor is the color at the bottom of the screen. Plymouth will make a gradient of these colors across the screen. For example to make the background change from white to black change the lines:
When finished making changes save the file.
Next replace the image file named header-image.png with the desired replacement. Do not change the name of this file!
The exact size does not seem to matter as the plymouth will center it in the screen above the animated "rings".
You can also get fancy and replace all the other progress images also.
Chroot to the client directory by running:
Activate the new theme with this command:
Note: you may get an error from sed (ex: sed: warning: failed to set default file creation context to unconfined_u:object_r:usr_t:s0: No such file or directory). This does not seem to cause problems.
Build a new initramfs file with the new theme:
Exit the chroot by typing:
and update the tftp directory with the new initramfs by typing:
If you use NBD you will also need to run:
Now fire up a client and enjoy the new theme!