initrd is an acronym for ‘Initial Ramdisk’. Its is a Ramdisk image that is used while booting the kernel. The
initrd image contains some basic utilities and essential drivers which allow the kernel to mount the root partition and invoke
To extract the contents of the
initrd.img file, follow the below steps. These steps are intended to be carried out in a Linux workstation. They are not compatible to a Microsoft® Windows machine.
Step 1: Copy the
initrd.img from the Linux install disc to a temporary folder on your Linux machine.
cp <Linux-install-media-mount-point>/isolinux/initrd.img /tmp/initrd
initrd.img is basically a
GZip image. Uncompress it to a specific folder.
gunzip < /tmp/initrd/initrd.img
Step 3: The output of the above
gunzip command is a file named ‘
initrd’ located in
/tmp/initrd folder. Mount this file on a custom directory.
mount –ro loop /tmp/initrd/initrd /mnt/initrd
Step 4: Create a folder where you prefer to save and later modify the contents of
initrd. Copy the contents from the directory where
initrd has been mounted to the newly created folder.
cp –r /mnt/initrd/* /tmp/initrd/contents
initrd – http://en.wikipedia.org/wiki/Initrd
The Linux Kernel HOWTO – http://oss.sgi.com/LDP/HOWTO/Kernel-HOWTO/create_initrd.html
Modifying initrd – http://www.redhat.com/archives/kickstart-list/2001-June/msg00121.html