On Sat, 13 Jul 2019 18:18:35 +0100, Mick wrote:

> Anyway, if you want to look at the initramfs contents manually, I
> suppose you will need to decompress your initramfs in a temporary
> directory to see its contents.  First find what archive format has been
> used.  
> 
> file /boot/EFI/... initramfs-XXX.img
> 
> will output gzip, bzip2, lzma or similar archive type.  Then create a 
> temporary directory to work in and use the corresponding compression
> type:
> 
> mkdir ~/tmp_initramfs
> cd ~/tmp_initramfs
> 
> zcat /boot/EFI/... initramfs-XXX.img | cpio -idmv

Did you build the initramfs with genkernel or dracut? If the latter, just
run lsinitrd, which lists the contents of the current kernel's initramfs.
You can also inspect individual files within the initramfs.


-- 
Neil Bothwick

Your lack of organisation does not represent an
emergency in my world.

Attachment: pgpSJyHJfLhKm.pgp
Description: OpenPGP digital signature

Reply via email to