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
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)
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)
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.
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.
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.