View previous topic :: View next topic |
Author |
Message |
chubbypiper n00b
Joined: 27 Jun 2018 Posts: 33
|
Posted: Thu Jul 08, 2021 3:55 am Post subject: [SOLVED] System not booting into UEFI |
|
|
I'm having some issues getting my system to boot into UEFI mode. I discovered this as I was attempting to get fwupd up and running, but it kept complaining about capsule updates not available/enabled, and that the firmware cannot be updatedin in legacy BIOS mode.
Realizing that /sys/firmware/efi didn't exist, I set about to get UEFI enabled. I booted into the admincd (admincd-amd64-20210630T214504Z.iso), mounted my hard drives, did the bind mounts, and ended up in a chroot with /sys/firmware/efi being populated. So I ran grub-install --efi-directory=/boot/ (/boot/ is my fat32 EFI partition, and it does have the esp flag), followed by grub-mkconfig -o /boot/grub/grub.cfg. At that time, it did mention installing the UEFI menu item.
However, after a reboot back into the normal system, I'm still not seeing /sys/firmware/efi existing, and efibootmgr -v reports "EFI variables are not supported on this system."
Is there something else I need to do in order to enable UEFI boot on my system?
Last edited by chubbypiper on Thu Jul 08, 2021 4:41 am; edited 1 time in total |
|
Back to top |
|
|
figueroa Advocate
Joined: 14 Aug 2005 Posts: 3007 Location: Edge of marsh USA
|
Posted: Thu Jul 08, 2021 4:01 am Post subject: |
|
|
Is your BIOS set to boot via UEFI? _________________ Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi |
|
Back to top |
|
|
chubbypiper n00b
Joined: 27 Jun 2018 Posts: 33
|
Posted: Thu Jul 08, 2021 4:31 am Post subject: |
|
|
Yes, it is set for UEFI, and when I pull up a boot menu, it lists it as UEFI. |
|
Back to top |
|
|
chubbypiper n00b
Joined: 27 Jun 2018 Posts: 33
|
Posted: Thu Jul 08, 2021 4:41 am Post subject: |
|
|
I was thinking about this right after I posted my reply, I realized that as part of digging around on what the possible culprits would be that I hadn't checked my kernel config. A quick grep for EFI in /usr/src/linux/.config confirmed my fears. CONFIG_EFI_PARTITION was set to yes, but CONFIG_EFI was not set. Set it to y, rebuilt, and now I'm seeing /sys/firmware/efi, and fwupdmgr is able to see my BIOS info. Thanks for helping me think through it. |
|
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
|
|