You are not logged in.

#1 2024-07-16 07:14:05

EugeneForce
Member
Registered: 2024-07-11
Posts: 3

UEFI cannot detect dualboot of arch on it's own /boot partition

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

#2 2024-07-16 07:43:43

kermit63
Member
Registered: 2018-07-04
Posts: 371

Re: UEFI cannot detect dualboot of arch on it's own /boot partition

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

#3 2024-07-16 08:18:01

EugeneForce
Member
Registered: 2024-07-11
Posts: 3

Re: UEFI cannot detect dualboot of arch on it's own /boot partition

kermit63 wrote:

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

#4 2024-07-16 09:21:08

cryptearth
Member
Registered: 2024-02-03
Posts: 2,184

Re: UEFI cannot detect dualboot of arch on it's own /boot partition

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

#5 2024-07-16 13:09:26

EugeneForce
Member
Registered: 2024-07-11
Posts: 3

Re: UEFI cannot detect dualboot of arch on it's own /boot partition

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

#6 2024-07-16 14:27:25

cryptearth
Member
Registered: 2024-02-03
Posts: 2,184

Re: UEFI cannot detect dualboot of arch on it's own /boot partition

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

Board footer

Powered by FluxBB