Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LmLUv-0006B6-8y for mharc-grub-devel@gnu.org; Wed, 25 Mar 2009 01:17:53 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LmLUs-00069P-45 for grub-devel@gnu.org; Wed, 25 Mar 2009 01:17:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LmLUn-000677-66 for grub-devel@gnu.org; Wed, 25 Mar 2009 01:17:49 -0400 Received: from [199.232.76.173] (port=47852 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LmLUm-000671-R9 for grub-devel@gnu.org; Wed, 25 Mar 2009 01:17:44 -0400 Received: from ti-out-0910.google.com ([209.85.142.190]:19809) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LmLUm-00064v-BF for grub-devel@gnu.org; Wed, 25 Mar 2009 01:17:44 -0400 Received: by ti-out-0910.google.com with SMTP id y8so1759512tia.10 for ; Tue, 24 Mar 2009 22:17:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=PWHJQPdxGtiNSYlQBjNyRgPXOjJHlMwayLTWkQGIx3A=; b=C2V+dllPkRAF/6KPHzxPL7Ys2z3su4VQ/B2TAErBBc2DyrHhWaYbL1hfHQycinCA17 2K1XD/D5H80hGFixNKTsJmViFDhlLRQYPDweemLC6QQW0GL4f/gJBPKusPuu05b8ph/j 2rxAwxERazdsixOS9M7THn/++wtxrSNYCFu1Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=AYerIcLcslKeaRkKWvFLjJQpqWKgBUyAMCkKhEjPs1YHxn8Jk9AKRMwKDnyNicMoYt q94UquokLdle5rNmyccRvkeKkEQBNPJENjNW1q1PT9wWzFmwxbKNLpCtgM2VTgC+gXqI W4dmP8gfmzUnVTJpwXFAo6jqlVf9MCnNIHcps= MIME-Version: 1.0 Received: by 10.110.14.12 with SMTP id 12mr13984132tin.22.1237958260659; Tue, 24 Mar 2009 22:17:40 -0700 (PDT) In-Reply-To: <1237930869.3438.4.camel@fz.local> References: <1237930869.3438.4.camel@fz.local> Date: Wed, 25 Mar 2009 13:17:40 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: grub-emu is broken since rev 2036 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Mar 2009 05:17:50 -0000 On Wed, Mar 25, 2009 at 5:41 AM, Felix Zielcke wrote: > Hi, > > since revision 2036, i.e. Bean's command rewrite grub-emu is broken. On > every command you'll get `invalid arch independent ELF magic'. Hi, This is caused by the dynamic loading of commands. In normal.mod, it scans command.lst and tries to load command on demand. However, the modules on disk are pc booting, they can't be loaded by grub-emu. The solution is to point the root device elsewhere with -r option, so that command.lst won't be found. -- Bean