Follow-up Comment #3, bug #35238 (project grub):

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/?35238>

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


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to