Re: Viewing contents of initrd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Wendel wrote:

> Ian Pilcher wrote:
>> 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
>> 
> 
> After unzipping, you can also use "cpio -i < filename" to extract the
> individual directories and files.
> 

star -t -z -v -f filename.  Don't bother gunzipping.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux