Dear GRUB folks,

Using coreboot with the GRUB payload, the font file is not found.

I build GRUB as a coreboot payload, but only tell the configuration
file in the memdisk to load the configuration file from the hard disk.
(root is the partition mounted to `/boot`.)

        configfile /grub/grub.cfg

That file is generated by the operating system (`update-grub` from
Debian 9 (Stretch/stable)).

From the header configuration files, the Debian GRUB configuration file
contains the code below.

```
if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
[…]
```

But `loadfont` uses the variable `prefix`, which differs between the
GRUB payload and GRUB in the MBR. So the font is not found on the hard
disk.

Is there a general solution for this problem? Can the header be
adapted, or `loadfont` be improved?


Thanks,

Paul

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to