initramfs

From Wikipedia, the free encyclopedia
Jump to: navigation, search

initramfs, abbreviated from "initial ram file system", is the successor of initrd. It is a cpio archive of the initial file system that gets loaded into memory during the Linux startup process. The Linux kernel mounts it as root file system and starts the init process from it. This will complete certain tasks before the real root file system is loaded; thus, initramfs needs to contain all of the device drivers and tools needed to mount the real root filesystem.[1]

The initramfs is one solution to the chicken-and-egg problem of some mass storage devices and some file systems—​especially cryptographic file systems—​requiring complex device drivers to read data from them, when device drivers are normally stored inside the file system in the mass storage device.[1]

See also[edit]

References[edit]

  1. ^ a b "Documentation/filesystems/ramfs-rootfs-initramfs.txt". Linux kernel documentation. kernel.org. 2013-09-17. Retrieved 2014-03-13.