Hello all, I’ve run into a pretty big problem when booting up Manjaro KDE Plasma edition. I’m very new to Linux, so I’ll try my best to explain the problem.
A few months ago, I installed Manjaro KDE 20.2.1 onto a computer, and it has ran fine since then until last night. When I tried to log in, i was greeted with a black background and missing UI. I still had mouse controls, and could launch programs using the terminal or search key, but non of the Plasma desktop loaded at all. I roamed around the internet trying to find a solution and found a link with a possible fix in the form of
sudo pacman-mirrors -f3 sudo pacman -Syyu
This updated some things when used in Konsole, but when I went ahead to restart the system, it froze after typing in the password for my user. I can access the GUI-less terminal through Ctrl+Fn+Alt+F2, but I can only log in as the root user. Once I do this, I can type startx, but the UI for Plasma still doesn’t show up and I’m back to the black screen. I do not know how to fix this problem despite doing some digging on different forums, and help would be greatly appreciated in a timely manner. For more info, I am on the Linux 5.9.16-1 kernel, do not know what drivers I have for graphics, my system is a laptop, and have been doing regular updates since installation (so I presume I’m on the latest version).
Warning: No installed USB configs!
[manjaro /]# ls /etc/mkinitcpio.d/.present
ls: cannot access '/etc/mkinitcpio.d/.present’: No such file or directory
[manjaro /]# end-chroot
bash: end-chroot: command not found
[manjaro /]# exit
exit
→ umount: [/mnt/boot/efi]
→ umount: [/mnt]`
This is what i got from those commands. I don’t know if you wanted me to type what you put as one command, or if I did something else wrong, because I got errors for some of them.
[manjaro@manjaro ~]$ sudo manjaro-chroot -a
grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdc1. Check your device.map.
==> Mounting (ManjaroLinux) [/dev/sdb2]
→ mount: [/mnt]
→ mount: [/mnt/boot/efi]
[manjaro /]# mhwd-kernel -li
Currently running: 5.9.16-1-MANJARO (linux59)
The following kernels are installed in your system:
if you are logged , you cant remove old kernel 5.9 ( EOF - end of life ) as current
so you may keep wrong old version for drivers videos that explain the result
if you can log , then add
sudo mhwd-kernel -i linux54
then reboot , press Esc to see grub appears
go to advanced > select another kernel ( 5.4 lts or 5.10 lts )
Try to remove ~/.cache folder (the hidden folder in your user account home folder). I experienced black screen with a cursor after couple of updates on my Plasma installation too and removing caches helped.