From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N4Hn1-000476-6B for mharc-grub-devel@gnu.org; Sat, 31 Oct 2009 13:30:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4Hmz-00045m-L5 for grub-devel@gnu.org; Sat, 31 Oct 2009 13:30:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4Hmv-00044X-0T for grub-devel@gnu.org; Sat, 31 Oct 2009 13:30:57 -0400 Received: from [199.232.76.173] (port=60887 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4Hmu-00044L-FR for grub-devel@gnu.org; Sat, 31 Oct 2009 13:30:52 -0400 Received: from xvm-190-8.ghst.net ([217.70.190.8]:50907 helo=aybabtu.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N4Hmu-0000Pg-5Q for grub-devel@gnu.org; Sat, 31 Oct 2009 13:30:52 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1N4Hmn-00061i-0n for grub-devel@gnu.org; Sat, 31 Oct 2009 18:30:45 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1N4Hmo-0006jp-Hx for grub-devel@gnu.org; Sat, 31 Oct 2009 18:30:46 +0100 Date: Sat, 31 Oct 2009 18:30:46 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20091031173046.GA25795@thorin> References: <1257008516.3149.45.camel@ron-desktop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1257008516.3149.45.camel@ron-desktop> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: "error: invalid magic number" when booting from ISO loopback 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: Sat, 31 Oct 2009 17:30:58 -0000 On Sat, Oct 31, 2009 at 06:01:56PM +0100, Ron wrote: > Hi, > > I was playing around with Grub2 (latest svn version) and its loopback > feature and had some problems to boot an ISO. The ISO file is the 32Bit > version of Ubuntu 9.10 which is located on a 8GB USB flash drive with > one FAT32 partition. I've tried to boot it with the following menu > entry: > > menuentry "Ubuntu" { > set isofile="/boot/isos/ubuntu-9.10-desktop-i386.iso" > > loopback loop $isofile > linux (loop)/casper/vmlinuz boot=casper iso-scan/filename=$isofile > quiet splash noprompt -- > initrd (loop)/casper/initrd.lz > } > > This entry fails silently and when the commands were executed one by one > the linux command shows the error message "error: invalid magic number". This error means vmlinuz wasn't read correctly. This could be either a problem in loopback/iso9660 or a problem in the partition that contains ubuntu-9.10-desktop-i386.iso. Can you figure out which applies? For example, if you put a physical CD with ubuntu-9.10-desktop-i386.iso in the drive and access it from GRUB (via ata.mod), are you able to load Linux this way? -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."