[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO
From: |
H. Peter Anvin |
Subject: |
Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO |
Date: |
Thu, 23 Apr 2015 20:30:09 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 04/23/2015 08:14 PM, Andrei Borzenkov wrote:
> В Thu, 23 Apr 2015 15:17:02 -0700
> "H. Peter Anvin" <address@hidden> пишет:
>
>> 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.
>
> It does not break for kernel. What makes is so different in case of
> syslinux?
>
Padding the image doesn't matter for the kernel, but memdisk relies on
being able to see where the end of the compressed image is, because that
is where the length is located.
-hpa
- Using memdisk with grub2 and a gzip-compressed ISO, David Shaw, 2015/04/23
- Re: Using memdisk with grub2 and a gzip-compressed ISO, Andrei Borzenkov, 2015/04/23
- Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO, H. Peter Anvin, 2015/04/23
- Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO, Andrei Borzenkov, 2015/04/23
- Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO,
H. Peter Anvin <=
- Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO, Andrei Borzenkov, 2015/04/23
- Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO, H. Peter Anvin, 2015/04/24
- Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO, Andrei Borzenkov, 2015/04/24
- Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO, H. Peter Anvin, 2015/04/27
- Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO, Vladimir 'φ-coder/phcoder' Serbinenko, 2015/04/29
- Re: [syslinux] Using memdisk with grub2 and a gzip-compressed ISO, Andrei Borzenkov, 2015/04/29
Re: Using memdisk with grub2 and a gzip-compressed ISO, Andrei Borzenkov, 2015/04/29