Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UO3tB-0000bQ-I4 for mharc-grub-devel@gnu.org; Fri, 05 Apr 2013 06:28:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50809) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO3t2-0000Zv-7c for grub-devel@gnu.org; Fri, 05 Apr 2013 06:28:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UO3sz-0003LN-M3 for grub-devel@gnu.org; Fri, 05 Apr 2013 06:28:48 -0400 Received: from mail.gw90.de ([188.40.100.199]:35494) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO3sz-0003LG-FR for grub-devel@gnu.org; Fri, 05 Apr 2013 06:28:45 -0400 Received: from e178064088.adsl.alicedsl.de ([85.178.64.88] helo=[192.168.2.49]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UO3sz-0004jb-5g for grub-devel@gnu.org; Fri, 05 Apr 2013 10:28:45 +0000 Message-ID: <1365157717.20168.24.camel@mattotaupa> Subject: How do I find out what module is needed for a command? From: Paul Menzel To: grub-devel@gnu.org Date: Fri, 05 Apr 2013 12:28:37 +0200 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-8lPbBgMKCiN9HS39Jt1q" X-Mailer: Evolution 3.4.4-3 Mime-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 188.40.100.199 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Apr 2013 10:28:55 -0000 --=-8lPbBgMKCiN9HS39Jt1q Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear GRUB developers, is there a program/script, which module I need to load to get a certain command? Using my distribution `/boot/grub/grub.cfg` $ more /boot/grub/grub.cfg [=E2=80=A6] if [ -s $prefix/grubenv ]; then load_env fi set default=3D"1>Debian GNU/Linux, with Linux 3.2.0-4-686-pae" if [ x"${feature_menuentry_id}" =3D xy ]; then menuentry_id_option=3D"--id" else menuentry_id_option=3D"" fi [=E2=80=A6] in my GRUB payload for coreboot, created with src/grub/grub-core $ ../grub-mkimage -d . -c grub.cfg -O i386-coreb= oot -o ../../grub2.elf memdisk tar ehci ohci uhci usb_keyboard serial all_v= ideo terminal -m ../memdisk.tar I currently get the following (excerpt) printed to the monitor/serial line Unknown command `if'. Unknown command `load_env'. Unknown command `fi'. Unknown command `if'. Unknown command `else'. Unknown command `fi'. Thanks, Paul --=-8lPbBgMKCiN9HS39Jt1q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlFep1UACgkQPX1aK2wOHVjPyACfcnd7XqXTo0+10LlefU0ff9Fd g2MAnRM+m7lTo1Z3agKppfo59XIyBVij =pDFt -----END PGP SIGNATURE----- --=-8lPbBgMKCiN9HS39Jt1q--