Differences between revisions 23 and 24
Revision 23 as of 2018-08-20 05:21:23
Size: 3756
Comment:
Revision 24 as of 2019-06-27 08:12:43
Size: 3575
Editor: PaulWise
Comment: plymouth-dr is long ago merged into plymouth
Deletions are marked like this. Additions are marked like this.
Line 103: Line 103:
If you get the error "/usr/lib/plymouth/script.so does not exist", install plymouth-drm.
{{{
# apt-get install plymouth-drm}}}

or

{{{
# aptitude install plymouth-drm}}}

Translation(s): English - Español - Français - Italiano - ?Português - Русский


Plymouth

Plymouth presents a graphic animation (also known as bootsplash) while the boot process is occurring in the background. It is designed to be used with the Direct Rendering Manager (DRM) modesetting drivers. For systems that don't have DRM mode settings drivers, plymouth falls back to text mode - it can also use a legacy /dev/fb interface using a variation of these instructions (yet to be added).

Installation

Before installing, check the manufacturer website if your graphics card drivers support modesetting or check the project page of the free/open drivers for your graphics card.

Wheezy, Jessie, Stretch

# apt-get install plymouth plymouth-themes

or

# aptitude install plymouth plymouth-themes

Configuration

Edit the file /etc/initramfs-tools/modules and add the modesetting for your graphics card:

For Intel:

# KMS
intel_agp
drm
i915 modeset=1

For Nouveau (nVidia):

# KMS
drm
nouveau modeset=1

For ATI:

# KMS
drm
radeon modeset=1

Next, you need to configure the bootloader (Grub2) in order to set the desired resolution and to enable the bootsplash.

Grub2

Please edit the file /etc/default/grub and change the resolution. To do that, search for the line #GRUB_GFXMODE=640x480 and uncomment it. You can set the resolution which is best for your monitor.

For example:

GRUB_GFXMODE=1024x768

In netbooks you can put 1024x600 or 1024x576. For example:

GRUB_GFXMODE=1024x576

You can also write the color depth. For example:

GRUB_GFXMODE=1024x576x32

Please also search for and edit the line GRUB_CMDLINE_LINUX_DEFAULT="quiet" and change it to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Finally, update Grub2:

# update-grub2

Themes

As root run the next commands. To display all installed themes run:

# plymouth-set-default-theme -l

Default output will be:-

# plymouth-set-default-theme -l
details
fade-in
glow
script
solar
spinfinity
spinner
text
tribar

Then, to set your desired theme run:

# plymouth-set-default-theme -R THEME

THEME refers to one of the listed values from the executed command.

If this command errors out with a message saying that firmware files are missing, you will have to install the package firmware-linux-nonfree. To do that, execute the following command:

# apt-get install firmware-linux-nonfree

or

# aptitude install firmware-linux-nonfree

And repeat the process to set the theme.

Tips & Tricks

1. During boot, you can press the "Home" key to view the underlying messages (kernel, messages from the startup scripts, services, etc.).