Monday, October 28, 2019

GRUB2 - Create 2nd boot entry with different kernel command line options in GRUB_CMDLINE_LINUX_DEFAULT

I want to have a separate boot menu entry at boot. The only difference is the value of GRUB_CMDLINE_LINUX_DEFAULT. The original (first) boot has empty value for GRUB_CMDLINE_LINUX_DEFAULT, and the 2nd entry has a value that is passed to the kernel.


In short, I want to have two boot menu entries which the only difference is the kernel arguments. I poked around /etc/grub.d but couldn't find a way other than gross hack in /etc/grub.d.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...