Minor issue with my bootloader

So minor that it happened over a week ago and I am just now getting around to trying to figure it out. My system is all AMD if that matters. Anyway, the issue is that I have a random lts in my boot loader that I never installed. The live environment 6.14.9 still works fine.

If I try to use the lts I get this

I would essentially like to delete 6.12.29 from the entries so that it defaults back to the live environment. I tried doing a rollback with timeshift (2 days ago) when I know that that entry wasn’t in the list but it is still there. I would like to think that I’m pretty safe with my OS and the most I do is update and install the occasional new program (trying to stick to official repositories whenever possible).

Hardware information
https://0x0.st/8YLM.txt

Boot log
https://0x0.st/8YLu.txt

lsblk command
[allen@allen-g907 ~]$ lsblk -o name,type,size,PTTYPE,FSTYPE
NAME TYPE SIZE PTTYPE FSTYPE
nvme1n1 disk 3.6T gpt
├─nvme1n1p1 part 16M gpt
└─nvme1n1p2 part 3.6T gpt ntfs
nvme2n1 disk 3.6T gpt
├─nvme2n1p1 part 1G gpt vfat
└─nvme2n1p2 part 3.6T gpt ext4
nvme0n1 disk 1.8T gpt
├─nvme0n1p1 part 100M gpt vfat
├─nvme0n1p2 part 16M gpt
├─nvme0n1p3 part 1.8T gpt ntfs
├─nvme0n1p4 part 705M gpt ntfs
└─nvme0n1p5 part 500M gpt ntfs
[allen@allen-g907 ~]$

If you need any other info please let me know. Thank you!

You have two different problems:

  1. Is a known error: https://forum.endeavouros.com/t/issue-with-dracut-107-and-the-lts-kernel-causing-failed-to-mount-sysroot/71232
    You can fix this with sudo pacman -Syuu
    This will downgrade dracut to Version 106.
  2. You have to configure your systemd-boot to use the kernel-entry you want to use. Therefore change the default-line in the file /efi/loader/loader.conf.
    After that run the command reinstall-kernels.
    More infos see: https://discovery.endeavouros.com/installation/systemd-boot/2022/12/

Hope it helps!

1 Like

Actually, changing /efi/loader/loader.conf doesn’t require running reinstall-kernels.

1 Like

Oops! :face_with_peeking_eye:

1 Like

Dracut has been downgraded. Not 100% understanding this line

" Therefore change the default-line in the file /efi/loader/loader.conf"

In my file I have this
default eea0e827dd764481b784113be4974fec*

Click on the wiki link @marteng69 linked above. If you scroll down the page, it describes exactly how to change it.

1 Like

My apologies, I never clicked that link. I tried both

default 665eca4ae83246df8ec17d1cbc6a1763-*-arch?-?.conf
and
default 665eca4ae83246df8ec17d1cbc6a1763-*-arch?-?.conf*
(what the wiki suggested) but the results are still the same.

Did a hard shutdown just to be extra safe.

Edit:
Am i supposed to make it
eea0e827dd764481b784113be4974fec -*-arch?-?.conf
matching my original file?

I’m new to all of this.

Yes, you need to your ID. The one on the wiki is just an example.

That fixed it. Just wanted to be 100% sure before I brick something. Thank you both for the help.

2 Likes

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