Tried to change to X11 in SDDM and now laptop doesn't boot

I changed to X11 following these instructions:

https://forum.garudalinux.org/t/wayland-is-stuttery-how-to-x11-on-boot/

However, after I restart I get the following error:

[FAILED] Failed to mount /sysroot
[DEPEND] Dependency failed for Initrd Root File System
[DEPEND] Dependency failed for Mountpoints Configured in the Real Root

EDIT: I’ve reinstalled KDE garuda, and I don’t want to touch again something related to X11, but something seems wrong with the option on SDDM to always start with X11.

UPDATE: strangely, if I close the open session and open a session of X11 it works as expected. However I’m afraid of trying again to setup X11 session from the start with SDDM and ruin again my installation.

Which bootloader do you use , refind ? Systemd boot , grub ?

Its the bootlader used by default when installing Garuda in a disk, i.e., grub (at least it seems grub, as far as I can tell you, as booting the laptop it appears the grub menu).

Seems it is mismatching the initrd, initramfs and kernel files. Perhaps your grub.cfg was getting messy ?

Perhaps you wanna try the lts kernel to see if this is a kernel related issue which I suspect not.

Run:
sudo pacman -S linux-lts linux-lts-headers
And reboot. See if it fixes it.

Thank you for the tips. The installation was clean. However in this moment I need a working laptop so I can’t experiment at this moment, maybe in the future I will try to do it.

1 Like

Ok. I tried again to setup X11 in SDDM after updating the system and taking an snapshot, and it worked! I don’t know what could happen the first time to broke the system, anyway it works now so I can close this question.

1 Like

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