From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UO55C-0007yt-Gl for mharc-grub-devel@gnu.org; Fri, 05 Apr 2013 07:45:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO550-0007qA-CK for grub-devel@gnu.org; Fri, 05 Apr 2013 07:45:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UO54v-0001Ty-4N for grub-devel@gnu.org; Fri, 05 Apr 2013 07:45:14 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:45360) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO54u-0001Te-UE for grub-devel@gnu.org; Fri, 05 Apr 2013 07:45:09 -0400 Received: by mail-ee0-f41.google.com with SMTP id c1so1334275eek.14 for ; Fri, 05 Apr 2013 04:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type; bh=jNi24uod3+fD/pj8sXZD6HeWojLPWBIicTO8VtW2N1U=; b=ppILsUp9CnUbQpYBPEnEIDcHCdoimDj/x80+GjX3xSdgFWjUUA8eHCDMhioCZavXTK CHWdpjEINzVa+sKAxuMRavN5skKxFpK6hRA/9DK0NMHqDp7C/PC3I3k5/USXaqN5vh8i YY9JzkkSv3C01haE3jrLtK2t0mxRKibZ2Kj0YnPrNecCPUbkimiESWePJqFJOe8mOod+ 9QHdZWCgkYGx4SoEjWCqjcUtV4mowNJyJr43jn4wGu+nYwQ1CXN9+9i2/PlR8074dbT9 BLeYCEJauM3xfRNg89PQ33gtS82X2cxeR5Sa8aHNmTdTCs2V/pW5Zg+276do2Wl1vF9S 7IcA== X-Received: by 10.15.35.193 with SMTP id g41mr18911913eev.45.1365162308133; Fri, 05 Apr 2013 04:45:08 -0700 (PDT) Received: from debian.x201.phnet (45-233.197-178.cust.bluewin.ch. [178.197.233.45]) by mx.google.com with ESMTPS id s47sm14995794eeg.8.2013.04.05.04.45.05 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Apr 2013 04:45:07 -0700 (PDT) Message-ID: <515EB93C.6040304@gmail.com> Date: Fri, 05 Apr 2013 13:45:00 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: How do I find out what module is needed for a command? References: <1365157717.20168.24.camel@mattotaupa> In-Reply-To: <1365157717.20168.24.camel@mattotaupa> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig7823E79A4B4F473E3824609F" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 74.125.83.41 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:45:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig7823E79A4B4F473E3824609F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05.04.2013 12:28, Paul Menzel wrote: > 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 > $ 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-c= oreboot -o ../../grub2.elf memdisk tar ehci ohci uhci usb_keyboard serial= all_video terminal -m ../memdisk.tar >=20 Don't use -c, put grub.cfg on memdisk and add normal. > 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 >=20 > Thanks, >=20 > Paul >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --------------enig7823E79A4B4F473E3824609F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlFeuTwACgkQNak7dOguQgnpmgD+Lo5u8EOfdrA1KOb0Z30eDTgM HgnKOK7D3MqRSsQCKHIA/3O7MuWIfMN6j9EaZHffdFtOV9THhk+nTruXfAXGQdKH =hssK -----END PGP SIGNATURE----- --------------enig7823E79A4B4F473E3824609F--