:: Re: [DNG] initramfs?
Pàgina inicial
Delete this message
Reply to this message
Autor: karl
Data:  
A: dng
Assumpte: Re: [DNG] initramfs?
Aitor:
...
> Hendrik, you can uncompress the content of the initrd.img by the
> following way:
>
> 1) Rename it to initrd.gz and use gunzip:
>
> # mv initrd.img initrd.gz
> # gunzip initrd.gz
>
> 2) After that, you can extract the files using cpio:
>
> # mkdir tmp
> # cd tmp
> # cpio -id < ../initrd


Wich is the same as

mkdir tmp
cd tmp
zcat ../initrd.img | cpio -id

so you don't have to rename the .img file, less typing.

Regards,
/Karl Hammar

-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden