Skip to main content
5 votes
Accepted

How can I boot a BIOS-mode platform on an UEFI station without CSM?

The short answer is that you can’t boot a system which needs BIOS services if you don’t have a legacy BIOS or CSM. (To avoid chasing down something that you don’t actually need, current Linux ...
Stephen Kitt's user avatar
4 votes

How can Linux hibernation be enabled under UEFI Secure Boot with kernel lockdown on select current distributions (or main line kernel)?

Meanwhile I can state for OpenSuse 15.3 and 15.4 that this is definitely possible, with a varying degree of comfort, mostly centered around either manual password entry and automatic decryption via ...
AlexK973's user avatar
  • 141
3 votes

How to set the default prefix for grub (EFI)?

Yes we can I found a solution how we can change the prefix permanently. However, it has the following caveats: We have to change it directly inside the grubx64.efi binary file, and we have to keep the ...
Lukas Willin's user avatar
2 votes
Accepted

Is EFI partition different from UEFI firmware?

No, it will not brick your hardware. It is similar to overwriting the MBR in legacy BIOS systems: it makes that disk unbootable, so you will have to boot from some other media to reinstall a ...
telcoM's user avatar
  • 99.2k
2 votes

How to install Debian 12 with full disk (boot too) luks2 encryption grub2, lvm UEFI?

Disclaimers Back up your data! Having another computer helps! This takes some time, even if everything works correctly on the first try! You have to unlock the encrypted drive TWICE on boot. I have ...
info-cppsp's user avatar
2 votes
Accepted

modprobe: ERROR: could not insert 'efivarfs': No such device

If you've booted in Legacy BIOS compatibility mode, the firmware cannot make UEFI runtime services available to the running OS, and so UEFI variables cannot be manipulated. In this situation, the ...
telcoM's user avatar
  • 99.2k
2 votes

syslinux UEFI boot: automatically select boot option based on HW identifier

From what I have read on arch wiki: link I think it is possible, but difficult, using extlinux that comes with syslinux package, and chain loading twice a syslinux. But I haven't tested it. And it is ...
Bertrand125's user avatar
  • 1,060
2 votes

Fix Linux grub with boot-repair with an old BIOS PC and a GPT drive?

Reference: https://askubuntu.com/a/500431/1210606 Most Linux based OSes can indeed work in BIOS/Legacy/CSM mode with a GPT drive provided it has a small bios_grub partition - ~2 MiB, unformatted, i.e.,...
ChanganAuto's user avatar
2 votes

RAID 1 of /boot/efi partition on Debian

After encountering numerous issues with gigabyte's solution, I gave up and invented a completely other-than solution. Problems: The filesystem needs to be aligned fsck.msdos doesn't actually handle ...
Joshua's user avatar
  • 1,893
2 votes

Reboot and select proper boot device SSD error EVERY TIME SSD is disconnected

Apparently your system firmware will automatically delete any UEFI NVRAM boot entries that refer to disks that are no longer accessible. That helps avoid the possibility of the UEFI NVRAM becoming ...
telcoM's user avatar
  • 99.2k
1 vote

Create UEFI/BIOS chip dump from within Linux

Contrary to what you believe, there is not always a way to do it. And since every hardware is different, every firmware is different, there's also no unified way of doing it on machines where the ...
sina bala's user avatar
  • 481
1 vote

Bricked my PC trying to setup secure-boot

Depending on your motherboard and UEFI firmware implementation, clearing the CMOS may or may not reset the Secure Boot keys. Can you get into BIOS settings? There might be an option to reset the ...
telcoM's user avatar
  • 99.2k
1 vote
Accepted

How can I manually install a Yocto image?

The problem ended up being an obscure BIOS setting, which I found looking through the documentation of the machine I'm using. I saw that they noted, in order to make Ubuntu boot on that machine, you ...
Dave's user avatar
  • 23
1 vote
Accepted

Multiboot Windows 10 and Linux, Windows not seen, EFI problems

/dev/sda is the new SSD. Linux Mint 21.3 is on /dev/sda5, and Windows 10 should be on /dev/sda1-4. To my understanding /dev/sda1 is an EFI partition. When you ran the Boot Repair utility, the Mint ...
telcoM's user avatar
  • 99.2k
1 vote

Change from /boot/efi to non boot/efi

Server A is clearly using UEFI native boot method and GPT partitioning, which is the more future-proof of the two servers. On server A, you could use system disks larger than 2 TiB easily if needed. ...
telcoM's user avatar
  • 99.2k
1 vote

"error: /boot/vmlinuz-6.6.9-amd64 has invalid signature" with secure boot on in Kali Linux

The instructions in the Reddit post you linked will only work if the grubx64.efi installed by grub-install is signed by Microsoft - and apparently Arch may have spent the time and money to do that. ...
telcoM's user avatar
  • 99.2k
1 vote

CD-ROM drive fails to open/recognize inserted cd in Legacy boot mode

I also have an old laptop whose DVD drive sometimes fails to open, but it seems to be caused by the poor connection between the laptop and the hot-pluggable DVD module. (In that laptop model, it was/...
telcoM's user avatar
  • 99.2k
1 vote
Accepted

Grub with UEFI: Local Debian doesn't boot after another installation on external SSD

What happened exactly? The analysis in the comments looks correct: the existing debian entry in efibootmgr does not match any ESPs on the system, and the only matching Fedora entry, Boot0004, refers ...
telcoM's user avatar
  • 99.2k
1 vote

Is it safe to delete an EFI partition that is likely a residual one left behind by Ubuntu

You would need to find out the GPT partition UUID of the "problem" partition, and then verify that that UUID is not present in any UEFI boot entry you want to use. I would recommend booting ...
telcoM's user avatar
  • 99.2k
1 vote

Boot problem after cloning

You all provided help to me and I decided to go with a quick win first: checking my BIOS setup. Found a number of differences and ended up with aligning the settings on both the source and the clone ...
Steijn van Essen's user avatar
1 vote
Accepted

Failure to start system from EFI shell

After testing various other distros I was able to launch a Debian ISO, and the installer on it. It failed at the "Installing the system" stage, installing manually via debootstrap however ...
Alex Komyakov's user avatar
1 vote

how to clone UEFI bootable USB disk onto another disk (possibly of different size)

From what you've written, you've missed the most important part: UEFI will search for a boot loader named by default EFI/BOOT/BOOTX64.EFI (case insensitive) on the EFI partition. The disk must be ...
Philip Couling's user avatar
1 vote

Convert i386 LVM Ubuntu 16 installation to UEFI

There are several different GRUB versions for different system architectures: for a BIOS-based system, your OS has packages grub-pc and grub-pc-bin installed. To be able to install the UEFI version of ...
telcoM's user avatar
  • 99.2k
1 vote
Accepted

create a UEFI bootable CD with ISOLINUX

not specific to CD, but here is general guide how to make syslinux UEFI bootable medium: parted /dev/sdf mklabel gpt parted /dev/sdf mkpart boot fat32 0% 100% parted /dev/sdf set 1 esp on parted /dev/...
Martin Vegter's user avatar
1 vote

Why does Ubuntu install continue to fail with 'grub-install /dev/sda failed' error?

I stumbled into the very same issue - failed to install 20.04LTS and 22.04LTS. I eventually fixed this: After Ubuntu installer failed, reboot into USB live Ubuntu and re-run boot-repair. It worked out ...
Constantine.K's user avatar
1 vote
Accepted

Debian 12 install on dual boot laptop with Win 11 : no more Win 11 entry in UEFI/bios

If Windows folder in ESP has normal boot files. New Windows entry, assumes default sda1. Add -d /dev/sda -p 2 if sda2 or NVMe example (manual): sudo efibootmgr -c -L "Windows Boot Manager" -...
oldfred's user avatar
  • 650
1 vote
Accepted

Can't update kernel because of full /boot partition, what is the proper way to remove older images? (Gentoo)

From https://wiki.gentoo.org/wiki/Kernel/Removal: $ emerge eclean-kernel $ eclean-kernel -a Thanks to @Artem S. Tashkinov.
Elevator9253's user avatar
1 vote
Accepted

UEFI HTTP Boot clarity?

Can any linux distro that supports UEFI (and has a *.efi file) be pointed to for HTTP Boot? Assuming its UEFI bootloader does not have any bug or other behavior that would stop it from working with ...
telcoM's user avatar
  • 99.2k
1 vote
Accepted

Debian 12 installer does not detect NVMe disks

The problem was caused by the enabled but unused BIOS option Storage Controller for Intel Optane (there is no Optane memory in the system in question). Disabling this BIOS setting shows a warning ...
Juergen's user avatar
  • 684
1 vote

How do I start a Windows 10 partition on a MBR partitioned disk on a system that otherwise uses GPT/UEFI GRUB?

Minimal Work example My System: /dev/sda has a old windows 10 install on a MBR partition table /dev/sdb has a gpt layout with grub and arch --/dev/sdb1 efi system partition (esp) --this should be your ...
dibbel26's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible