grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with loadfont and loading


From: Paul Menzel
Subject: Problems with loadfont and loading
Date: Mon, 11 Sep 2017 20:40:11 +0200

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]