What has to be done regarding the initramfs?

After manually compiling and installing a new kernel, what has to be done regarding the initramfs?
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

Download Printable PDF. VALID exam to help you PASS.

5 thoughts on “What has to be done regarding the initramfs?

  1. I vote for B, because:

    (1) The 2.6 kernel build process always creates a gzipped cpio format initramfs
    archive and links it into the resulting kernel binary. By default, this
    archive is empty (consuming 134 bytes on x86).
    Source: https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt
    (Section “Populating initramfs”)

    (2) install the kernel with the command: “sudo make install”
    Enable the kernel for boot “sudo update-initramfs -c -k 4.17-rc2 && sudo update-grub”
    Source: https://www.linux.com/topic/desktop/how-compile-linux-kernel-0/
    (Section “Compiling and installing”)

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.