Announcement
Collapse
No announcement yet.
[SOLVED] 22.04 Boot stops just before KDE starts
Collapse
This topic is closed.
X
X
-
I had nVidia cards for years and learned how to manager their drivers. My last one died in 2020 and I switched to AMD. My life has definitely been easier since.
- Top
- Bottom
-
BINGO! I can boot now with all three options!
I did it with the first mentioned line:
and then triedCode:sudo ubuntu-drivers install nvidia:390
which led to the exact same result as you, oshunluvr predicted. I saw your response only after doing the install with the code from Schwarzer Kater . I guess the difference is that linux-modules-nvidia-390-5.19.0-46-generic installs only one component, while nvidia:390 installed approximately hundred or more.Code:dkms status
I want to thank you all a thousand times. You deeply impressed me with your profound knowledge as well as your friendliness and your patience with a dumb noob like me. Did I learn from it? I don't want to exaggerate, but I feel myself a tiny bit smarter than two days before, that's at least something. Thank you.
Last edited by Snowhog; Jul 20, 2023, 06:12 AM.
- Top
- Bottom
Leave a comment:
-
This should do it for you:
As it installs (do it in Konsole so you can see what happens) you should see messages related to DKMS module builds. When it's complete, type this in:Code:sudo apt install linux-modules-nvidia-390-5.19.0-46-generic
and you should see something like:Code:dkms status
Code:nvidia-390, 5.15.0-97-generic, x86_64: installed nvidia-390, 5.19.0-46-generic, x86_64: installed
- Top
- Bottom
Leave a comment:
-
So you should install the Nvidia driver again (it is missing for the 5.19 kernel) - if I am not mistaken the following should also install it for the 5.19 kernel even if you boot from the 5.15 one.
sudo ubuntu-drivers install nvidia:390
or - if ubuntu-drivers does not work - use:
sudo apt install --reinstall nvidia-driver-390
and reboot.
- Top
- Bottom
Leave a comment:
-
oshunluvr Thanks for your hint. This is what I get with the two commands:
Code:$ dpkg -l |grep 5.15.0 |grep ii ii iproute2 5.15.0-1ubuntu2 ii linux-generic 5.15.0.76.74 ii linux-headers-5.15.0-76 5.15.0-76.83 ii linux-headers-5.15.0-76-generic 5.15.0-76.83 ii linux-headers-generic 5.15.0.76.74 ii linux-image-5.15.0-76-generic 5.15.0-76.83 ii linux-image-generic 5.15.0.76.74 ii linux-libc-dev:amd64 5.15.0-76.83 ii linux-modules-5.15.0-76-generic 5.15.0-76.83 ii linux-modules-extra-5.15.0-76-generic 5.15.0-76.83 ii linux-modules-nvidia-390-5.15.0-76-generic 5.15.0-76.83+5 ii linux-modules-nvidia-390-generic 5.15.0-76.83+5 ii linux-objects-nvidia-390-5.15.0-76-generic 5.15.0-76.83+5 ii linux-signatures-nvidia-5.15.0-76-generic 5.15.0-76.83+5
Compared to 5.15 (the booting version) there are less elements in the (not booting) 5.19 package. OK, it might be a bit childish to simply count the number of files.Code:$ dpkg -l |grep 5.19.0 |grep ii ii linux-generic-hwe-22.04 5.19.0.46.47~22.04.21 ii linux-headers-5.19.0-46-generic 5.19.0-46.47~22.04.1 ii linux-headers-generic-hwe-22.04 5.19.0.46.47~22.04.21 ii linux-hwe-5.19-headers-5.19.0-46 5.19.0-46.47~22.04.1 ii linux-image-5.19.0-46-generic 5.19.0-46.47~22.04.1 ii linux-image-generic-hwe-22.04 5.19.0.46.47~22.04.21 ii linux-modules-5.19.0-46-generic 5.19.0-46.47~22.04.1 ii linux-modules-extra-5.19.0-46-generic 5.19.0-46.47~22.04.1
- Top
- Bottom
Leave a comment:
-
Sound like you're possibly missing some additional packages for the 19 kernel. Try this:
dpkg -l |grep 5.15.0 |grep ii
dpkg -l |grep 5.19.0 |grep ii
Then compare the two lists to see if all extra stuff is there. On my system there's 4-5 related packages:
linux-headers-5.15.0-76
linux-headers-5.15.0-76-generic
linux-image-5.15.0-76-generic
linux-modules-5.15.0-76-generic
linux-modules-extra-5.15.0-76-generic
linux-headers-5.19.0-46-generic
linux-hwe-5.19-headers-5.19.0-46
linux-image-5.19.0-46-generic
linux-modules-5.19.0-46-generic
linux-modules-extra-5.19.0-46-generic
- Top
- Bottom
Leave a comment:
-
Again: no luck – 5.15.0-76-generic boots, the rest doesn't
- Top
- Bottom
Leave a comment:
-
Then as a next step I would suggest to reinstall the kernel that is not properly bootable from GRUB:
sudo apt install --reinstall --install-recommends linux-generic-hwe-22.04
and try again.
- Top
- Bottom
Leave a comment:
-
Schwarzer Kater You don't give up – brave!
I did that, resulting in no changes: Booting with 5.15.0-76-generic works, the two other ones remain stubborn.sudo grub-install /dev/sda
- Top
- Bottom
Leave a comment:
-
A next step could be to rewrite the boot loader to your drive:
sudo grub-install /dev/sda
and try again.
- Top
- Bottom
Leave a comment:
-
OK, thanks, I did the update-grub and tried the entries:So you do get to your KDE Plasma DE?
Open the Konsole terminal emulator and enter: sudo update-grub to update your boot loader.
Reboot afterwards and try the different entries again, beginning with the "Ubuntu" one, then the submenu (not the recovery ones).
Ubuntu > no success
Advanced / Linux with 5.19.0-46-generic > no success
Advanced / Linux with 5.15.0-76-generic > successful, and yes I get KDE Plasma
The update-grub response:
All in all it seems to be a step back, as yesterday evening two of three options worked, while now only one is left. No problem, I'm happy that at least one option boots. Thanks again for your help.Code:Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.19.0-46-generic Found initrd image: /boot/initrd.img-5.19.0-46-generic Found linux image: /boot/vmlinuz-5.15.0-76-generic Found initrd image: /boot/initrd.img-5.15.0-76-generic Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries. Found Mac OS X on /dev/sda2 done
- Top
- Bottom
Leave a comment:
-
It is a compatibility meta-package in 22.04 (and 20.04), for upgrading from previous releases. It only depends on xserver-xorg, and nothing else.Originally posted by Schwarzer Kater View PostPerhaps I am a bit "touchy" today, but why would you try to install parts of the *Ubuntu 18.04 LTS hwe in Kubuntu 22.04 LTS?
The package used to be necessary when adding HWE support to 18.04, and previous LTS releases.
- Top
- Bottom
Leave a comment:
-
So you do get to your KDE Plasma DE?
Open the Konsole terminal emulator and enter: sudo update-grub to update your boot loader.
Reboot afterwards and try the different entries again, beginning with the "Ubuntu" one, then the submenu (not the recovery ones).
PS: And to answer your question - the first entry from the submenu should be linked to the "Ubuntu" one.
- Top
- Bottom
Leave a comment:
-
OK.
You have the generic kernels, that is a good thing.
Did you try both 5.19 and 5.15 from the GRUB menu (not the recovery ones)?
And how did you manage to enter the command when you don't get a login prompt or a tty?
Can you post a photo or describe exactly what you see when you boot from the GRUB menu (not the recovery entries)?Last edited by Schwarzer Kater; Jul 18, 2023, 10:39 AM.
- Top
- Bottom
Leave a comment:
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: