grub2 conditionals
Posted: Wed Oct 12, 2022 2:39 am
Do any of you wizards know a way to make a boot option that is only displayed if a partition with a specified UUID is present?
I tried to set a variable with search and then to test if the variable is not empty with an if clause that contains a menu entry, but it didn't work. I tried a lot of variations, but I suspect I didn't have the syntax correct.
The goal is to boot a frugal install if it is present, and to do something else if it is not.