i am trying to extract the initrd.lz from the casper folder

lzma -dc -S .lz initrd.lz | cpio -imvd --no-absolute-filenames

and i get this message:

lzma: Decoder error
cpio: premature end of archive

i am using ubuntu 10.10, is there another command to extract lz files? am i missing a parameter?

what can be the issue? thanks

up vote 15 down vote accepted
+50

You will see this error if you are :

  1. Using a different distribution other than Ubuntu (for example Mint) OR
  2. you have an old version of Ubuntu (eg: Karmic 9.10) OR
  3. you have a disk error OR
  4. you are trying using a software like Reconstructor

If you want to customize your initrd, i recommend to use the latest version 11.10 and then customize it.

  • oh i was using mint11 file with ubuntu 11.10 it works, thanks – aki Dec 2 '11 at 12:42

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.