@xnox, thank you, in #3 I was testing date.img as a plain cpio without
compression,
while with your updated lz4/xz commands, it appears that when date.img matches
the compression of initrd.img, then it works fine.
So the problem only happens when mixed compressions are used.
Btw, the reason I w
`| lz4 > date.img` is incorrect
One must use `lz4 -9 -l`
For xz one should use `xz --check=crc32`
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1840945
Title:
Concatenated lz4 initrds
I tried all the COMPRESS= methods available in /etc/initramfs-
tools/initramfs.conf in both eoan and bionic.
For each one, I ran:
date > date.txt
echo date.txt | cpio -oH newc > date.img
update-initramfs -u
cat initrd.lz4 date.img > initrd.img
kvm -m 512 -kernel vmlinuz -initrd initrd.img -append
This is about loading the kernel/initrd, so running apport-collect on
the host won't provide any useful info, and running it inside the
initramfs isn't possible.
** Changed in: linux (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of
4 matches
Mail list logo