Short tip: Upgrading GRUB2 on CRUX Linux fails: ./grub-mkfont: No such file or directory
When updating the GRUB2 package on a clean install of CRUX Linux I recently stumbled upon the following error:
1# prt-get update grub2
2...
3Pkgfile: line 28: ./grub-mkfont: No such file or directory"
The solution for this issue was simple - the freetype
package was missing. This package is needed for generating GRUB fonts. Installing that package did the trick for me:
1# prt-get install freetype
2# prt-get update grub2
3...
4=======> Building '/usr/ports/opt/grub2/grub2#2.00-4.pkg.tar.gz' succeeded.
5prt-get: updating grub2 from 2.00-3 to 2.00-4
6pkgadd: rejecting etc/grub.d/, keeping existing version
7pkgadd: rejecting etc/bash_completion.d/, keeping existing version
8
9-- Packages updated
10grub2
11
12-- updated packages with README files:
13grub2
Thanks for the support, jaeger (from the CRUX Linux core team)! 🙂