Announcement

Collapse
No announcement yet.

Grub does not see my new kernel after update [solved]

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

    Grub does not see my new kernel after update [solved]

    I've just upgraded from 9.04 to 9.10 in an AMD 64bit box and I am still only using the kernel 2.6.27-11-generic. I was under the impression that 31 was the correct kernel for this build.

    What should I do?

    Do I need to do anything?

    I just checked and I have 31 installed, but I get no option to use it at start up - I guess this is something to do with grub?

    I ran grub --version and it returned 0.97

    #2
    Re: Kernel not upgraded to the latest version

    Did you reboot? or run
    Code:
    sudo update-grub
    HP Pavilion dv6 core i7 (Main)
    4 GB Ram
    Kubuntu 18.10

    Comment


      #3
      Re: Kernel not upgraded to the latest version

      I rebooted but didn't run the update-grub.

      Comment


        #4
        Re: Kernel not upgraded to the latest version

        I ran

        Code:
        sudo grub-update
        Searching for GRUB installation directory ... found: /boot/grub
        Searching for default file ... found: /boot/grub/default
        Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
        Searching for splash image ... none found, skipping ...
        Found kernel: /boot/vmlinuz-2.6.31-20-generic
        Found kernel: /boot/vmlinuz-2.6.27-11-generic
        Found kernel: /boot/vmlinuz-2.6.27-7-generic
        Found kernel: /boot/memtest86+.bin
        Updating /boot/grub/menu.lst ... done
        However, nothing has changed.

        I checked again in Synaptic and 2.6.31 is installed.

        Comment


          #5
          Re: Kernel not upgraded to the latest version

          Hmmm...
          update-grub sees your vmlinuz.

          Did you reboot (I know stupid question, butt.... )

          You should have your latest kernel in the grub boot splash.

          Code:
          $ uname -r
          will obviously only give you the running kernel

          If you have synaptic installed do a search for:
          -generic
          you should find:
          linux-headers-2.6.31-20-generic

          do a search for:
          linux-image-2.6.31-20-generic
          as well.

          Are they installed? If not install, run sudo update-grub again and reboot.
          If yes, reinstall and run sudo and reboot.

          If that doesn't help there is something wrong with grub and I would change the title of your post to a more grub specific tiltle (grub does not see my new kernel after update, or something to that effect)
          HP Pavilion dv6 core i7 (Main)
          4 GB Ram
          Kubuntu 18.10

          Comment


            #6
            Re: Kernel not upgraded to the latest version

            I imagine Fintan has already nailed it for you but I think the package that registers a new kernel as being available in grub is the "headers" package.

            Comment


              #7
              Re: Kernel not upgraded to the latest version

              All the packages stated are there. I reinstalled the 2.6.31 image but still no joy.

              Comment


                #8
                Re: Kernel not upgraded to the latest version

                Sorry I couldn't be of any help

                Then I guess this is a grub issue.

                As I suggested above please change the title
                HP Pavilion dv6 core i7 (Main)
                4 GB Ram
                Kubuntu 18.10

                Comment


                  #9
                  Grub does not see my new kernel after update

                  oops, I forgot to change the title - okay done

                  Comment


                    #10
                    Re: Grub does not see my new kernel after update

                    I had a similar problem. I upgraded from 9.04 and to 9.10 and grub legacy wouldn't show any new kernel.

                    I installed grub2 and the new kernel showed up.

                    Comment


                      #11
                      Re: Grub does not see my new kernel after update

                      I ran

                      Code:
                      sudo apt-get install grub2
                      I get a package configuration program which is attempting to take my old grub file and create a new one. It is asking if my "kopt" parameter from the old config file is correct, but it is empty

                      Comment


                        #12
                        Re: Grub does not see my new kernel after update

                        Installing Grub 2 did the trick

                        Thanks to all who helped

                        Comment


                          #13
                          Re: Grub does not see my new kernel after update [solved]

                          Great
                          HP Pavilion dv6 core i7 (Main)
                          4 GB Ram
                          Kubuntu 18.10

                          Comment

                          Working...
                          X