Hi!
On several distros
Code:
sudo dmidecode -t0 | grep -Ei "BIOS boot|UEFI"
gives you, if you have UEFI with CSM, the output:
Code:
BIOS boot specification is supported
UEFI is supported
On ARCH based distros?
Edit:
"[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS"
-> only shows (it is not enough)
"BIOS"