Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: New kernel not showing in grub after upgrade from 12.3 to 13.1

  1. #1

    Default New kernel not showing in grub after upgrade from 12.3 to 13.1

    I used the system upgrade ( https://en.opensuse.org/SDB:System_upgrade ) to go from version 12.3 to version 13.1. Everything looked OK and the upgrade finished successfully. A new kernel ( 3.11.6-4.1 ) was installed. But when I start OS 13.1 the grub screen still shows the lines for the old kernel ( 3.7.10-1.24 ) and the version 12.3 for that old kernel. There are no lines in grub for the new kernel and version 13.1.

    What is the easiest way to upgrade grub to use the new kernel ? Do I use the Yast's Boot Loader or is there an easier/better option ?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,728

    Default Re: New kernel not showing in grub after upgrade from 12.3 to 13.1

    It most probably uses the new kernel, but the text it shows is wrong.

    You can change the text using YaST > System > Bootloader (where you can also see which kernel is loaded).
    Henk van Velden

  3. #3

    Default Re: New kernel not showing in grub after upgrade from 12.3 to 13.1

    Quote Originally Posted by eldiener View Post
    I used the system upgrade ( https://en.opensuse.org/SDB:System_upgrade ) to go from version 12.3 to version 13.1. Everything looked OK and the upgrade finished successfully. A new kernel ( 3.11.6-4.1 ) was installed. But when I start OS 13.1 the grub screen still shows the lines for the old kernel ( 3.7.10-1.24 ) and the version 12.3 for that old kernel. There are no lines in grub for the new kernel and version 13.1.

    What is the easiest way to upgrade grub to use the new kernel ? Do I use the Yast's Boot Loader or is there an easier/better option ?
    Which grub do you use?
    grub (legacy) or grub2?

    For grub2 you should find the new kernel in "Advanced Options" (although it should be used by default because it is a higher version).
    If that one boots successfully, you can just uninstall the 3.7.10 kernel and grub2 should use the new one.
    Enter YaST->Software Management, search for kernel, mark the kernel package and click on "Versions" below the package list. You can uninstall specific versions there.
    Or just run "sudo zypper rm kernel-desktop-3.7.10" or similar, depending on which kernel flavor you have installed.

    That the menu still says 12.3 is "normal" in that case. This is a user-editable setting and won't be changed on upgrade.
    Enter YaST->System->Boot Loader->Boot Loader Options and change it to your likings. ("Distributor")

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    15,666
    Blog Entries
    3

    Default Re: New kernel not showing in grub after upgrade from 12.3 to 13.1

    Quote Originally Posted by eldiener View Post
    I used the system upgrade ( https://en.opensuse.org/SDB:System_upgrade ) to go from version 12.3 to version 13.1. Everything looked OK and the upgrade finished successfully. A new kernel ( 3.11.6-4.1 ) was installed. But when I start OS 13.1 the grub screen still shows the lines for the old kernel ( 3.7.10-1.24 ) and the version 12.3 for that old kernel. There are no lines in grub for the new kernel and version 13.1.
    Some people have had that problem. It happens when you have a separate "/boot" partition, and there isn't enough space on "/boot" to build the "initrd" file for the new kernel. You might check whether that is your problem.
    openSUSE Leap 15.3; KDE Plasma 5.18.6;

  5. #5

    Default Re: New kernel not showing in grub after upgrade from 12.3 to 13.1

    Quote Originally Posted by nrickert View Post
    Some people have had that problem. It happens when you have a separate "/boot" partition, and there isn't enough space on "/boot" to build the "initrd" file for the new kernel. You might check whether that is your problem.
    I have a separate /boot partition but it is 1 GB and has approximately 900 MB of free space.

  6. #6

    Default Re: New kernel not showing in grub after upgrade from 12.3 to 13.1

    Quote Originally Posted by wolfi323 View Post
    Which grub do you use?
    grub (legacy) or grub2?
    I believe I am using grub (legacy). How do I tell ? It is installed in a separate /boot partition.

    Quote Originally Posted by wolfi323 View Post

    For grub2 you should find the new kernel in "Advanced Options" (although it should be used by default because it is a higher version).
    If that one boots successfully, you can just uninstall the 3.7.10 kernel and grub2 should use the new one.
    Enter YaST->Software Management, search for kernel, mark the kernel package and click on "Versions" below the package list. You can uninstall specific versions there.
    Or just run "sudo zypper rm kernel-desktop-3.7.10" or similar, depending on which kernel flavor you have installed.

    That the menu still says 12.3 is "normal" in that case. This is a user-editable setting and won't be changed on upgrade.
    Enter YaST->System->Boot Loader->Boot Loader Options and change it to your likings. ("Distributor")
    I will look at Boot Loader. Thanks !

  7. #7

    Default Re: New kernel not showing in grub after upgrade from 12.3 to 13.1

    Quote Originally Posted by hcvv View Post
    It most probably uses the new kernel, but the text it shows is wrong.

    You can change the text using YaST > System > Bootloader (where you can also see which kernel is loaded).
    I will look at Bootloader. Thanks !

  8. #8

    Default Re: New kernel not showing in grub after upgrade from 12.3 to 13.1

    Quote Originally Posted by eldiener View Post
    I believe I am using grub (legacy). How do I tell ? It is installed in a separate /boot partition.
    YaST->System->Boot Loader should tell you whether you are using "Grub" or "Grub2".

    Or have a look at the boot menu. If there's an entry "Advanced Options" it should be grub2, if there's a text line where you can enter boot options and a F-Keys menu at the bottom it should be grub legacy.
    In the latter case (grub legacy) you can edit the entries directly in YaST->System->Boot Loader.
    There's also an option to propose a new configuration (click on "Other"). I would advise this if the installation wasn't able to add the new kernel to the boot menu.

  9. #9
    Join Date
    Jun 2009
    Location
    Florida, USA
    Posts
    236

    Default Re: New kernel not showing in grub after upgrade from 12.3 to 13.1

    eldiener wrote:

    >
    > I used the system upgrade ( https://en.opensuse.org/SDB:System_upgrade )
    > to go from version 12.3 to version 13.1. Everything looked OK and the
    > upgrade finished successfully. A new kernel ( 3.11.6-4.1 ) was
    > installed. But when I start OS 13.1 the grub screen still shows the
    > lines for the old kernel ( 3.7.10-1.24 ) and the version 12.3 for that
    > old kernel. There are no lines in grub for the new kernel and version
    > 13.1.
    >
    > What is the easiest way to upgrade grub to use the new kernel ? Do I use
    > the Yast's Boot Loader or is there an easier/better option ?
    >
    >


    I've had that happen a couple of times. The easiest way (for me) was to use
    YaST to re-install the same kernel. It seems to function OK the second
    time.


  10. #10

    Default Re: New kernel not showing in grub after upgrade from 12.3 to 13.1

    Quote Originally Posted by GeoBaltz View Post
    eldiener wrote:

    >
    > I used the system upgrade ( https://en.opensuse.org/SDB:System_upgrade )
    > to go from version 12.3 to version 13.1. Everything looked OK and the
    > upgrade finished successfully. A new kernel ( 3.11.6-4.1 ) was
    > installed. But when I start OS 13.1 the grub screen still shows the
    > lines for the old kernel ( 3.7.10-1.24 ) and the version 12.3 for that
    > old kernel. There are no lines in grub for the new kernel and version
    > 13.1.
    >
    > What is the easiest way to upgrade grub to use the new kernel ? Do I use
    > the Yast's Boot Loader or is there an easier/better option ?
    >
    >


    I've had that happen a couple of times. The easiest way (for me) was to use
    YaST to re-install the same kernel. It seems to function OK the second
    time.
    That worked nicely. Once I forced an update of the same kernel that was already installed, it was reinstalled and added to the grub menu. Thanks for the suggestion !

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •