Sample Header Ad - 728x90

Impact of disabling kexec_load_disabled kernel parameter

0 votes
1 answer
405 views
According to the documenation of the kernel parameters kexec_load_disabled , > This value defaults to 0 (false: kexec_load enabled), but can be set > to 1 (true: kexec_load disabled). Once true, kexec can no longer be > used, and the toggle cannot be set back to false. What this documentation says is that if this parameter is set to true, i.e. 1, then once the kernel is loaded it cannot be unloaded at runtime and a new kernel loaded in its place. So if kernel 6.10.13 is installed on the machine with the kernel parameter kexec_load_disabled set to 1, will it impact the upgrade of the kernel to ver 6.11.2? Will it prevent it even after a reboot? Also this parameter if set to true does not prevent entries being manipulated in the boot loader like GRUB. So in GRUB an entry can be made to load some other kernel version. Is my understanding correct?
Asked by KDM (116 rep)
Oct 7, 2024, 07:28 AM
Last activity: Oct 7, 2024, 07:44 AM