[SOLVED] Changing kernel parameters on a uefi machine

cybertinus

New Member
Jan 2, 2024
7
1
3
The Netherlands
Hello all,

I want to change some kernel parameters, to increase the performance of my PVEs. I want to set the processor.max_cstate=1 and intel_idle.max_cstate=0 parameters. So, I updated /etc/default/grub, added the options to the GRUB_CMDLINE_LINUX variable, and ran both update-grub and proxmox-boot-tool refresh. When i rebooted, the options weren't added to the kernel.
When googling, I found that I need to update the update-grub command, because I'm running my PVEs in UEFI mode, and not in classic BIOS mode. But when I tried to do this, I got this warning:
Code:
root@pve01:~# grub-install --help
grub-install is disabled because this system is booted via proxmox-boot-tool, if you really need to run it, run /usr/sbin/grub-install.real

How can I update the kernel parameters on my PVEs running in UEFI mode?
 
Thnx for the pointer to the documentation. Should have found that myself.

Regardless: your pointer works, and updating the /etc/kernel/cmdline does work in setting extra kernel flags. So, my problem is solved!
 
  • Like
Reactions: cheiss
Great it worked!

Please just mark the thread as SOLVED by editing the first post, there should be a dropdown near the title field - this helps others find it more easily in the future :)
 
  • Like
Reactions: cybertinus