You are not logged in.

#1 2018-08-18 21:36:55

yossarianuk
Member
Registered: 2007-05-02
Posts: 103

Systemd-boot, howto avoid copying kernel from /boot/ -> /boot/efi

Hi.

I have an arch linux setup.

I am using systemd-boot, which works great apart from when I have a kernel update.

The way I have set it up I need to manually copy the kernel and initramfs files from /boot/ to -> /boot/efi

Files -> initramfs-linux-fallback.img  initramfs-linux.img  intel-ucode.img  vmlinuz-linux

My setup is have /boot on the same partition as root / (/dev/sda7)   and a separate partition for ESP - mounted to /boot/efi (/dev/sda1)

Here is my loader config -> /boot/efi/loader/entries/arch.conf

    title   Arch Linux
    linux   /vmlinuz-linux
    initrd  /intel-ucode.img
    initrd  /initramfs-linux.img
    options root=PARTUUID=c1e43da6-5bb8-48df-a9ee-f40d010abe8d

How can I make the loader load the kernel, etc from my root partition (/dev/sda7), rather than the ESP one ?

How do other people do this ?

Regards!

Offline

#2 2018-08-18 21:38:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Systemd-boot, howto avoid copying kernel from /boot/ -> /boot/efi

Why not just mount the ESP at /boot?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-08-18 22:01:34

yossarianuk
Member
Registered: 2007-05-02
Posts: 103

Re: Systemd-boot, howto avoid copying kernel from /boot/ -> /boot/efi

jasonwryan wrote:

Why not just mount the ESP at /boot?

Well I thought as my ESP partition is fat that would be a bad idea...

I guess its not after all..

Thank you.

Offline

Board footer

Powered by FluxBB