Re: [systemd-devel] setting up systemd-boot with separate EFI and boot partitions

2023-05-23 Thread Felix Rubio
Thank you Lennart. When I separated the /boot from /boot/efi I 
formatted /boot partition with ext2. After reading your answer I 
reformatted it to FAT and... all works.


Regards!

---
Felix Rubio
"Don't believe what you're told. Double check."

On 2023-05-23 10:51, Lennart Poettering wrote:

On Mo, 22.05.23 14:26, Felix Rubio (fe...@kngnt.org) wrote:

I have installed arch linux recently, with systemd-boot as boot 
manager and
the EFI partition mounted on /boot. I am wondering how can I mount the 
EFI
partition on /boot/efi,  while vmlinuz-linux and initramf remain in 
/boot?


Currently in my /boot/loader/entries/arch.conf I have the following:
title Arch Linux
linux /vmlinuz-linux
initrd /amd-ucode.img
initrd /initramfs-linux.img
options root=PARTUUID= rw

On this setup, I guess amd-ucode.img must remain in /boot/efi, but how 
can I
specify that vmlinuz-linux and initramfs-linux.img are in another 
partition,

if possible at all?


sd-boot is an EFI program that uses EFI APIs to access file systems,
hence it only generally supports FAT. It will look in the ESP as well
as in XBOOTLDR. Thus is you mark your /boot/ partition as XBOOTLDR and
format it is vfat it should just work.

Lennart

--
Lennart Poettering, Berlin


Re: [systemd-devel] setting up systemd-boot with separate EFI and boot partitions

2023-05-23 Thread Lennart Poettering
On Mo, 22.05.23 14:26, Felix Rubio (fe...@kngnt.org) wrote:

> I have installed arch linux recently, with systemd-boot as boot manager and
> the EFI partition mounted on /boot. I am wondering how can I mount the EFI
> partition on /boot/efi,  while vmlinuz-linux and initramf remain in /boot?
>
> Currently in my /boot/loader/entries/arch.conf I have the following:
> title Arch Linux
> linux /vmlinuz-linux
> initrd /amd-ucode.img
> initrd /initramfs-linux.img
> options root=PARTUUID= rw
>
> On this setup, I guess amd-ucode.img must remain in /boot/efi, but how can I
> specify that vmlinuz-linux and initramfs-linux.img are in another partition,
> if possible at all?

sd-boot is an EFI program that uses EFI APIs to access file systems,
hence it only generally supports FAT. It will look in the ESP as well
as in XBOOTLDR. Thus is you mark your /boot/ partition as XBOOTLDR and
format it is vfat it should just work.

Lennart

--
Lennart Poettering, Berlin


[systemd-devel] setting up systemd-boot with separate EFI and boot partitions

2023-05-22 Thread Felix Rubio
I have installed arch linux recently, with systemd-boot as boot manager 
and the EFI partition mounted on /boot. I am wondering how can I mount 
the EFI partition on /boot/efi,  while vmlinuz-linux and initramf remain 
in /boot?


Currently in my /boot/loader/entries/arch.conf I have the following:
title Arch Linux
linux /vmlinuz-linux
initrd /amd-ucode.img
initrd /initramfs-linux.img
options root=PARTUUID= rw

On this setup, I guess amd-ucode.img must remain in /boot/efi, but how 
can I specify that vmlinuz-linux and initramfs-linux.img are in another 
partition, if possible at all?


Regards,

--
Felix Rubio
"Don't believe what you're told. Double check."