How to update /boot/grub/menu.lst?

How can I set the ex.: “intel_idle.max_cstate=0” in the boot kernel parameter?

So just want to update /boot/grub/menu.lst, how to do it permanently on SLES 11?

Without using yast.

Or just manually edit the menu.lst file and reboot, and it will be permanent, even after future kernel updates?

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

Edit /etc/default/grub to add kernel parameters and then do grub2-mkconfig -o /boot/grub2/grub.cfg to update grub.

Edit: I just noticed that you use legacy grub you can manually edit menu.lst.

Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply