install plymouth

date: 2017-4-9

  1. To make Plymouth work:
    1.1. Add "plymouth" to HOOKS after "base" and "udev" in /etc/mkinitcpio.conf
    1.2. Add 'quiet splash' to the grub command line in /etc/default/grub

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

    then: sudo update-gruborsudo grub-mkconfig -o /boot/grub/grub.cfg

    1.3. Rebuild your initrd image (# mkinitcpio -p [kernel preset name]).

     E.g.: sudo mkinitcpio -p linux38
    
  1. To enable encryption, replace "encrypt" with "plymouth-encrypt" in
    mkinitcpio.conf and rebuild your initrd image.

  2. You will also need to rebuild your initrd image every time you change your theme
    the default is set as 'spinfinity', use plymouth-set-default-themeto show.

    To list all plymouth themes:
    plymouth-set-default-theme -l

    To change theme:
    # plymouth-set-default-theme

    To rebuild initrd image:
    # mkinitcpio -p

  3. For Smooth Transition to Display Manager you have to:
    4.1. See the Wiki Page (link in 5) to prepare your Display Manager
    4.2. Disable your Display Manager Unit
    E.g. : systemctl disable kdm.service
    4.3. Enable the respective DM-plymouth Unit (GDM,KDM,Lightdm,LXDM units provided)
    E.g. : systemctl enable kdm-plymouth.service

  4. For more information please visit the Wiki page:
    https://wiki.archlinux.org/index.php/Plymouth

你可能感兴趣的:(install plymouth)