examining initrd contents

James Olin Oden joden at malachi.lee.k12.nc.us
Thu Sep 11 16:26:27 UTC 2003


On 11 Sep 2003, Ben Hsu wrote:

> Hi.
> 
> I just compiled 2.6.0-test5 and found that the initrd was > 2x bigger
> than it was in test4. In fact I had to tweak /sbin/mkinitrd as it was
> running out of space when making it. I am curious about this and want to
> examine the contents of the test5 initrd. How would I go about it?
> I tried "mount -o loop /boot/initrd-2.6.0-test5.img /tmp/loop0" but it
> hangs
>
Its gzipped compressed so do something like:

	gzip -d <  /boot/initrd-2.6.0-test5.img > /tmp/initrd
	mount -o loop /tmp/initrd /tmp/loop0

Cheers...james 
> 
> --
> Rhl-beta-list mailing list
> Rhl-beta-list at redhat.com
> http://www.redhat.com/mailman/listinfo/rhl-beta-list
> 





More information about the test mailing list