Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
7
rated 0 times [  7] [ 0]  / answers: 1 / hits: 9107  / 2 Years ago, fri, september 30, 2022, 5:18:07

Is there a command at the grub shell that would indicate if the machine is presenting EFI or BIOS firmware?



I'm using GRUB 2.00 on a 2010 Mac Pro. This computer has EFI firmware of course. But I have been trying for a couple of days to get it to boot Ubuntu in BIOS-emulation mode for want of NVIDIA display drivers. My understanding is that by the time GRUB is running, the decision to use EFI or BIOS emulation has already been made. So how can I check from GRUB?


More From » grub2

 Answers
4

As of GRUB 2.00, assuming GRUB is working well enough to get into normal mode rather than rescue mode, echo $grub_platform from the GRUB shell will show pc in BIOS mode and efi in UEFI mode.



The BIOS build corresponds to the grub-pc package, and the UEFI build corresponds to the grub-efi-amd64 (or, less commonly, grub-efi-ia32) package.


[#27681] Saturday, October 1, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
feeous

Total Points: 102
Total Questions: 122
Total Answers: 119

Location: Netherlands
Member since Thu, Jul 1, 2021
3 Years ago
;