From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1drTdM-0004xa-QV for mharc-grub-devel@gnu.org; Mon, 11 Sep 2017 14:40:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drTdK-0004vi-Bn for grub-devel@gnu.org; Mon, 11 Sep 2017 14:40:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drTdG-0007al-BZ for grub-devel@gnu.org; Mon, 11 Sep 2017 14:40:34 -0400 Received: from mail.gw90.de ([46.4.124.165]:45082) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drTdG-0007VL-4S for grub-devel@gnu.org; Mon, 11 Sep 2017 14:40:30 -0400 Received: from [2a02:8109:8a80:2472:e39a:b8c3:6d51:df10] (helo=mattotaupa) by mail.gw90.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1drTd6-0001P7-6F for grub-devel@gnu.org; Mon, 11 Sep 2017 18:40:20 +0000 Message-ID: <1505155211.1825.24.camel@users.sourceforge.net> Subject: Problems with loadfont and loading From: Paul Menzel To: grub-devel@gnu.org Date: Mon, 11 Sep 2017 20:40:11 +0200 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-HlF1I/ZmgL/6XP91L6Qd" X-Mailer: Evolution 3.24.5-3 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 46.4.124.165 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Sep 2017 18:40:35 -0000 --=-HlF1I/ZmgL/6XP91L6Qd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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)). =46rom the header configuration files, the Debian GRUB configuration file contains the code below. ``` if [ x$feature_default_font_path =3D xy ] ; then font=3Dunicode else [=E2=80=A6] ``` 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 --=-HlF1I/ZmgL/6XP91L6Qd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQ8+w9d414FAVARIpk9fVorbA4dWAUCWbbYiwAKCRA9fVorbA4d WKgXAKCNB+tJwiyD+qwfItkXnS4HYwmdqQCfTRlDMoXKnpTvkw+AyE6HRMFNG/4= =r8KQ -----END PGP SIGNATURE----- --=-HlF1I/ZmgL/6XP91L6Qd--