FS#29648 - [grub2-common] Invalid font path and modules
Attached to Project:
Arch Linux
Opened by Lachlan (padfoot) - Saturday, 28 April 2012, 22:22 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 16 May 2012, 10:37 GMT
Opened by Lachlan (padfoot) - Saturday, 28 April 2012, 22:22 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 16 May 2012, 10:37 GMT
|
Details
Description:
I have found a couple of issues in /etc/grubd/00_header file: LINES 100-110 if [ x\$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi Modules efi_gop and efi_uga do not exist in bios package and module ieee1275_fb does not exist in any package. This may cause potential grub errors should the all_video module fail. LINES 153-163 for dir in "${pkgdatadir}" "`echo '//boot/grub' | sed "s,//*,/,g"`" /usr/share/grub ; do for basename in unicode unifont ascii; do path="${dir}/${basename}.pf2" if is_path_readable_by_grub "${path}" > /dev/null ; then font_path="${path}" else continue fi break 2 done done Generates a font path in /boot/grub/grub.cfg of font="/usr/share/grub/unicode.pf2" which fails, grub is not able to load a font from outside /boot. The unicode font should be installed in /boot/grub/fonts (I believe it already is) and the generated code should be font="unicode" (note, no .pf2 extension is required) so the grub.cfg line if loadfont $font ; then does not fail. Cheers. |
This task depends upon
Posting upstream. This report can be closed.
Cheers.