Low Orbit Flux Logo 2 F

systemd-boot

Need:



sudo bootctl install     # install bootloader
bootctl status           # verify

Configure:



sudo nano /boot/loader/loader.conf

default  arch.conf   # Change this to your OS entry file
timeout  3
console-mode max
editor   yes

Get UUID for root disk ( use in config below ):



blkid | grep root

Configure:



sudo nano /boot/loader/entries/arch.conf

title   Arch Linux
linux   /vmlinuz-linux
initrd  /initramfs-linux.img
options root=UUID=xxxxyour-root-partition-uuidxxxx rw quiet splash

Update anytime the kernel updates



sudo bootctl update

EFI entries:



efibootmgr                            # check EFI vars boot etries

sudo efibootmgr --bootorder XXXX,YYYY # set systemd-boot as default ( XXXX is the id for systemd-boot )

Portable Boot on Any UEFI System ( ex. USB Drive )



sudo mkdir -p /mnt/efi
sudo mount /dev/sdX1 /mnt/efi

sudo bootctl --esp-path=/mnt/efi install

sudo mkdir -p /mnt/efi/EFI/BOOT
sudo cp /mnt/efi/EFI/systemd/systemd-bootx64.efi /mnt/efi/EFI/BOOT/BOOTX64.EFI

Editor Mode

At boot menu: