Results 1 to 5 of 5

Thread: Increasing the number of kernel boot images

  1. #1

    Question Increasing the number of kernel boot images

    Hi,

    Today I experienced a system hang after updating to latest openSUSE kernel and I am looking for a way to secure myself against similar issues in future by increasing the number of previous kernel versions.

    I have found this and this info and checked how it is on my system:

    Code:
    # grep multiversion.kernels /etc/zypp/zypp.conf
    multiversion.kernels = latest,latest-1,running
    Do I understand correctly that to increase the number of versions from 2 (currently) to 4 all I have to do is to set:

    Code:
    multiversion.kernels = latest,latest-1,latest-2,latest-3,running
    No need to do anything in regards to bootloader or anything else?

  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,364
    Blog Entries
    3

    Default Re: Increasing the number of kernel boot images

    Quote Originally Posted by heyjoe View Post
    Today I experienced a system hang after updating to latest openSUSE kernel and I am looking for a way to secure myself against similar issues in future by increasing the number of previous kernel versions.
    I also had a hang on a KVM virtual machine -- reported as Bug 1104121.

    Code:
    # grep multiversion.kernels /etc/zypp/zypp.conf
    multiversion.kernels = latest,latest-1,running
    What I did, was immediately add "oldest" (before "latest"). That way, I will keep a known good kernel. At some time in the future, I'll remove that "oldest" and that kernel will be uninstalled at the next kernel update. But I'll wait until I know I have a good kernel before I do that.

    No need to do anything in regards to bootloader or anything else?
    No, you should not have to touch bootloader. But you will have to select a good kernel from the boot menu. Or you could uninstall the bad kernel, and then it will default to booting the good one.
    openSUSE Leap 15.1; KDE Plasma 5;

  3. #3

    Default Re: Increasing the number of kernel boot images

    Thanks nrickert!

    Won't oldest result in a duplicate? (in case e.g. oldest is the same as latest-2)

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,364
    Blog Entries
    3

    Default Re: Increasing the number of kernel boot images

    Quote Originally Posted by heyjoe View Post
    Won't oldest result in a duplicate? (in case e.g. oldest is the same as latest-2)
    It just means that there are two reasons for not removing that kernel. But once another new kernel is added, then those will refer to different kernels.
    openSUSE Leap 15.1; KDE Plasma 5;

  5. #5

    Thumbs up Re: Increasing the number of kernel boot images

    Excellent.
    Thank you!

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
  •