Talk:EFI system partition

From ArchWiki
Jump to: navigation, search

mount ESP to /efi

Internet is gorged of people mounting ESP to /boot or /boot/efi but I can't find an example of people mounting ESP to /efi anywhere else than from this wiki page.

The only clue I have is this removed discussion:

/efi/ If the boot partition /boot/ is maintained separately from the EFI System Partition (ESP), the latter is mounted here. Tools that need to operate on the EFI system partition should look for it at this mount point first, and fall back to /boot/ — if the former doesn't qualify (for example if it is not a mount point or does not have the correct file system type MSDOS_SUPER_MAGIC).

Mount and automount units for the EFI System Partition (ESP) are generated on EFI systems. The ESP is mounted to /boot, unless a mount point directory /efi exists, in which case it is mounted there. Since this generator creates an automount unit, the mount will only be activated on-demand, when accessed. On systems where /boot (or /efi if it exists) is an explicitly configured mount (for example, listed in fstab(5)) or where the /boot (or /efi) mount point is non-empty, no mount units are generated.

The current ArchWiki page is mentioning /efi only one time without any reference. Other pages about partitioning, UEFI, LVM, LUKS, dm-crypt, Virtualbox, rEFInd, etc. have very rare mentions of /efi or don't have any mentions at all.

I think the use of /efi is under documented and so under used and misunderstood.

Noraj (talk) 01:43, 15 January 2019 (UTC)

Is this a problem because you want us to not use it, or because you want more examples of us using it? FWIW, regarding other bootloader support, GRUB does not care in the slightest where your ESP is and in fact I have never mounted mine since the day I installed Linux on this laptop. I'm fairly sure that internet examples are mostly full of "it felt good". -- Eschwartz (talk) 03:22, 15 January 2019 (UTC)
I want more example of using it, I'm actually using a /efi mountpoint for my ESP on all my Arch installations, and I think this new method have quite some advantages so having more example about it on our wiki could be only good. Yeah most example of using /boot are due too people too lazy to pick anything else than the default choice. Noraj (talk) 12:10, 15 January 2019 (UTC)
There are not a lot of examples around the web using /efi because it's relatively new. As for the lack of examples with it in the wiki, that's because it's not the only supported mountpoint. Both /boot and /efi are valid, so the mountpoint is replaced with a pseudo-variable esp in wiki articles. The only place where a specific mountpoint is used is if the other one does not work for the setup. -- nl6720 (talk) 08:13, 15 January 2019 (UTC)
Can it be that /efi is due to Windows must have an EFI system partition, and must also have another partition that is the equivalent of Linux's /boot? This is my understanding of this wiki: Dual boot with Windows#UEFI systems. In addition, bootctl(1) from systemd-boot mentions /efi, /boot, and /boot/efi as defaults for its ''--path''. Regid (talk) 01:24, 17 January 2019 (UTC)
Windows split off the system partition to allow encrypting the rest of the system with BitLocker. I.e. the Windows equivalent of /boot must be encrypted, the same as with Linux (mostly).
The /efi mountpoint was created by systemd as a replacement for /boot/efi. That's all there is to it. -- nl6720 (talk) 13:26, 19 January 2019 (UTC)