| 2 | | |
| 3 | | = initrd.lz = |
| 4 | | * [https://forums.ubuntulinux.jp/viewtopic.php?id=6874 Ubuntu日本語フォーラム / Ubuntu9.10 UCKでinitrdの編集] |
| 5 | | * [https://help.ubuntu.com/community/LiveCDCustomization LiveCDCustomization - Community Ubuntu Documentation] |
| 6 | | > 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: |
| 7 | | > {{{ |
| 8 | | > # cd extract-cd/casper |
| 9 | | > # mkdir lztempdir |
| 10 | | > # cd lztempdir |
| 11 | | > # lzma -dc -S .lz ../initrd.lz | cpio -imvd --no-absolute-filenames |
| 12 | | > }}} |
| 13 | | > And to re-create the initrd.lz file: |
| 14 | | > {{{ |
| 15 | | > # cp ../initrd.lz ../inird.lz.orig |
| 16 | | > # find . | cpio --quiet --dereference -o -H newc | lzma -7 > ../initrd.lz |
| 17 | | > }}} |