CompTIA Linux+ XK0-005 Practice Question
An administrator has just completed the installation of a new kernel on a Linux system. After installing the kernel and related modules, they wish to update the GRUB2 bootloader configuration to ensure that the system will boot using this new kernel. Which of the following commands should the administrator run to correctly generate a new configuration and ensure the new kernel is bootable?
mkinitrd /boot/initrd.img
grub2-install
grub2-update
grub2-mkconfig -o /boot/grub2/grub.cfg