archinstall icon indicating copy to clipboard operation
archinstall copied to clipboard

No longer able to mount ESP to /efi

Open brnlee opened this issue 8 months ago • 10 comments

Which ISO version are you using?

2025.06.01

The installation log

https://0x0.st/8YTH.log

Description of the issue

I am trying to set up partitoning for Snapper with BTRFS and am trying to set the mount point of the boot partition to /efi instead of /boot per the Wiki. However, I'm encountering "Boot partition not found" when trying to "Install", presumably due to the changes in https://github.com/archlinux/archinstall/pull/3336 where is_boot has been updated to explicitly check that self.mountpoint == Path('/boot').

Am I misunderstanding how to config Snapper & BTRFS for snapshot support or is that PR a regression?

Virtual machine config:

VMware Workstation Pro

brnlee avatar Jun 01 '25 16:06 brnlee

It appear an oversight occurs as there are TWO possible "boot" partitions: /boot and /efi. The problem is, the /efi check is performed AFTER the script returns on the missing /boot partition. It does not appear /efi ever gets checked at that point.. The boot partition check should be a single evaluation with an if efi exists {} else if boot exists{} {else fail}. EFI has been the default for a while for most distributions. In my opinion it should be the default.

The error does not occur (for me) in the 20250501 iso with archinstall 3.0.4, while it does in 3.0.7.

wshawn avatar Jun 01 '25 17:06 wshawn

It appear an oversight occurs as there are TWO possible "boot" partitions: /boot and /efi.

What about /boot/efi?

I don't know if still the case, it used to be the default for several distributions in the past.

julienbenjamin avatar Jun 17 '25 18:06 julienbenjamin

Same issue here, "boot partition not found" even though I mounted it to /boot/efi

TotoShampoin avatar Jun 22 '25 08:06 TotoShampoin

This is still an issue in 2025.07.01

BJack0 avatar Jul 20 '25 01:07 BJack0

Can confirm as of 2025.7.23 it is still present in the ISO.

atomicangel avatar Jul 23 '25 23:07 atomicangel

Can confirm as of 2025.7.23 it is still present in the ISO.

The ISO only changes once per month, so unless you follow the README and use the git version, the ISO will not have a fix automatically until next month.

Torxed avatar Jul 24 '25 06:07 Torxed

Can confirm as of 2025.7.23 it is still present in the ISO.

The ISO only changes once per month, so unless you follow the README and use the git version, the ISO will not have a fix automatically until next month.

Is the issue foxed in the git version though?

TotoShampoin avatar Jul 24 '25 06:07 TotoShampoin

Once the https://github.com/archlinux/archinstall/pull/3659 PR is merged, I will try to fix the merge conflicts during late CEST, it should be working.

After that I'll coordinate a release as well, so people can just do pacman -Sy archinstall.

Torxed avatar Jul 24 '25 09:07 Torxed

Verified that the PR in question works. Here's the steps/setup I used to test this:

Mountpoints and flags

Image

archinstall disk step

Image

Bootloader

⚠️ systemd-boot does not support this setup

Image

Final result

Image

Torxed avatar Jul 24 '25 14:07 Torxed

It appear an oversight occurs as there are TWO possible "boot" partitions: /boot and /efi.

What about /boot/efi?

I don't know if still the case, it used to be the default for several distributions in the past.

I'd be interested as well in /boot/efi, which is still the default of several distributions even now...

LorenzoBettini avatar Jul 28 '25 20:07 LorenzoBettini