LPIC-2 Exam 201 (Linux Engineer) — Question 18
What is the purpose of an initramfs during the Linux system start?
Answer options
- A. It loads required modules and starts sub sytems like LVM to make the root file system accessible to the kernel
- B. It moves the kernel from normal system memory to initram memory to speed up kernel access
- C. It copies the root file system's content to RAM to speed up the system and reduce writes to disk
- D. It creates a ram disk to store volatile data for directories like /tmp to reduce writes to disk
Correct answer: A
Explanation
The initramfs is crucial because it loads essential modules and starts subsystems like LVM, enabling the kernel to access the root file system during boot. Options B, C, and D misrepresent the initramfs's role, as it does not involve moving the kernel or copying the root file system content into RAM.