View previous topic :: View next topic |
Author |
Message |
mauricev Apprentice
Joined: 22 Mar 2004 Posts: 202
|
Posted: Sun Jan 03, 2021 5:01 am Post subject: How can my machine be magically switching from UEFI to BIOS? |
|
|
Setup an UDOO Bolt to boot up with in default UEFI mode. Set up partitions as follows
Code: | Disklabel type: gpt
Disk identifier: 08291972-7D75-4AD4-AACB-6D5F87F6E9C7
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 7342079 6291456 3G Linux swap
/dev/nvme0n1p3 7342080 250067632 242725553 115.7G Solaris /usr & Apple ZFS |
Grub was installed as follows in a chrooted environment
Code: | grub-install --efi-directory=/boot/efi |
The executable grubx64.efi sits in /boot/efi.
But when I boot up and check dmesg for efi, I get
Code: | dmesg| grep efi
[ 0.024473] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[ 2.016564] tsc: Refined TSC clocksource calibration: 1996.245 MHz |
Similarly, ls of /sys/firmware lists the following directories
Code: | acpi memmap qemu_fw_cfg |
efi should be there, but it isn't. It appears as if the machine somehow decided to boot BIOS style and not UEFI.
However, if I remove grubx64.efi, the system just loops into the BIOS setup screen and can't boot confirming it's executing this file to boot, so how can it do this? |
|
Back to top |
|
|
mauricev Apprentice
Joined: 22 Mar 2004 Posts: 202
|
Posted: Sun Jan 03, 2021 6:18 am Post subject: |
|
|
My system was, in fact, booting with UEFI all along. I am using a custom kernel and I had the EFI related configuration disabled. Once I enabled it, EFI is now showing up in dmesg and in /sys/firmware. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|