Sample Header Ad - 728x90

create initrd image compressed with zstd

1 vote
1 answer
1152 views
I have initrd image compressed with xz. This is how I created it from image file initrd: e2image -ar initrd - | xz -9 --check=crc32 > initrd.xz now I need same image compressed using zstd algorithm. What command/parameters do I have to use, for the kernel to be able boot from this initrd image? I have CONFIG_RD_ZSTD=y enabled in my kernel.
Asked by Martin Vegter (586 rep)
Oct 2, 2022, 05:56 AM
Last activity: Oct 3, 2022, 09:12 PM