Plymouth font missing at boot

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read this

Plymouth font missing at boot

Postby Ring0Bearer on Tue Oct 08, 2013 12:51 am

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?
Ring0Bearer
Level 1
Level 1
 
Posts: 8
Joined: Wed May 22, 2013 8:44 am

Linux Mint is funded by ads and donations.
 

Re: Plymouth font missing at boot

Postby 7052538 on Mon Dec 23, 2013 4:26 am

Try this:

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"


Make it executable:

$ sudo chmod a+x /etc/initramfs-tools/hooks/plymouth-missing-fonts-fix

And rebuild the initrd image:

$ sudo update-initramfs -u
7052538
Level 1
Level 1
 
Posts: 1
Joined: Mon Dec 23, 2013 3:52 am

Re: Plymouth font missing at boot

Postby -RF- on Tue Dec 31, 2013 1:46 pm

Hi,

I had the same problem and today I tried the solution and it worked. Thank you very much!

-RF-
-RF-
Level 1
Level 1
 
Posts: 4
Joined: Tue Dec 31, 2013 1:44 pm


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 4 guests