On Sep 19, 2023, at 20:41, Bill Cunningham <bill.cu1234(a)gmail.com> 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.
--
Jonathan Billings