Plymouth

Revision as of 10:07, 26 December 2023 by Fhdk (talk | contribs) (grub command to rebuild grub config - removal of plymouth theme)
Other languages:
English • ‎français • ‎Ελληνικά • ‎русский

Plymouth is an application that runs very early in the boot process (even before the root filesystem is mounted) that provides a graphical boot animation while the boot process happens in the background.


Installation

Plymouth is available from the Manjaro repositories. However, some steps need to be followed to set it up properly.

The steps from https://wiki.archlinux.org/index.php/Plymouth#Installation apply, except the last step.

When rebuilding the initrd image, the "linux" preset does not exist. Use the one that corresponds to you kernel version:

sudo mkinitcpio -p linux<version>

If you do not know what value to use, look in the /etc/mkinitcpio.d directory. It contains all available presets (files with the .preset extension). For example:

user $ sudo mkinitcpio -p linux419 COPY TO CLIPBOARD


Note that in order to enable Plymouth on boot you must edit /etc/default/grub and add the word "splash" to the list of arguments for the following line, as shown:

GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Make sure not to remove anything else that may already be there.

Configuration

See https://wiki.archlinux.org/index.php/Plymouth#Configuration

Removal

4 or 5 steps are needed to remove Plymouth. They are:

  • Remove plymouth hook from /etc/mkinitcpio.conf (For disk encryption users should encrypt)
  • Regenerate the initramfs for your kernel with sudo mkinitcpio -p linux<version>
  • Remove the word splash & quiet from the Grub command line options via editing /etc/default/grub
  • Update Grub config file with
    user $ sudo grub-mkconfig -o /boot/grub/grub.cfg COPY TO CLIPBOARD


  • After that the plymouth package and its themes can be removed. For example:
user $ sudo pacman -Rsn plymouth plymouth-theme-manjaro COPY TO CLIPBOARD



See Also