179
rated 0 times
[
179]
[
0]
/ answers: 1 / hits: 182795
/ 2 Years ago, sun, june 26, 2022, 1:51:22
How do I determine whether a particular running Ubuntu system was booted using EFI/UEFI, or BIOS?
More From » boot
How do I determine whether a particular running Ubuntu system was booted using EFI/UEFI, or BIOS?
The easiest way is to check to see if /sys/firmware/efi
exists. It does not appear if you booted using traditional BIOS.
#!/bin/bash
[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS