In a whole-disk encrypted system, the only assessable partition at boot time is the /boot partition, all other(s) are encrypted. Plymouth cannot access the font and only displays rectangles (even when prompting or the passphrase). I have yet to discover how to have Plymouth look in /boot for the needed font; still looking.
Any suggestions?
Plymouth font missing at boot
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Plymouth font missing at boot
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Plymouth font missing at boot
Try this:
Create a /etc/initramfs-tools/hooks/plymouth-missing-fonts-fix file containing the following:
Make it executable:
$ sudo chmod a+x /etc/initramfs-tools/hooks/plymouth-missing-fonts-fix
And rebuild the initrd image:
$ sudo update-initramfs -u
Create a /etc/initramfs-tools/hooks/plymouth-missing-fonts-fix file containing the following:
Code: Select all
#!/bin/sh
set -e
PREREQ=""
prereqs()
{
echo "${PREREQ}"
}
case "${1}" in
prereqs)
prereqs
exit 0
;;
esac
. /usr/share/initramfs-tools/hook-functions
mkdir -p "${DESTDIR}/usr/share/fonts/truetype/dejavu"
cp -a /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf "${DESTDIR}/usr/share/fonts/truetype/dejavu"
cp -a /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf "${DESTDIR}/usr/share/fonts/truetype/dejavu"
$ sudo chmod a+x /etc/initramfs-tools/hooks/plymouth-missing-fonts-fix
And rebuild the initrd image:
$ sudo update-initramfs -u
Re: Plymouth font missing at boot
Hi,
I had the same problem and today I tried the solution and it worked. Thank you very much!
-RF-
I had the same problem and today I tried the solution and it worked. Thank you very much!
-RF-