From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YlPR1-0007sP-Pd for mharc-grub-devel@gnu.org; Thu, 23 Apr 2015 18:17:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlPQz-0007qm-Oh for grub-devel@gnu.org; Thu, 23 Apr 2015 18:17:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlPQw-0008H7-RB for grub-devel@gnu.org; Thu, 23 Apr 2015 18:17:25 -0400 Received: from terminus.zytor.com ([2001:1868:205::10]:49457 helo=mail.zytor.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlPQw-0008F6-Hh for grub-devel@gnu.org; Thu, 23 Apr 2015 18:17:22 -0400 Received: from tazenda.hos.anvin.org ([IPv6:2601:9:7280:900:e269:95ff:fe35:9f3c]) (authenticated bits=0) by mail.zytor.com (8.14.8/8.14.5) with ESMTP id t3NMH80B011453 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Thu, 23 Apr 2015 15:17:08 -0700 Message-ID: <55396F5E.7090303@zytor.com> Date: Thu, 23 Apr 2015 15:17:02 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: David Shaw , grub-devel@gnu.org, syslinux@zytor.com Subject: Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:1868:205::10 Cc: Andrei Borzenkov 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: Thu, 23 Apr 2015 22:17:26 -0000 On 04/23/2015 07:23 AM, David Shaw via Syslinux wrote: > > I'm not sure if this is related to the problem, but note the length > in the "Ramdisk" line from grub legacy is one byte shorter than the > length from grub2. Also note that the length given in the "gzip > image" line is shifted one byte to the left in the grub legacy > version (i.e. it's exactly 0x100 times larger). > That would definitely break using a compressed ramdisk. And yes, this is why the length is wrong. This would be a Grub2 bug. -hpa