Question
Which of the following best describes the role of initrd?
- A. It is required to connect to the system via SSH.
- B. It contains basic kernel modules and drivers required to start the system. Correct
- C. It contains trusted certificates and secret keys of the system.
- D. It is required to initialize a random device within a Linux system.
Explanation
initrd (initial RAM disk, today usually an initramfs) is a temporary root file system loaded into memory by the boot loader together with the kernel. It holds the basic kernel modules, drivers and scripts needed to reach the real root file system, such as storage, RAID, LVM or encryption support, before control passes to init. It has nothing to do with SSH access, certificate storage or initializing the random device.