All of lore.kernel.org
 help / color / mirror / Atom feed
* Problems with loadfont and loading
@ 2017-09-11 18:40 Paul Menzel
  0 siblings, 0 replies; only message in thread
From: Paul Menzel @ 2017-09-11 18:40 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 871 bytes --]

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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-11 18:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-11 18:40 Problems with loadfont and loading Paul Menzel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.