You are not logged in.

#1 2024-12-23 12:35:14

aladar
Member
Registered: 2024-12-20
Posts: 6

[SOLVED] My opinion about /boot

Hi,
I'm new to Arch, in the last years I was on Ubuntu (and before that it was Lilo time, not Grub and UEFI...). I've realized that Arch mounts efi partition in /boot, and I'm not comfortable with the idea that I'm going to put all my kernels and initrds on it. So I'm planning to mount it in /boot/efi/ . I've read a lot of topics about it, and I haven't found cons in doing that. My only concern, for which I've found no suggestions, is for when Grub is updated (as a package, I mean), because I think that at that time the installation would try to change /boot/EFI/BOOT/BOOTX64.EFI , which in my case would be moved to /boot/efi/EFI/BOOT/BOOTX64.EFI . To manage that I'm planning to create a symlink /boot/EFI -> /boot/efi/EFI/ .
I don't see anything else to be done to avoid issues or ending in the need of particular operations (for example) when updating the kernel or Grub's config. Is it right or am I missing something?
Thanks

Last edited by aladar (2024-12-24 10:56:37)

Offline

#2 2024-12-23 12:49:53

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] My opinion about /boot

aladar wrote:

I've realized that Arch mounts efi partition in /boot

Arch does no such thing. Many options are available.

aladar wrote:

I think that at that time the installation would try to change /boot/EFI/BOOT/BOOTX64.EFI , which in my case would be moved to /boot/efi/EFI/BOOT/BOOTX64.EFI

The installation process is under manual control. Nothing would be changed unless you changed it yourself.

If you are talking about the archinstall defaults please make that clear. The archinstall defaults do not represent the Arch Linux defaults. Arch just supplies what upstream serves with as little modification as possible and leaves the rest to the user.

aladar wrote:

To manage that I'm planning to create a symlink /boot/EFI -> /boot/efi/EFI/

That sounds like an awful idea.


Jin, Jîyan, Azadî

Offline

#3 2024-12-23 15:19:35

aladar
Member
Registered: 2024-12-20
Posts: 6

Re: [SOLVED] My opinion about /boot

Head_on_a_Stick wrote:

The installation process is under manual control. Nothing would be changed unless you changed it yourself.

So I'm supposed to run grub-install and grub-mkconfig when I see that pacman is updating grub, right? In that case, I understand why the symlink is not needed.
Being new to Arch, I didn't realize that it does no assumption about this system layout

Head_on_a_Stick wrote:

If you are talking about the archinstall defaults please make that clear.

Yes, I meant archinstall

In the meantime, I've moved ESP to /boot/efi,
thanks

Offline

#4 2024-12-23 15:24:50

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: [SOLVED] My opinion about /boot

Note that /boot/efi/ is no longer encouraged, mainly because it can interfere with autofs mounts:

https://uapi-group.org/specifications/s … unt-points


Jin, Jîyan, Azadî

Offline

Board footer

Powered by FluxBB