grub_platform is a builtin variable in grub2, for legacy BIOS mode it is like: pc, for UEFI mode it is like: x86_64-efi
Currently, in the bottom left of the boot menu will display:
1.0.24 BIOS www.ventoy.net ----> This means current is Legacy BIOS mode
1.0.24 UEFI www.ventoy.net ----> This means current is UEFI mode
Currently, in the bottom left of the boot menu will display:
1.0.24 BIOS www.ventoy.net ----> This means current is Legacy BIOS mode
1.0.24 UEFI www.ventoy.net ----> This means current is UEFI mode