Problem with errors in plymouth on boot

Hey everyone, today when I opened my pc I saw this on boot
/scripts/init-premount/plymouth: line 36: /usr/sbin/plumouthd: not found /scripts/init-premount/plymouth: line /usr/bin/plymouth: not found /dev/numeon1p5: clean, 1078151/30498816 files, 16025002/121964800 blocks /scripts/init-botton/plymouth: line 18: /usr/bin/plumouth: not found

It wasnt fatal, the boot logo apeared afterwards and It booted fine but I want to know if there is any way to scilence it or solve it somehow. Thanks

Maybe a Reinstall could help. Type the folowing:

sudo apt reinstall plymouth plymouth-theme-zorin-logo plymouth-theme-zorin-text

2 Likes

It didnt work also whenever i try to install anything, it always tries to update inframs and ends up with dpkg error
update-initramfs: Generating /boot/initrd.img-6.8.0-59-generic
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.8.0-59-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
installed initramfs-tools package post-installation script subprocess returned
error exit status 1
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is what I actually get during boot

Can someone help me?

Looks like something is broken. Try this:

sudo dpkg --configure initramfs-tools

dpkg: error processing package initramfs-tools (--configure):
package initramfs-tools is already installed and configured
Errors were encountered while processing:
initramfs-tools

and the problem is that this
Setting up linux-image-6.8.0-59-generic (6.8.0-59.61~22.04.1) ...
Processing triggers for linux-image-6.8.0-59-generic (6.8.0-59.61~22.04.1) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-6.8.0-59-generic
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.8.0-59-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-6.8.0-59-generic (--configure):
installed linux-image-6.8.0-59-generic package post-installation script subproc
ess returned error exit status 1
Errors were encountered while processing:
linux-image-6.8.0-59-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

happens every time i install something

This may work or not, something to try anyways...

sudo apt install --reinstall gnome-software

sudo update-alternatives --config default.plymouth

Select Zorin Logo option by entering its number (1, 2, 3 or 4...)
Follow the prompts. When done, run:

sudo update-initramfs -u

Thats the point, I use a plymouth animation from gnome themes

The custom theme you are using may be broken. Please test the above to see if that resolves the issue. It it does, that confirms that the theme you got from Gnome Themes is not working correctly.

ok, i tried it again with the default plymouth logo but i still get
update-initramfs: Generating /boot/initrd.img-6.8.0-59-generic
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.8.0-59-generic with 1.

What is your output for

update-alternatives --query default.plymouth

Notice this line has a typo (plumouthd, plumouth):

This is why I think the custom theme obtained from Gnome Themes site is the fault carrier.

From the Recovery Menu > Drop to root prompt, you can run

nano /etc/initramfs-tools/scripts/init-premount/plymouth

Look for further plumouth typos and correct them to plymouth
Once done, try running

update-initramfs -u -k all

It seems that now it doesnt show this error anymore on boot but i still cannot update initramfs

This is what I have tried and what I got

anglaro@hp-15s:~$ sudo update-initramfs -u -k all
[sudo] password for anglaro:     
update-initramfs: Generating /boot/initrd.img-6.8.0-59-generic
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-6.8.0-59-generic with 1.

for

update-alternatives --query default.plymouth

I also got


anglaro@hp-15s:~$ update-alternatives --query default.plymouth
Name: default.plymouth
Link: /usr/share/plymouth/themes/default.plymouth
Status: manual
Best: /usr/share/plymouth/themes/bgrt/bgrt.plymouth
Value: /usr/share/plymouth/themes/tux/tux.plymouth

Alternative: /usr/share/plymouth/themes/bgrt/bgrt.plymouth
Priority: 110

Alternative: /usr/share/plymouth/themes/spinner/spinner.plymouth
Priority: 70

Alternative: /usr/share/plymouth/themes/tux/tux.plymouth
Priority: 100

Mine is set to tux.plymouth

Plymouth Themes Initramfs

Plymouth themes can affect the initramfs, as themes need to be included in the initramfs for Plymouth to display during the boot process. To include a Plymouth theme in the initramfs, you need to regenerate the initramfs after setting the default theme. This can be done using commands like update-initramfs -u on Debian-based systems. Additionally, some themes, such as KDE Plasma's Breeze theme, require specific files to be included in the initramfs, which may need to be added manually.

To ensure that Plymouth themes work correctly, the proper GRUB video modules must also be loaded, and the resolution and splash option should be set in the /etc/default/grub file.

  • Plymouth Theme : A theme that features a blank background with a logo is available in the Ubuntu Plymouth theme.
  • KDE Plasma Breeze Theme : This theme requires certain files to be included in the initramfs, such as label plugins and fonts.
  • Custom Themes : When installing custom themes, they must be extracted to the Plymouth theme directory /usr/share/plymouth/themes and the initramfs must be regenerated to include the new theme.

AI-generated answer. Please verify critical facts.