URL:
  <http://savannah.gnu.org/bugs/?35651>

                 Summary: reopen bug #35238 - multiple initrd alignment bug
                 Project: GNU GRUB
            Submitted by: nky
            Submitted on: Втр 28 Фев 2012 05:34:59
                Category: Booting
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: nky
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

Sorry for creating new record, but I was unable to change #35238 status.

https://savannah.gnu.org/bugs/?35238

Current implementation fails when mixing .gz and .cpio initrd images. 
Test case:
initrd img1.cpio.gz img2.cpio
leads to wrong result.

.cpio header must be aligned on 4-byte boundary, while .gz size is not
required to be multiple of 4.

Please add padding by zeroes to align initrd size on 4-byte boundary. See
format specification here:
http://www.kernel.org/doc/Documentation/early-userspace/buffer-format.txt 




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35651>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
Bug-grub@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to