|
Loading mixed compression initrds fails
|
|
2019-08-26, 07:19
Post: #1
|
|||
|
|||
|
Loading mixed compression initrds fails
I think that ipxe doesn't properly align the initrds into 4-byte boundaries or something, as if one tries to load two initrds of different compressions, it fails and the kernel reports "decompression error", while it works with grub.
For example, the Ubuntu initrd.img is actually two concatenated initrds: [early cpio microcode + main gzip initrd.img] If I create an additional one of my own with: Code: # date > date.txtAnd I specify in boot.ipxe: Code: initrd initrd.imgThen the problem is reproduced; while the same initrds are loaded fine with grub. On the other hand using same compressions works, maybe because it doesn't have the alignment issue? I.e. [(cpio+gzip)+gzip] or [cpio+(cpio+gzip)] or [(cpio+lz4)+lz4] work. |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
Loading mixed compression initrds fails - alkisg - 2019-08-26 07:19
RE: Loading mixed compression initrds fails - NiKiZe - 2019-08-26, 08:50
RE: Loading mixed compression initrds fails - alkisg - 2019-08-26, 08:58
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



