Warning while updating initramfs-linux.img

[2023-11-19T20:32:49+0100] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2023-11-19T20:32:49+0100] [ALPM-SCRIPTLET] → Running build hook: [block]
[2023-11-19T20:32:51+0100] [ALPM-SCRIPTLET] → Running build hook: [filesystems]
[2023-11-19T20:32:51+0100] [ALPM-SCRIPTLET] → Running build hook: [fsck]
[2023-11-19T20:32:51+0100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2023-11-19T20:32:52+0100] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: ‘/boot/initramfs-linux.img’
[2023-11-19T20:32:55+0100] [ALPM-SCRIPTLET] ==> WARNING: errors were encountered during the build. The image may not be complete.

If I am not mistaken, this issue may arise if you have the hook: consolefont in /etc/mkinitcpio.conf and you haven’t explicitly set it in /etc/vconsole.conf.

I guess you would need either remove the said hook from /etc/mkinicpio.conf (the HOOK= … ) or set it in the other file mentioned above.

1 Like