On 2024-02-24 16:02, ales...@magenta.de wrote: > In my fresh install of 4.2 this error appeared. > > > The following error occurred while installing the boot loader. The system > will not be bootable. > > Would you like to ignore this and continue with installation? > > Failed to remove old efi boot entry. This is most likely a kernel or > firmware bug. > > I ignored this and I was able to boot 4.2 with rEFInd so I have no problem. > But it would be nice to understand why this happens and how to fix it.
You might have a setting in your BIOS that prevents boot entries from being removed. I once had the opposite error where the installer failed to create the entry. Adding an entry manually with efibootmgr didn't work initially either, I had to clear the CMOS before I could add an entry. It also turned out that the efibootmgr command in this section of the docs is outdated: https://www.qubes-os.org/doc/uefi-troubleshooting/#installation-finished-but-qubes-boot-option-is-missing-and-xencfg-is-empty--installation-fails-with-failed-to-set-new-efi-boot-target The .efi file path was different and the "placeholder /mapbs /noexitboot" part wasn't needed in my case. Luckily I had another working Qubes machine where I could dump a working efibootmgr entry and configure the machine accordingly: Boot0001* Qubes OS HD(1,GPT,REDACTED,REDACTED,REDACTED)/File(\EFI\qubes\grubx64.efi) I haven't had time to submit a pull request to update the docs. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/ZdrgrbF5YoPaXaai%40localhost.