• Ubuntu日本語フォーラム / Ubuntu9.10 UCKでinitrdの編集
    • LiveCDCustomization - Community Ubuntu Documentation

      Also, I have read a few articles mentioning that Karmic (9.10) uses initrd.lz instead of initrd.gz. I do not know if this is true, but should mention it in case you are not getting the expected results. To unpack the initrd.lz file, you need to do this:

      # cd extract-cd/casper
      # mkdir lztempdir
      # cd lztempdir
      # lzma -dc -S .lz ../initrd.lz | cpio -imvd --no-absolute-filenames

      And to re-create the initrd.lz file:

      # cp ../initrd.lz ../inird.lz.orig
      # find . | cpio --quiet --dereference -o -H newc | lzma -7 > ../initrd.lz
Last modified 5 years ago Last modified on Nov 25, 2011 11:47:13 PM