05-18-2021, 01:17 AM
F2/F4/F5 are used by Ventoy and have some special process in the C source code (e.g. cannot be nested; use the same variable context...).
So you can only use F6 for custom grub menu.
For example:
Now, if you press F2, then you can NOT press F3/F4 again unless you press ESC to return to the main menu. This is one of the Ventoy's special process in the C source code.
variable context is another aspect, I need to protect the variables used by Ventoy to prevent modified by the custom script. This is implemented by a new variable context.
So not so simple and I think F6 with submenu is enough now.
So you can only use F6 for custom grub menu.
For example:
Now, if you press F2, then you can NOT press F3/F4 again unless you press ESC to return to the main menu. This is one of the Ventoy's special process in the C source code.
variable context is another aspect, I need to protect the variables used by Ventoy to prevent modified by the custom script. This is implemented by a new variable context.
So not so simple and I think F6 with submenu is enough now.