You are not logged in.
I've installed arch linux alongside windows. Both OSes work fine and i can switch between them by intercepting the boot and choosing between 'WIndows Boot Manager' for windows and 'Efi Hard Drive' for Linux. However, when i want to adjust the boot order to boot arch first, i can't find Arch or any indication of arch in the BIOS menu. All i can see within OS Boot manager entry in WIndows boot manager. I guess this has something to do with how i installed arch.
I have an EFI partiton for windows on /dev/sda1. And i have my boot partition for arch on /dev/sda6 (boot). How can i configure this so UEFI can detect my arch boot alongside windows?
====some more information====
my /boot(/dev/sda6) for arch is formatted in fat32 and my /boot partition was set as it's mount point during archinstall
Last edited by EugeneForce (2024-07-16 07:16:39)
Offline
UEFI implementation varies greatly across different motherboards, and a lot of them are quite buggy.
As an alternative, you can try to use efibootmgr with the -o option while booted into arch to set the boot order. Ran 'man efibootmgr' in a terminal if you're not familiar with the command.
Never argue with an idiot, they will drag you down to their level and then beat you with experience.
It is better to light a candle than curse the darkness.
A journey of a thousand miles begins with a single step.
Offline
UEFI implementation varies greatly across different motherboards, and a lot of them are quite buggy.
As an alternative, you can try to use efibootmgr with the -o option while booted into arch to set the boot order. Ran 'man efibootmgr' in a terminal if you're not familiar with the command.
HI, this didn't work unfortunately. Changes do not persists on reboot
Offline
guess the additional ESP confuses the uefi implementation (often invalid entries are removed during post)
you can try to install your bootloader onto the existing windows efi sda1 (should fit) and use sda6 as xbootldr for storing the kernel and initrd
Offline
Thanks everyone. Was able to fix it like this:
```
sudo mount /dev/sda1 /boot/EFI
sudo grub-install --efi-directory=/boot/EFI
```
Note that you might have to resize window's efi partition as 100mb wont be enough. I was able to do this by deleting and recreating the partition in gparted.
I appreciate all of you
Last edited by EugeneForce (2024-07-16 13:20:51)
Offline
well - the default 100mb should be enough space
the windows stuff usually only takes up about 15mb with grub require additional 25mb
a resize can be required when the esp is mounted to /boot and the kernel and initrd are copied onto it
Offline