# Systemd-boot and refind

**URL:** <https://forum.endeavouros.com/t/systemd-boot-and-refind/37547>\
**Category:** EndeavourOS installation\
**Created:** [February 20, 2023, 8:02pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547 "2023-02-20T20:02:43Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![anon92589110](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/7ab992/32.png) [@anon92589110](https://forum.endeavouros.com/u/anon92589110)\
**Post date:** [February 25, 2023, 1:06pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/21 "2023-02-25T13:06:45Z")

</div>

I still don’t fully understand what you are trying to achieve? Did you try installing without bootloader?

Otherwise it sounds to me that your plan is to use refind as bootmanager to load another bootmanager (systemd-boot) to load your OS and you want to install both bootmanagers to the same partition.

---

<div class="post-metadata">

**Author:** ![anon96028917](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@anon96028917](https://forum.endeavouros.com/u/anon96028917)\
**Post date:** [February 25, 2023, 1:10pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/22 "2023-02-25T13:10:29Z")

</div>

> [@anon92589110](#):
>
> I still don’t fully understand what you are trying to achieve?

me too – I’m sorry  
as it seems to me, you don’t want to run EOS but test the bootloder named refind ?

---

<div class="post-metadata">

**Author:** ![ng0177](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ng0177/32/19878_2.png) [@ng0177](https://forum.endeavouros.com/u/ng0177)\
**Post date:** [February 25, 2023, 1:18pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/23 "2023-02-25T13:18:52Z")

</div>

> [@anon92589110](#):
>
> Otherwise it sounds to me that your plan is to use refind as bootmanager to load another bootmanager (systemd-boot) to load your OS and you want to install both bootmanagers to the same partition.

Yes. That works fine with the other installations.

---

<div class="post-metadata">

**Author:** ![ng0177](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ng0177/32/19878_2.png) [@ng0177](https://forum.endeavouros.com/u/ng0177)\
**Post date:** [February 25, 2023, 1:20pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/24 "2023-02-25T13:20:33Z")

</div>

> [@anon96028917](#):
>
> as it seems to me, you don’t want to run EOS but test the bootloder named refind ?

No. EOS does not install correctly for me when `systemd-boot` is selected irrespective of `refind`.

---

<div class="post-metadata">

**Author:** ![anon92589110](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/7ab992/32.png) [@anon92589110](https://forum.endeavouros.com/u/anon92589110)\
**Post date:** [February 25, 2023, 1:24pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/25 "2023-02-25T13:24:58Z")

</div>

> [@ng0177](#):
>
> No. EOS does not install correctly for me when `systemd-boot` is selected irrespective of `refind`.

Well… as you have already refind in place, why do you want to install systemd-boot? You are already using a bootmanager (refind).

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [February 25, 2023, 1:38pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/26 "2023-02-25T13:38:30Z")

</div>

OK, there seems to be a lot of confusion in this topic. Let’s try to get it back on track.

Can I see the output from the following commands on the machine that will not boot normally:

```plaintext
pacman -Q | grep dracut
find /efi

```

---

<div class="post-metadata">

**Author:** ![ng0177](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ng0177/32/19878_2.png) [@ng0177](https://forum.endeavouros.com/u/ng0177)\
**Post date:** [February 25, 2023, 2:19pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/27 "2023-02-25T14:19:11Z")

</div>

In the meantime, I managed to fix it as follows:

1. format the target unallocated partition as ext4
2. choose systemd-boot in the installer
3. let the installer shrink it
4. this triggers the creation of a 2nd efi,esp partition (not done w/ “replace partition” when it failed)
5. grow and move the shrunk part at will
6. refind finds systemd and all works as expected

---

<div class="post-metadata">

**Author:** ![ng0177](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ng0177/32/19878_2.png) [@ng0177](https://forum.endeavouros.com/u/ng0177)\
**Post date:** [February 25, 2023, 2:20pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/28 "2023-02-25T14:20:32Z")

</div>

> [@dalto](#):
>
> Can I see the output from the following commands on the machine that will not boot normally:

I could reverse it and send you the output but I am too happy at the moment about the success 🙂

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [February 25, 2023, 2:21pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/29 "2023-02-25T14:21:07Z")

</div>

As long as it is working it is fine with me. 😀

---

<div class="post-metadata">

**Author:** ![ng0177](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ng0177/32/19878_2.png) [@ng0177](https://forum.endeavouros.com/u/ng0177)\
**Post date:** [February 25, 2023, 2:21pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/30 "2023-02-25T14:21:48Z")

</div>

Much appreciate everyone’s support that helped me to keep going!

---

<div class="post-metadata">

**Author:** ![anon96028917](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/ec9cab/32.png) [@anon96028917](https://forum.endeavouros.com/u/anon96028917)\
**Post date:** [February 25, 2023, 2:48pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/31 "2023-02-25T14:48:12Z")

</div>

> [@ng0177](#):
>
> this triggers the creation of a 2nd efi,esp partition

now there are two efi-partitions at your disk (nvme) ?

---

<div class="post-metadata">

**Author:** ![ng0177](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ng0177/32/19878_2.png) [@ng0177](https://forum.endeavouros.com/u/ng0177)\
**Post date:** [February 25, 2023, 2:56pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/32 "2023-02-25T14:56:29Z")

</div>

> [@anon96028917](#):
>
> now there are two efi-partitions at your disk (nvme) ?

Yes, `refind` is above all.

---

<div class="post-metadata">

**Author:** ![ng0177](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ng0177/32/19878_2.png) [@ng0177](https://forum.endeavouros.com/u/ng0177)\
**Post date:** [February 25, 2023, 2:57pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/33 "2023-02-25T14:57:44Z")

</div>

> [@ng0177](#):
>
> this triggers the creation of a 2nd efi,esp partition (not done w/ “replace partition” when it failed)

It might be worth keeping an eye on this since it looks like a deficiency in the installer to me but happened only to me on the other side.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [February 25, 2023, 3:02pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/34 "2023-02-25T15:02:30Z")

</div>

> [@ng0177](#):
>
> It might be worth keeping an eye on this since it looks like a deficiency in the installer to me but happened only to me on the other side.

Unless you choose manual partitioning, it will always create a new partition if your EFI is too small.

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [February 25, 2023, 3:08pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/35 "2023-02-25T15:08:24Z")

</div>

> [@ng0177](#):
>
> It might be worth keeping an eye on this since it looks like a deficiency in the installer to me but happened only to me on the other side.

I don’t think so. When you install under certain partition scenarios the installer is going to create it’s own efi on the install. There is nothing wrong with this. I have it on my systems when i install EOS on a separate drive. I could use the Windows /efi if i used manual partitioning.

rEFInd is a boot manager, meaning that it presents a menu of options to the user when the computer first starts up. rEFInd is not a boot loader. It is used to launch efi bootloaders.

rEFInd better handles systems with many boot loaders, gives better control over the boot loader search process, and provides the ability for users to define their own boot loader entries.

---

<div class="post-metadata">

**Author:** ![anon92589110](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/7ab992/32.png) [@anon92589110](https://forum.endeavouros.com/u/anon92589110)\
**Post date:** [February 25, 2023, 4:01pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/36 "2023-02-25T16:01:49Z")

</div>

But refind doesn’t depend on a different bootloader to boot linux systems.  
So, what is the benefit of installing systemd-boot then?  
In that scenario it should have worked by just installing EOS (maybe with sime refind configuration needed) without additional bootloader, or are there other issues I am not aware of?

---

<div class="post-metadata">

**Author:** ![ricklinux](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ricklinux/32/110798_2.png) [@ricklinux](https://forum.endeavouros.com/u/ricklinux)\
**Post date:** [February 25, 2023, 4:15pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/37 "2023-02-25T16:15:10Z")

</div>

> [@anon92589110](#):
>
> In that scenario it should have worked by just installing EOS (maybe with sime refind configuration needed) without additional bootloader, or are there other issues I am not aware of?

I don’t know what this specific scenario is nor do i want to mentally try to figure it out. I didn’t install it. I just know how rEFind works. I have used it myself in a multboot setup without issue. I’m not an expert on all things rEFInd. I’m just saying it’s not a bootloader it’s a boot manager used to launch efi bootloaders.

---

<div class="post-metadata">

**Author:** ![ng0177](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ng0177/32/19878_2.png) [@ng0177](https://forum.endeavouros.com/u/ng0177)\
**Post date:** [February 25, 2023, 4:17pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/38 "2023-02-25T16:17:53Z")

</div>

> [@dalto](#):
>
> Unless you choose manual partitioning, it will always create a new partition if your EFI is too small.

Yes, it seems to think that 300MB are not sufficient. If “replace partation” is selected, it then seems to do nothing - a bug (not, if only for me).

---

<div class="post-metadata">

**Author:** ![ng0177](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ng0177/32/19878_2.png) [@ng0177](https://forum.endeavouros.com/u/ng0177)\
**Post date:** [February 25, 2023, 4:20pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/39 "2023-02-25T16:20:55Z")

</div>

> [@anon92589110](#):
>
> So, what is the benefit of installing systemd-boot then?

In fact, systemd-boot was initially not installed and also refind was not able to boot into EOS.

---

<div class="post-metadata">

**Author:** ![dalto](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/dalto/32/5577_2.png) [@dalto](https://forum.endeavouros.com/u/dalto)\
**Post date:** [February 25, 2023, 4:22pm UTC](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547/40 "2023-02-25T16:22:49Z")

</div>

> [@ng0177](#):
>
> If “replace partation” is selected, it then seems to do nothing - a bug (not, if only for me).

Even with replace partition, it should do the same if systemd-boot is selected. In my testing, it does do this.

[Previous page](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547.md?page=1)

[Next page](https://forum.endeavouros.com/t/systemd-boot-and-refind/37547.md?page=3)
