From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N4HOA-0001nV-U3 for mharc-grub-devel@gnu.org; Sat, 31 Oct 2009 13:05:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4HO8-0001mK-Lk for grub-devel@gnu.org; Sat, 31 Oct 2009 13:05:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4HO4-0001kH-40 for grub-devel@gnu.org; Sat, 31 Oct 2009 13:05:16 -0400 Received: from [199.232.76.173] (port=32769 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4HO3-0001kA-Nz for grub-devel@gnu.org; Sat, 31 Oct 2009 13:05:11 -0400 Received: from mail-bw0-f215.google.com ([209.85.218.215]:42376) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N4HO3-0005N9-8L for grub-devel@gnu.org; Sat, 31 Oct 2009 13:05:11 -0400 Received: by bwz7 with SMTP id 7so4777836bwz.26 for ; Sat, 31 Oct 2009 10:05:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=7GaoMfin3UQGzE5Ce/8NOPyh9uwIHrIP3S/Nx00vLjc=; b=dEgc66GWCTAQTfJTNXAXQLrQ0r1PcF3Xwczu+KdIT1zA7uJQOFOe1jNLT5bYpzqqxZ fr44qXmS6aP6Brxer1YMAs+o7LM+aGApw+NEqT7n9FrYbEY2B9zzSyj/M4/cA9/3VA7W phUBABC9z9OEqQmrVEkX9d9PC70ZSI0AoGpYY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=EigDO6VvqX/ol2V1Rh1iUeEz8fYkmcCDNsBUJTH88uAMKIdoh0UIM+DR6dW88IjNz4 saheskfHLKf2csvurFG5VTcI0HXofzrpzRf2dgtWDYq2WLkYgLQ+/8ILvcdZyc9fApFQ Mp1QBz562AnHFSzLjexxTv+OQ0wYgnDn2DSPE= Received: by 10.204.48.141 with SMTP id r13mr2315166bkf.0.1257008709720; Sat, 31 Oct 2009 10:05:09 -0700 (PDT) Received: from ?192.168.178.28? (f050128109.adsl.alicedsl.de [78.50.128.109]) by mx.google.com with ESMTPS id b17sm2232228fka.43.2009.10.31.10.05.09 (version=SSLv3 cipher=RC4-MD5); Sat, 31 Oct 2009 10:05:09 -0700 (PDT) From: Ron To: grub-devel@gnu.org Content-Type: text/plain; charset="UTF-8" Date: Sat, 31 Oct 2009 18:01:56 +0100 Message-ID: <1257008516.3149.45.camel@ron-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: "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:05:16 -0000 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". A short google search gave me the following similar bug report but no solution: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543924 I believe that Grub2 has some problems when the file is located nearly at the end of the filesystem because I've put the file on the drive when it was nearly full. Also I've checked the md5 value of the file under Linux and it was correct but under Grub2 a crc value check shows a mismatch. But the most interesting fact is that after I've deleted some other files to make some space I made a copy from the ISO file on the USB flash drive which booted without any problems.