# Why is rEFInd listed in efibootmgr?

**URL:** <https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904>\
**Category:** Applications\
**Created:** [August 28, 2022, 2:57pm UTC](https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904 "2022-08-28T14:57:07Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![HMS\_Endeavour](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/h/9d8465/32.png) [@HMS\_Endeavour](https://forum.endeavouros.com/u/HMS_Endeavour)\
**Post date:** [August 28, 2022, 2:57pm UTC](https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904/1 "2022-08-28T14:57:07Z")

</div>

After the **GRUB Disaster** , I am seriously considering switching to rEFInd, but I haven’t yet.

This is a clean install of the Artemis ISO. No more booting issues 😃

Why do these entries appear in the efibootmgr? Is it safe to delete the entries? Which file am I changing or do I have to use efibootmgr -o ?

> Boot0005\* Fedora HD(1,GPT,a37eab10-2ea8-4307-b501-6b080e8b0c13,0x800,0x12c000)/File(\EFI\fedora\shimx64.efi)

> Boot0003\* rEFInd Boot Manager HD(1,GPT,aaf28d10-ec03-7c41-b714-f2fd97eda185,0x800,0x96000)/File(\EFI\refind\refind\_x64.efi)

The strange part is I have never downloaded, installed or booted from rEFInd.  
I booted the EndeavourOS Artemis ISO through Ventoy, and there is a Fedora ISO on the USB key, So that may explain the Boot0005 entry, but it does not explain Boot0003.

It is Calamares BTRFS default install. /etc/fstab

> [@The latest grub package update needs some manual intervention](https://forum.endeavouros.com/t/the-latest-grub-package-update-needs-some-manual-intervention/30689):
>
> (Grub 2:2.06.r322.gd9b4638c5-1) Grub Update Causing Unbootable OS On UEFI Systems A grub update today is causing boot issues on UEFI systems. It will make most systems unbootable so take care! with no intervention, the system will just boot directly into Firmware with no way to boot the OS. If you have this issue follow these instructions: First boot onto an EndeavourOS Live ISO. Ensure that you are booting the ISO via UEFI mode. Follow these instructions to chroot into your install: [htt…](https://discovery.endeavouros.com/system-rescue/arch-chroot-for-efi-uefi-systems/2021/03/)

Which file needs the boot order to be changed?

> UUID=7200-CA65 /boot/efi vfat defaults,noatime 0 2  
> UUID=068e39a0-d042-44a0-a576-43603368da7e / btrfs subvol=/@,defaults,noatime,compress=zstd 0 0  
> UUID=068e39a0-d042-44a0-a576-43603368da7e /home btrfs subvol=/@home,defaults,noatime,compress=zstd 0 0  
> UUID=068e39a0-d042-44a0-a576-43603368da7e /var/cache btrfs subvol=/@cache,defaults,noatime,compress=zstd 0 0  
> UUID=068e39a0-d042-44a0-a576-43603368da7e /var/log btrfs subvol=/@log,defaults,noatime,compress=zstd 0 0  
> UUID=3cf15e8d-b58b-4fde-9523-2709b9b223c5 swap swap defaults 0 0

Here is the efibootmgr for completeness.

```auto
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002,2001,2002,2003
Boot0002* HDD: Hitachi HTS547550A9E384	PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(1,GPT,831052f6-afea-9641-bad5-499092120021,0x1000,0x96000)RC
Boot0003* rEFInd Boot Manager	HD(1,GPT,aaf28d10-ec03-7c41-b714-f2fd97eda185,0x800,0x96000)/File(\EFI\refind\refind_x64.efi)
Boot0004* endeavouros-8732	HD(1,GPT,11d41e04-780c-7041-8a47-74385c11ac8e,0x1000,0x96000)/File(\EFI\endeavouros-8732\grubx64.efi)
Boot0005* Fedora	HD(1,GPT,a37eab10-2ea8-4307-b501-6b080e8b0c13,0x800,0x12c000)/File(\EFI\fedora\shimx64.efi)
Boot0006* endeavouros-2573	HD(1,GPT,831052f6-afea-9641-bad5-499092120021,0x1000,0x96000)/File(\EFI\endeavouros-2573\grubx64.efi)
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

```

> lsblk -f  
> NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS  
> sda  
> ├─sda1  
> │ vfat FAT32 NO\_LABEL  
> │ 7200-CA65 298.8M 0% /boot/efi  
> ├─sda2  
> │ btrfs 068e39a0-d042-44a0-a576-43603368da7e 424G 7% /home  
> │ /var/cache  
> │ /var/log  
> │ /  
> └─sda3  
> swap 1 swap 3cf15e8d-b58b-4fde-9523-2709b9b223c5 [SWAP]

---

<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:** [August 28, 2022, 3:00pm UTC](https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904/2 "2022-08-28T15:00:27Z")

</div>

EFI entries generally don’t get cleaned up. So that is a list of things that ever been installed in your EFI.

---

<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:** [August 28, 2022, 3:03pm UTC](https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904/3 "2022-08-28T15:03:03Z")

</div>

@HMS_Endeavour  
When you install rEFInd it adds that entry to UEFI. Entries in UEFI don’t necessarily get removed just because you uninstalled it.

---

<div class="post-metadata">

**Author:** ![pycrk](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pycrk/32/71109_2.png) [@pycrk](https://forum.endeavouros.com/u/pycrk)\
**Post date:** [August 28, 2022, 3:18pm UTC](https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904/4 "2022-08-28T15:18:47Z")

</div>

you can remove not needed EFI entries if they bother you.

for example you need to remove the rEFInd entry

```auto
Boot0003* rEFInd Boot Manager	HD(1,GPT,aaf28d10-ec03-7c41-b714-f2fd97eda185,0x800,0x96000)/File(\EFI\refind\refind_x64.efi)

```

it has boot number 0003

than you can remove it with the following command

```auto
sudo efibootmgr -b 0003 -B

```

---

<div class="post-metadata">

**Author:** ![anon11595408](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/a/f1d935/32.png) [@anon11595408](https://forum.endeavouros.com/u/anon11595408)\
**Post date:** [August 28, 2022, 3:43pm UTC](https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904/5 "2022-08-28T15:43:25Z")

</div>

A longer explanation on how to manage EFI boot entries manually with `efibootmgr` is here:

> **[How to manage EFI boot manager entries on Linux](https://linuxconfig.org/how-to-manage-efi-boot-manager-entries-on-linux)**
>
> In this tutorial we see how to install the efibootmgr utility and how to use it to manage EFI boot manager entries on Linux.

---

<div class="post-metadata">

**Author:** ![lorebett](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/lorebett/32/42186_2.png) [@lorebett](https://forum.endeavouros.com/u/lorebett)\
**Post date:** [August 29, 2022, 5:25pm UTC](https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904/6 "2022-08-29T17:25:13Z")

</div>

> [@pycrk](#):
>
> than you can remove it with the following command

But will that also physically remove the corresponding directory from the partition?

---

<div class="post-metadata">

**Author:** ![pycrk](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pycrk/32/71109_2.png) [@pycrk](https://forum.endeavouros.com/u/pycrk)\
**Post date:** [August 29, 2022, 6:23pm UTC](https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904/7 "2022-08-29T18:23:05Z")

</div>

as I have read about it, this deletes the entry in the nvram. nvram is not in a partition, it is a component in the computer, in which data is stored e.g. the boot entries.

---

<div class="post-metadata">

**Author:** ![lorebett](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/lorebett/32/42186_2.png) [@lorebett](https://forum.endeavouros.com/u/lorebett)\
**Post date:** [August 29, 2022, 6:46pm UTC](https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904/8 "2022-08-29T18:46:02Z")

</div>

So then you also have to manually delete the corresponding directory

---

<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:** [August 29, 2022, 7:06pm UTC](https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904/9 "2022-08-29T19:06:37Z")

</div>

It’s an entry in NVRAM. It doesn’t get removed always from the entries in UEFI just because you uninstalled the package.

---

<div class="post-metadata">

**Author:** ![pycrk](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/pycrk/32/71109_2.png) [@pycrk](https://forum.endeavouros.com/u/pycrk)\
**Post date:** [August 29, 2022, 7:23pm UTC](https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904/10 "2022-08-29T19:23:39Z")

</div>

you have to be careful that you delete the right entry. So only delete entries from deleted OS’s

---

<div class="post-metadata">

**Author:** ![system](https://forum.endeavouros.com/uploads/default/original/2X/9/9ea52f9fd5ef8e609e593c362d61a36295f48be8.png) [@system](https://forum.endeavouros.com/u/system)\
**Post date:** [August 31, 2022, 7:24pm UTC](https://forum.endeavouros.com/t/why-is-refind-listed-in-efibootmgr/30904/11 "2022-08-31T19:24:21Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
