grub2 conditionals

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
je55eah
Posts: 183
Joined: Mon Jul 26, 2021 5:27 pm
Has thanked: 30 times
Been thanked: 5 times

grub2 conditionals

Post by je55eah »

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.

Post Reply

Return to “Users”