How do I mount a Ubuntu initrd.img?
-
28-10-2019 - |
Pergunta
There is a bug with Ubuntu 10.04 Kernel updates (-31,-32) and I want to mount the initrd.img so I can compare the kernel images and see which modules are missing.
I have already tried -o loop with no success. Anyone have any advice?
Solução
The initrd (technically initramfs) is a compressed CPIO archive. You can use the cpio
command to manipulate it.
For example: zcat initramfs|cpio -tiv
will list the files in the archive.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow