From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UO4VE-0001j7-4A for mharc-grub-devel@gnu.org; Fri, 05 Apr 2013 07:08:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO4VB-0001iZ-M3 for grub-devel@gnu.org; Fri, 05 Apr 2013 07:08:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UO4VA-0003K4-92 for grub-devel@gnu.org; Fri, 05 Apr 2013 07:08:13 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:33571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO4VA-0003Jo-25 for grub-devel@gnu.org; Fri, 05 Apr 2013 07:08:12 -0400 Received: by mail-lb0-f181.google.com with SMTP id r11so3611203lbv.40 for ; Fri, 05 Apr 2013 04:08:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:cc:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type; bh=8tU7slSyti8mHjlQNhZ+UuRKTrX/AhuCN/X1KQIzDzs=; b=f63y9dSIrcbXsuESvm2neOCy9X1VjLXZEdXGnng4ZWtP+vNvlOXSovgZJFMfCwOfZh G4tDitP1FyrCPkcmWpXTZC7Thc28aJ+HfsB7DVc7M0x19zVsS3dMpejEXbd5zNwvtN/R p9I3SrdQfBueUjfpCZkXpRbCn1PDc3JhD9mMJGggVJ7TgTP/nNoAsmctnih0rsdaWJn5 LA5JwZnalirb8HB++iOZGM8C0ji/yzW/LQqmojlUVUPnxkerrEm/1HbWFYZUDOKP5xBE wlNddcjWV/i4f1ClEMoowXGBhI/ZHnQTLkqtYD+GqNXoqrSaFKzoxebgVpAoA/NTsufp LiBg== X-Received: by 10.112.138.198 with SMTP id qs6mr5740341lbb.68.1365160091098; Fri, 05 Apr 2013 04:08:11 -0700 (PDT) Received: from opensuse.site ([94.29.72.160]) by mx.google.com with ESMTPS id fz10sm5296408lbb.12.2013.04.05.04.08.10 (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 05 Apr 2013 04:08:10 -0700 (PDT) Date: Fri, 5 Apr 2013 15:08:08 +0400 From: Andrey Borzenkov To: The development of GNU GRUB Subject: Re: How do I find out what module is needed for a command? Message-ID: <20130405150808.60383f40@opensuse.site> In-Reply-To: <1365157717.20168.24.camel@mattotaupa> References: <1365157717.20168.24.camel@mattotaupa> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.14; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/oW9qnoWwS.8akfF0L=JwOLX"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.217.181 Cc: paulepanter@users.sourceforge.net 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 11:08:15 -0000 --Sig_/oW9qnoWwS.8akfF0L=JwOLX Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Fri, 05 Apr 2013 12:28:37 +0200 Paul Menzel =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: > Dear GRUB developers, >=20 >=20 > is there a program/script, which module I need to load to get a certain > command? Using my distribution `/boot/grub/grub.cfg` >=20 /usr/lib/grub/i386-pc/command.lst replace i386-pc with your platform.=20 > $ 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" >=20 > if [ x"${feature_menuentry_id}" =3D xy ]; then > menuentry_id_option=3D"--id" > else > menuentry_id_option=3D"" > fi > [=E2=80=A6] >=20 > in my GRUB payload for coreboot, created with >=20 > src/grub/grub-core $ ../grub-mkimage -d . -c grub.cfg -O i386-cor= eboot -o ../../grub2.elf memdisk tar ehci ohci uhci usb_keyboard serial all= _video terminal -m ../memdisk.tar >=20 > I currently get the following (excerpt) printed to the monitor/serial > line >=20 > Unknown command `if'. > Unknown command `load_env'. > Unknown command `fi'. > Unknown command `if'. > Unknown command `else'. > Unknown command `fi'. >=20 You need to load "normal" module and enter normal mode. >=20 > Thanks, >=20 > Paul --Sig_/oW9qnoWwS.8akfF0L=JwOLX Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlFesJkACgkQR6LMutpd94wRPwCfQa4C2ejUDikDb7Prh37A2Gn5 kMsAn0v6pBSlK78F0V4iic0vkehCjOnC =jKom -----END PGP SIGNATURE----- --Sig_/oW9qnoWwS.8akfF0L=JwOLX--