Questions tagged [uefi]
Questions about the Unified Extensible Firmware Interface (UEFI), the software interface aiming to replace typical BIOSes. This tag may also be used for questions related to UEFI partitions and systems.
1,068
questions
2
votes
0
answers
14
views
Can Qemu / OVMF boot from virtual drives with logical sector size 4096?
I am running Debian bookworm on a physical host and use Qemu / KVM to run a bunch of virtual machines there. Most of the VMs are UEFI-based, and most of the virtual drives have 512 bytes logical ...
1
vote
0
answers
19
views
Configuring grub on Arch stopped my pc from booting
When trying to enable hibernate on arch, I followed all the instructions about swap file, mkinitcpio and grub-mkconfig.
After all that, my system refused to boot, it doesn’t even get to the grub ...
2
votes
0
answers
49
views
Dual Boot two UEFI enabled Linux distirbutions (Kali / Fedora) with grub
I am trying to install two Linux systems on one NVMe drive and have them listed in GRUB.
Initial Steps
I initially installed Kali Linux first and sized the partitions, so that half of the NVMe (250 ...
1
vote
0
answers
18
views
UKI Triggers "Overlapping PE sections detected" Warning on Boot
I recently installed Debian 12 on three separate old laptops.
I created a unified kernel image for each (both to learn and to speed up boot).
I used systemd-ukify, following the instructions here.
...
-1
votes
1
answer
178
views
ERROR: BIOS/LEGACY BOOT OF UEFI-ONLY MEDIA
I am trying to boot my computer from a USB drive that I created using Rufus. The USB drive contains an Ubuntu ISO. When I attempt to boot from the USB, I receive the following error message:
ERROR: ...
0
votes
1
answer
22
views
LFS booting EFI in macbook pro 2014
I am trying to build linux from scratch (LFS) as an educational project using the main LFS book version 12.1, however, whene i reach the bottable chapter, i found that i have to boot my LFS using EFI ...
2
votes
1
answer
55
views
Shim boot loader: System is compromised when using certificate, but not with hash
I am trying to boot a Linux kernel with efi stub enabled using Red Hat's Shim https://github.com/rhboot/shim.
I can boot the system if I enroll the hash of my efi stub (selecting GRUBX64.EFI), but ...
0
votes
1
answer
391
views
EFI variables are not supported and efibootmgr failed to register the boot entry
I'm trying to install grub as my bootloader for my arch linux installation. I am doing this on a virtual machine before I do it on my actual system. I have been following the Arch Installation guide ...
1
vote
1
answer
30
views
Maintaining consistency of ESP on a pair of software RAIDed drives
If a Debian-based server is set up with two mirrored drives, done using mdadm,
How do you keep the EFI System Partition consistent across drives? As most BIOSes cannot read off of MDRaid partitions.
...
1
vote
0
answers
112
views
Kerrnel Locked Down from EFI secure boot, secure boot disabled in bios
I wanted to ask about something happening on my Debian 12 machine.
When I run journalctl as root I get this message: "Kernel is locked down from EFI Secure Boot; see man kernel_lockdown.7"
I ...
0
votes
0
answers
51
views
UEFI consumes >25% main memory
I just installed Ubuntu Linux 24 on a brand new Thinkpad T14s Gen 5.
According to the original order, the BIOS and system data, the notebook has 16GB main memory.
However, after UEFI boot, when ...
0
votes
0
answers
32
views
create uefi bootable usb stick, no ISO
I'm trying to convert a old trusty bootable USB stick from MBR to UEFI. Got everything set up, but when I try to boot it I get msg: "ALERT! LABEL=... does not exist." The label is fine. ...
0
votes
1
answer
413
views
Low resolution in the EFI/VGA early boot framebuffer/console (and in GRUB)
When I boot my Linux machine with UEFI and grub2, I get only few graphic modes (resolution modes) available. And both of them are really smaller than my monitor/screen. For example, the boot console ...
0
votes
0
answers
64
views
How to make UEFI shell reading contents of the ISO or DVD?
I have been looking for way to create an ISO file that contains tools that I use often. The ISO file can be mounted remotely through BMC, and lauch the tool through UEFI shell. So far, the UEFI shell ...
0
votes
0
answers
69
views
How to return to efifb without reboot (re activate vga console)?
When I boot my Linux machine, I have only efifb framebuffer device available at first:
[ 0.642906] efifb: probing for efifb
[ 0.642954] efifb: No BGRT, not showing boot graphics
[ 0.642957] ...
0
votes
0
answers
26
views
rEFInd won't boot /dev/sdb without manual edit of .../boot/refind_linux.conf
I have two disks running and I attempted to get them both bootable using 'rEFInd' with no luck. All the partitions on both disks are set up for UEFI/GPT the same way. I did:
% refind-install --root /...
0
votes
1
answer
69
views
Grub does not see LinuxMint when dual boot Fedora 40 and LinuxMint 24 on external SSD
So I installed on my external SSD both LinuxMint 24 and Fedora 40. Here is how:
Partition table of SSD: GPT and split my SSD in 500GB Ext4 and 500GB empty
First installed LinuxMint on empty with ...
0
votes
1
answer
177
views
/boot/efi/EFI/ubuntu is not creating during ubuntu installation and os is entering into Grub rescue mode when rebooting after the installation
I am installing Ubuntu 22 in efi mode with the below curtin partition scheme;
storage:
config:
- grub_device: true
id: sda
path: /dev/nvme0n1
ptable: gpt
...
0
votes
1
answer
162
views
Installing Multiple EFI Partitions Without Disconnecting Installed Drives
Please do not move this question to SuperUser. My question relates to EFI partition manipulation, which is not inherent to Windows.
Background
I ran into an issue with UEFI and OS Versions, and I ...
1
vote
2
answers
74
views
Reboot and select proper boot device SSD error EVERY TIME SSD is disconnected
While I have figured out how to do this on a one-time basis, the issue happened again. So the question remains - why, whenever I unplug the SSD from the SATA port on the AAEON EMB-BT1 itx board, does ...
1
vote
1
answer
60
views
How to compare secure boot keys stored in motherboard’s firmware database with the signed .efi files?
It’s a piece of cake to enable secure boot in a virtual machine, but I’m struggling to do the same with OpenSUSE on my 2012 vintage computer which refuses to boot in secure boot mode even in the ...
0
votes
1
answer
335
views
Failed to get releases for UEFI dbx: No releases found: Not compatible with org.freedesktop.fwupd version 1.7.9, requires >= 1.9.1
I run Linux Mint 21.3 Cinnamon 64-bit, and
I get strange error which I seemingly am unable to solve:
Failed to get releases for UEFI dbx: No releases found: Not compatible with org.freedesktop.fwupd ...
0
votes
1
answer
80
views
Reboot and select proper boot device SSD error
My SSD worked fine for months, and is plugged in to the motherboard through separate power and data cables.
Recently I plugged out the data cable with the power cable still plugged in and booted the ...
0
votes
1
answer
57
views
What does legacy mode refer to when dual booting an iMac?
I have a 2008 iMac that has MacOS and Linux Mint installed. When searching for a solution to a problem I have seen it stated that I need to boot in 'legacy' mode. What does this mean? Does it refer to ...
0
votes
0
answers
113
views
grub2: which /boot/efi/EFI/*/grub.cfg does it read?
I have a dualboot linux, fedora and almalinux.
After installing almalinux, I couldn't see the fedora's kernel versions, just multiple entries of Fedora.
Most of the links I found are wrong.
https://...
0
votes
0
answers
98
views
How to boot UEFI windows from BIOS GRUB?
I have one disc partitioned in GPT mode by Windows 10 with whatever sadly Windows 10 installation created there.
/dev/sda1 2048 206847 204800 100M EFI System
/dev/sda2 206848 ...
0
votes
0
answers
115
views
Installing Grub on btrfs /boot when root is on ZFS
I'd like to use Grub for booting my Linux system. The system has its root filesystem on a ZFS dataset, it has the usual EFI boot partition, and a btrfs partition that can be used as /boot. When the ...
1
vote
1
answer
168
views
What is the difference between /mnt/boot and /boot
I'm installing Arch Linux and going by the instructions I want to mount the EFI partition at /boot, however I see on the internet people using both /boot and /mnt/boot and I have no idea what the ...
0
votes
0
answers
28
views
EDK2: Sign startup.nsh EUFI script
When the BIOS loads the EDK2 UEFI shell it checks it's signature. Then I've configured EDK2 to verify all EUFI modules (i.e. Ext4Pkg), but the startup.nsh script is unsigned.
How can I sign/verify the ...
0
votes
1
answer
53
views
What can I delete from UEFI boot partition?
Bought a new machine, a fanless server type, and I have installed Arch Linux successfully. It boots, runs daemons, etc.
The machine came with a (probably pirated) copy of Windows installed. What can I ...
3
votes
2
answers
141
views
When I turn on the computer ( or restart ) the screen turns on and off three times before booting grub. How to stop this behaviour?
OS: Arch Linux x86_64
Host: 81Y3 IdeaPad L3 15IML05
Kernel: 6.8.1-arch1-1
~ λ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sr0 11:0 1 1024M 0 rom
nvme0n1 259:0 0 476....
0
votes
1
answer
107
views
Change GRUB2 menu entry
I'm attempting to change the name of an existing entry in the GRUB2 menu from "Red Hat Enterprise Linux blah blah blah" to "My Linux Distro" (or anything!) but no matter what I do, ...
1
vote
0
answers
273
views
Fix boot partition & boot loader for Fedora 39
I ran dnf upgrade --refresh nd it told me that there's not enough room on my /boot partition to apply it so I pulled up a guide with Google to extend the /boot partition which went something like (I ...
0
votes
1
answer
342
views
Error with grub2-install on Amazon Linux 2023 after Migrating to LVM with EFI System
I set up an Amazon Linux 2023 EC2 and migrated the disk over to a new one to use LVM, (I didnt put the BIOS and /boot/efi on LVM.) I believe my system is using EFI, as indicated by the contents in /...
0
votes
3
answers
378
views
How and when is `/sys/kernel/security/tpm0/binary_bios_measurements` exposed?
Currently, I try to understand how a measured boot is working and what components log what in which pcr of a tpm2.
I have a test-setup with uefi-secure boot enabled and a tpm2 attached in a kvm ...
0
votes
1
answer
279
views
Grub2 is not using kernel grubby provides me. grub.cfg problem?
I am using the linux surface kernel on Fedora 39, which I want to use as the default kernel GRUB2 selects on startup.
It got set up as default kernel before and it worked, but then I changed GRUB ...
0
votes
1
answer
67
views
correct path for arch linux system /boot/ - x64 laptop uefi machine, GPT partion table
after a rebuild from arch live usb iso, my boot directory is:
The tree is correct? Or there is a mistake? I know that the system boot up correctly so I should not modify anything, but i need to ...
0
votes
1
answer
366
views
How do I enable UEFI secure boot for a linux build made with yocto?
I'm producing a yocto build, and want to enable UEFI Secure Boot on the intel machine I'm using. This is a pretty basic yocto build, using core-image-minimal and meta-intel. The artifacts it ...
0
votes
1
answer
612
views
Create UEFI/BIOS chip dump from within Linux
Some people recommend using flashrom to create backup dump of a PC's UEFI/BIOS SPI flash contents. However, flashrom does not work with all platforms. Sometimes people recommend finding the address ...
0
votes
0
answers
55
views
Create, update, modify, and delete UEFI authenticated variables from userspace in Linux
I've been searching for, but cannot find any information or utilities for creating, deleting, modifying, and updating arbitrary authenticated variables in Linux from userspace.
Sure, there are tools ...
3
votes
1
answer
265
views
syslinux UEFI boot: automatically select boot option based on HW identifier
I am booting from USB media, and I am using syslinux EFI boot.
I am booting the same media on 2 different laptops, and I have 2 menu options in syslinux.cfg, one for each laptop.
Currently, I have to ...
0
votes
0
answers
336
views
I can't Install any Linux Distro on new AMD Ryzen 7 5700U Mini PC
I'm trying to install Proxmox on a new Mini PC (GMKteck NucBox M5 Pro Mini PC) but keep getting the following error :
EFI boot mode detected, mounting efivars filesystem mount:
/sys/firmware/efi/...
1
vote
1
answer
139
views
How can I manually install a Yocto image?
I'm having difficulties installing an image I've built with Yocto. In the past I've always used u-boot, MBR, and legacy boot. Installing Yocto meant creating boot and rootfs partitions, installing the ...
0
votes
0
answers
115
views
Question about what Timeshift restores with UEFI system and BTRFS filesystem
I am curious how Timeshift restores will work with my system configuration which includes UEFI and a BTRFS formatted system partition.
First, here's some information about how my system is organized:
...
0
votes
1
answer
558
views
Update NVRAM so that shimx64.efi is run instead of grubx64.efi on Debian system for secure boot
I want to configure my Debian to boot with secure boot enabled but it doesn't and here is why...
OS specific boot loaders are stored on the ESP partition which is mounted in /boot/efi
Debian system ...
0
votes
1
answer
471
views
Convert MBR/BIOS to GPT/UEFI (infodump)
I wanted to upgrade my 1.5TB HDD to a 4TB SSD, none of the internet resources I found correctly matched my situation from beginning to end, and I ended up spending about 20 hours getting it to work, ...
0
votes
1
answer
36
views
Trying to dual boot Windows 2016 and Centos 7 - won't boot if drive set to UEFI
Motherboard: SuperMicro X11SCA-F, BIOS v2.2
I installed Windows 2016 on a 2TB nvme drive, which booted and worked as I'd expect.
I then installed CentOS 7.9 in the spare partition, then rebooted.
It ...
0
votes
0
answers
224
views
Why Atom Z2760 won't boot live GNU/Linux
I'm trying to install any GNU/Linux distribution (Debian, Archlinux, Ubuntu...) on Acer Iconia Tab W510, with 32bits UEFI and Atom Z2760 processor.
After preparing the ISO with correct EFI files (as ...
1
vote
1
answer
208
views
Multiboot Windows 10 and Linux, Windows not seen, EFI problems
After crash of an old HD disk, I bought a new SSD and would like to setup multiboot Windows 10 & Linux but I run into UEFI problems.
My disks:
/dev/sda is the new SSD. Linux Mint 21.3 is on /dev/...
0
votes
1
answer
47
views
Change from /boot/efi to non boot/efi
I have a Debian server A with given partition from lsblk and Debian server B with root partition.
I would like to convert server A same as server B. Basically I don't want the server A with /boot/efi ...