201-450 Exam QuestionsBrowse all questions from this exam

201-450 Exam - Question 37


After manually compiling and installing a new kernel, what has to be done regarding the initramfs?

Show Answer
Correct Answer: B

Since the initramfs contains kernel modules specific to the kernel version, a new initramfs must be built for the new kernel after manually compiling and installing it. The initramfs needs to include the correct modules to ensure that the new kernel can properly initialize the system hardware during boot, which requires creating an updated initramfs that matches the new kernel.

Discussion

5 comments
Sign in to comment
RockFerOption: B
Jun 30, 2022

I think it´s B...

Robert12Option: C
Nov 27, 2022

I think it's C - . It is automatically created when a new kernel is installed and deleted again when the kernel is removed from the system

lo_01234_ol
Jan 3, 2023

https://stackoverflow.com/questions/65868294/if-i-build-linux-kernel-from-source-does-it-contain-initramfs-inside-by-default

serlanOption: B
Nov 14, 2022

I think - B

MaikyCR28Option: B
Feb 20, 2023

B. The initramfs isn't installed during kernel installation, in the other hand, you'd built a new one for the new already installed kernel. E.g: After you install the kernel, you should run the following commands in order to install a new initramfs version: # sudo update-initramfs -c -k [kernel-version] # sudo update-grub

debloidOption: B
Jul 19, 2024

B - After compiling and installing a new kernel, you must generate an initramfs for the new kernel version and update your boot loader configuration to recognize the new kernel and its initramfs. These steps ensure that your system can properly boot using the new kernel.