I use refind to boot, but one issue I had with automatic installation was the refind_install script hard codes linux esp mount point as /boot or /boot/efi. I do multiboot, and usually mount the esp at /esp, and then bind mount /esp/EFI/distro to /boot to play nice with most package managers while keeping the esp organized.
I modified the script (adds a new command line option --linux-esp-location) that allows a user to specify where their esp is mounted.
Not saying this change should definitely be in the script; but it would be useful to adopt a similar functionality.
I am doing nearly the exact same beside using /efi for the EFI partition. I did this a half year ago on an arch machine and I thought this worked. Tried to repeat this in the last days on another machine and figured out I have to do the manual installation instead.
I would really appreciate the possibility to use refind-install with this kind of mounting scheme. Actually on the arch wiki it is recommended to mount the EFI partition to /efi if e.g. rEFInd is used.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I caved in and decided to mount at /boot/efi, because i am using a tool that automatically signs the kernels in boot and copies them to /boot/efi/EFI/<os>/ My main reason for this is use grub to make a menu for btrfs snapshots, and i managed to get things working together this way. (Besides grub but that is another story.)</os>
The script only checks /boot and /boot/efi in linux. I used to (in arch) just script the installation myself (it is quite easy if you are sure that your esp is going to be mounted at wherever you want to target and call the script with a pacman hook.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, nice for you that the problem is obsolet for you. However, I still think that the support of an /efi mounted EFI partition in the install skript would be usefull.
Of course one can install and maintain it manually or write an own skript, but I think it would make things a lot easier for noobs like me.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thats strange. Maybe it's not about the /efi, but rather the mount bind of /boot to a subfolder of /efi.
I did this on several arch installs some months ago and always had to do a manual installation in the end.
But thanks for the feedback!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I use refind to boot, but one issue I had with automatic installation was the refind_install script hard codes linux esp mount point as /boot or /boot/efi. I do multiboot, and usually mount the esp at /esp, and then bind mount /esp/EFI/distro to /boot to play nice with most package managers while keeping the esp organized.
I modified the script (adds a new command line option --linux-esp-location) that allows a user to specify where their esp is mounted.
Not saying this change should definitely be in the script; but it would be useful to adopt a similar functionality.
I am doing nearly the exact same beside using /efi for the EFI partition. I did this a half year ago on an arch machine and I thought this worked. Tried to repeat this in the last days on another machine and figured out I have to do the manual installation instead.
I would really appreciate the possibility to use refind-install with this kind of mounting scheme. Actually on the arch wiki it is recommended to mount the EFI partition to /efi if e.g. rEFInd is used.
I caved in and decided to mount at /boot/efi, because i am using a tool that automatically signs the kernels in boot and copies them to /boot/efi/EFI/<os>/ My main reason for this is use grub to make a menu for btrfs snapshots, and i managed to get things working together this way. (Besides grub but that is another story.)</os>
The script only checks /boot and /boot/efi in linux. I used to (in arch) just script the installation myself (it is quite easy if you are sure that your esp is going to be mounted at wherever you want to target and call the script with a pacman hook.
Ok, nice for you that the problem is obsolet for you. However, I still think that the support of an /efi mounted EFI partition in the install skript would be usefull.
Of course one can install and maintain it manually or write an own skript, but I think it would make things a lot easier for noobs like me.
The
refind-installscript does support/efias a mount point for the EFI. I just tested it and it works fine for me.Thats strange. Maybe it's not about the /efi, but rather the mount bind of /boot to a subfolder of /efi.
I did this on several arch installs some months ago and always had to do a manual installation in the end.
But thanks for the feedback!