paperlined.org
apps > linux > initrd
document updated 16 years ago, on Nov 6, 2008
Debugging initrd/initramfs images when they don't work correctly.

First of all, you can usually extract the files on a functioning OS.

linux/Documentation/initrd.txt, see "noinitrd". (though how exactly is this used for debugging?)

Some initrd scripts can have special triggers built in to them:

A nice cpio+qemu script can be created that allows you to rapidly make changes and then test them.

To recreate/update the initrd with your new files:

(background) Tools that create initrd filesystems:

(background) Useful /proc/ stuff.

==External links==