You are not logged in.
Hi bbs - I hope I hit the right forum, please let me know otherwise.
I am trying to make a custom installer image, and while I am no longer a new starter, I'm still not entirely sure how bootloading works in detail.
Basically, I'm trying to do an image from scratch, having build the root file system with the packages I need, as well as mkinitcpio and linux.
Now I'd like to install systemd-boot somehow, but I don't really know where to start, as bootctl expects an EFI partition, and I am only working from a chroot. (I have successfully generated vmlinuz-linux and initramfs-linux.img)
Any pointers?
Best, Allan
Offline
All you need is the kernel & initrd and the systemd-boot .efi loader — the latter can be extracted from the Arch systemd package [1] and placed at $ESP/EFI/BOOT/BOOTX64.EFI — plus $ESP/loader/entries/arch.conf
Once this is done, UEFI firmware will find BOOTX64.EFI and boot that automatically
[1] usr/lib/systemd/boot/efi/systemd-bootx64.efi
Jin, Jîyan, Azadî
Offline