Viewing contents of initrd

Ian Pilcher i.pilcher at comcast.net
Thu Jan 12 18:32:48 UTC 2006


Brian D. McGrew wrote:
> Is there anyway to look at what's been conglomerated into initrd???

It's a gzipped filesystem image, so your first step is to use gunzip to
uncompress it.  gunzip may balk at processing it, because the file name
doesn't end in .gz, but you can work around this by using cat and piping
the output to gunzip.

Once you've done this, just loopback mount it (mount -o loop,ro ...).
You'll have to be root to do this, of course.

HTH

-- 
========================================================================
Ian Pilcher                                        i.pilcher at comcast.net
========================================================================




More information about the fedora-list mailing list