glim
glim copied to clipboard
Don't show 64-bit ISOs in menu if CPU is 32-bit
Since grub2 knows the CPU architecture, you could add a test before each menuentry to check that the $arch is compatible? e.g. currently if I boot to UEFI-32 or MBR-32, the menus lists all 64-bit ISOs.