Chapter 3. Initramfs

Table of Contents

1. Using the initial RAM disk (initrd)
2. Compressed cpio images
3. Creating an initramfs

1. Using the initial RAM disk (initrd)

initrd provides the capability to load a RAM disk by the boot loader. This RAM disk can then be mounted as the root file system and programs can be run from it. Afterwards, a new root file system can be mounted from a different device. The previous root (from initrd) is then moved to a directory and can be subsequently unmounted.