On 9/19/2023 9:21 PM, Jonathan Billings wrote:
On Sep 19, 2023, at 20:41, Bill Cunningham <bill.cu1234@xxxxxxxxx> wrote:
I had to reinstall my windows system which is fine it takes care of itself. But, I have to install my entire fedora system from scratch. Is there a way to simply reinstall the boot loader code without having to install from scratch with a UEFI system? I'm sure there is but I don't know about it. There's also a command called "efibootmgr" is this what I am looking for? AFAIK fedora doesn't install more partitions but just code in the /boot/efi partition. How can I reinstall or repair boot loader code without touching the system? Without having to reinstalling from scratch?
It’s possible to use efibootmgr to re-add the firmware entry for Fedora, even from a rescue disk.
It might be easier, however, if your BIOS has a way to choose a new boot entry and to select the Fedora grub2 EFI executable, so you can just boot directly into Fedora and run efibootmgr from there.
You certainly don’t need to reinstall the whole OS. It’s just a couple bytes in the hardware’s firmware.
The uefi bios is a pain in the behind. I'm always having to go in
there and change boot orders. I'm starting to get the hang of that
though. It should be as simple as deleting a directory in /boot/efi and
removing boot code using efibootmgr or something similar. Does this uefi
have 512 (or so) bytes at the beginning of a drive? I know nothing about it.
B
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue