I'm using this command to extract initrd.lz archive file:
lzma -dc -S .lz initrd.lz | cpio -id
For ubuntu-14.04-desktop-amd64.iso/casper/initrd.lz this command is working perfect.
But for Elementary OS 0.3 Freya Beta 2
elementaryos-unstable-amd64.20150208/casper/initrd.lz
I'm getting this error:
How can I extract this initrd.lz file?
EDIT:
I tried Lzip:
Use the
file
command to find out the file type:So it tells you it's just a gzip file with a strange suffix. Since
gunzip
refuses to decompress files not having the right suffix, either rename the file or tell it to use a different suffix: