LPIC-2 Exam 201 (Linux Engineer) — Question 60
After manually compiling and installing a new kernel, what has to be done regarding the initramfs?
Answer options
- A. To initramfs is independent of the kernel and should not be modified unless the hardware configuration of the machine has changed
- B. Since the initramfs contains kernel modules, a new initramfs must be built for the new kernel
- C. During the compilation of the Linux kernel, a new initramfs is built automatically. The new initramfs only needs to be installed
- D. The system should be restarted since the initramfs reconfigures itself for the new kernel during the startup of the system
Correct answer: C
Explanation
Option C is correct because during the kernel compilation, a new initramfs is indeed generated, and the primary requirement is to install it. The other options are incorrect as they either misunderstand the relationship between initramfs and the kernel or misrepresent the initialization process.