Issue with dracut 107 and the LTS kernel causing "failed to mount /sysroot"

It isn’t an issue with kernel-install. It is a core dracut issue. It just requires really specific scenarios to reproduce.

Ah ok seems i didnt had host sort things only issue i have is no bmp image xd

This is strange. When I looked into the file /etc/pacman.conf I found the following line
HoldPkg = pacman glibc dracut kernel-install-for-dracut eos-dracut

However when I checked the file /etc/pacman.conf.pacnew I found only the line
HoldPkg = pacman glibc

I do not recall putting HoldPkg = pacman glibc dracut kernel-install-for-dracut eos-dracut into the file /etc/pacman.conf.

Is that the reason why the error, failed to mount /sysroot, is not observed?

Should the file /etc/pacman.conf be changed so that the HoldPkg only has values pacman glibc?

The first HoldPkg line is the official EndeavourOS setting.
The second HoldPkg line is the official Arch setting.

These are sensible defaults in both cases. Obviously EndeavourOS uses the first line.

See the explanation of HoldPkg with command: man pacman.conf

1 Like

No. I already explained above in a previous response to you why you are not seeing the issue.

No. We added those packages to HoldPkg because removing those packages causes boot failure and many people were removing them by accident.

1 Like

Hey. I usually use the latest kernel but yesterday I tried to boot with the lts kernel, and the boot process got stuck with a “a start job is running for /dev/disk-by-uuid […]” message. The other kernel booted just fine. So I came across this thread and downgraded to dracut 106, this seems to have resolved the issue for me. :slightly_smiling_face:

6 Likes

Yaay !!
I’ve got this issue since my last update too !
I KNOW I will find any explanation and solution here !

Thank you all :smiley:

Has this been fixed in upstream, so I can just do paru and not worry about anything else? Thanks.

The fix has been merged upstream but it hasn’t been put into a release yet so the issue is still present.

1 Like

I see. Will there be an announcement here when it’s released?

Yes

2 Likes

Also, just to be clear, we have put dracut 106 in our repo and that will be removed once the fix is in place so you shouldn’t have to worry about this either way and you can update as normal.

2 Likes

Thanks again for the clarification!

1 Like

The downgrade answer me if I wanted to get dracut in IgnorePkg, I answered yes. Was it good?
Or it’s better without dracut IgnorePkg in /etc/pacman.conf?

You should remove it from ignorePkg. We have it in the repo so it won’t get upgraded again until the issue is resolved.

1 Like

Ok, thanks Dalto

1 Like

Thanks for the clarification. I was wondering why it’s not happening to me.

I’m always on the LTS kernel; the mainline kernel is only a backup for me, which means it hasn’t seen any use in a while. That must be why.

1 Like

All is well here with dracut 106, but I was curious if the latest version of dracut that is in the Arch repos has fixed the issues we were having? It’s been a while now:

Repository : endeavouros
Name : dracut
Version : 106-1

Repository : extra
Name : dracut
Version : 108-1

2 Likes

Dracut 108 should have the issue fixed. That was just released by dracut 7 hours ago.

We will be giving some time before making any changes to our repo. There are some outstanding issues that need to be reviewed. Also, dracut 108 has added hooks so installing it on EOS will probably cause an update failure or breakage.

I would strongly recommend against installing dracut 108 from the Arch repos right now.

6 Likes

Gonna wait for a few days before updating.

Thanks @CarlLaFong . I was thinking about this point exactly.

1 Like