Announcement

Collapse
No announcement yet.

[SOLVED] 22.04 Boot stops just before KDE starts

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    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.
    Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
    Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others

    get rid of Snap script (20.04 +)reinstall Snap for release-upgrade script (20.04 +)
    install traditional Firefox script (22.04 +)​ • install traditional Thunderbird script (24.04)

    Comment


      #17
      Again: no luck – 5.15.0-76-generic boots, the rest doesn't

      Comment


        #18
        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

        Please Read Me

        Comment


          #19
          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
          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​
          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.

          Comment


            #20
            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.
            Last edited by Schwarzer Kater; Jul 19, 2023, 10:30 AM. Reason: typos
            Debian KDE & LXQt • Kubuntu & Lubuntu • openSUSE KDE • Windows • macOS X
            Desktop: Lenovo ThinkCentre M75s • Laptop: Apple MacBook Pro 13" • and others

            get rid of Snap script (20.04 +)reinstall Snap for release-upgrade script (20.04 +)
            install traditional Firefox script (22.04 +)​ • install traditional Thunderbird script (24.04)

            Comment


              #21
              This should do it for you:

              Code:
              sudo apt install linux-modules-nvidia-390-5.19.0-46-generic
              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:
              dkms status
              and you should see something like:
              Code:
              nvidia-390, 5.15.0-97-generic, x86_64: installed
              nvidia-390, 5.19.0-46-generic, x86_64: installed

              Please Read Me

              Comment


                #22
                BINGO! I can boot now with all three options!

                I did it with the first mentioned line:

                Code:
                sudo ubuntu-drivers install nvidia:390
                and then tried

                Code:
                dkms status
                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.

                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.

                Comment


                  #23
                  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.

                  Please Read Me

                  Comment

                  Working...
                  X