Hi everyone, I know that this topic has been addressed before on the forum but I seem to have hit a snag that is eluding me…
I have a dual-boot system with EOS and Windows. I recently updated my computers BIOS and I lost the Linux bootloader. I used the default bootloader which I believe is systemd-boot.
-I made sure that my bios was set to Secure Boot = Off after the BIOS update and that everything is UEFI.
-I confirmed that my partitions are still in place.
-I booted an EndeavourOS liveusb and mounted my / and /efi to their respective points on /mnt
-I chroot’d into the root mnt and ran bootctl install and it seems to have done its thing. I got a message with something about a file being seeded…
-I rebooted my computer and went into BIOS and the Linux Bootloader wasn’t available but when I manually called up the bootorder (F11 on my machine) I did find a Linux entry.
When I selected the Linux entry I only got the option to Load Windows or Firmware…
So back to square one.
Does anyone have any suggestions, I really don’t want to backup and reinstall.
Cause a kernel rebuild, like adding a new kernel. Possibly by forcing reinstall of your current kernel to populate the EFI.
I had this happen on a BIOS upgrade once too caused by the update flushing the NVRAM.
Thank you for the tip. Can I do that from the live media without touching / messing with home and etc? Or should I chroot in and do something like pacman -S linux linux-headers ?
Thank you.
I get a dracut. install failed with exit status 1 error preceded by : No space left. I must be doing something wrong I did the following:
-sudo mount /path/to/root /mnt
-sudo mount /path/to/efi /mnt/efi
-arch-chroot /mnt
-reinstall-kernels error
The efi partition is 100 megs and has 65 megs unused but I’m down for removing the old ones. I’ve never done that before…is it just same procedure of mounting and chrooting then deleteing everything under /efi?
You don’t have to chroot or anything as long as you can delete them (efibootmgr is where I’ve done it before (-B I think?))
Oh and this is deleting from the nvram (not the physical EFI), though if you want to do both, you would probably need to have the /boot/efi mounted somewhere.
It is/was my thought that the nvram may be scrambled up (the bios update) instead of the EFI
No luck…Now I have 2 windows entries and efibootmgr doesn’t show anything Linux related…reinstall-kernels executed though.
EDIT: I feel like i’m doing something wrong because I separately mounted both *p1 and *p5 under /mnt/efi and chrooted in and when I cd into efi it looks like the same contents. I think I can use efibootmgr to remove the double windows entry but thats where I am at.
Resolved my issue. I had to change the BBS priorities (Boot Block Device Service Priorities) in my BIOS which is separate from Boot order. The along with the info both @dbarronoss and @dalto for understanding EFI, reinstall-kernels and bootctl-install helped recover the boot option.