Plymouth
Plymouth replaces boot messages with a pretty splash screen.
PackageInstallation
yay -S plymouth
Configuration
AddEnabling Plymouth requires editing the HOOKS
array in /etc/mkinitcpio.conf
. Depending on what your initramfs is based on the hooks slightly differ.
Busybox
If your initramfs is busybox-based (default in Arch Linux), add the plymouth
hook in mkinitcpio.conf after the base
and udev
: hooks:
/etc/mkinitcpio.conf
HOOKS=(base udev plymouth ...)
WARNING:ATTENTION: IfWhen using the encrypt
hook,hook to unlock encrypted devices during boot, replace it with the plymouth-encrypt
hook and place it after the plymouth
hook in order to receive a passphrase prompt!prompt,
e.g.:
HOOKS=(base udev plymouth autodetect keyboard keymap consolefont modconf block plymouth-encrypt lvm2 filesystems fsck)
HOOKS=(base udev plymouth ...)
plymouth-
Systemd
If your initramfs is systemd-based (i.e. to make use of systemd-cryptenroll
), add the sd-plymouth
hook after the base
and systemd
hooks:
ATTENTION: When using the sd-encrypt
hook to unlock encrypted devices during boot, place the sd-encrypt
hook after the sd-plymouth
hook in order to receive a passphrase prompt, e.g.:
HOOKS=(base systemd sd-plymouth autodetect keyboard sd-vconsole modconf block sd-encrypt lvm2 filesystems fsck)
HOOKS=(base systemd sd-plymouth ...)
Theming
A great selection of Plymouth themes can be found on the AUR.
ListTo plymouthlist available Plymouth themes (readsalternatively ls /usr/share/plymouth/themes
):
plymouth-set-default-theme -l
Set plymouththe theme,Plymouth theme and rebuild (-R
) the initramfs, e.g. BGRT:BGRT (keeps firmware logo and displays a spinner in a similar fashion to Windows):
TIP: When unlocking a LUKS encrypted root file system during boot the passphrase prompt replaces the firmware logo. To prevent this install and set the following theme instead:
yay -S plymouth-theme-bgrt-better-luks
sudo plymouth-set-default-theme -R bgrt-better-luks
sudo plymouth-set-default-theme -R bgrt
Better
Reboot BGRTand Splash for LUKS passphrase entry
yay -S plymouth-theme-bgrt-better-luks
enjoy!