Results 1 to 6 of 6

Thread: How-To upgrade OpenSUSE Leap 42.2, without changing the Kernel?

  1. #1

    Red face How-To upgrade OpenSUSE Leap 42.2, without changing the Kernel?

    I'm a Brazilian Linuser, I use Sabayon and OpenSUSE.
    I installed the new OpenSUSE Leap 42.2, 64 Bits,and it works great!



    but my question is:
    Is it possible to upgrade the packages using YaST or zypper, but without changing the Kernel and without changing my Grub?
    This is because I have proprietary video drivers and also I have double boot with Sabayon,
    when OpenSUSE upgrades fully, it changes my kernel (needing re-install drivers) and also the new OpenSUSE Grub, recognizes my Sabayon installation in the old Sabayon's kernel booting...
    For this, i need to upgrade OpenSUSE without changing the Grub and the kernel.
    Is is possible?

  2. #2
    Join Date
    Jun 2009
    Location
    Mangfall, Germany
    Posts
    1,490

    Default Re: How-To upgrade OpenSUSE Leap 42.2, without changing the Kernel?

    hi albfneto,

    in 'yast' select 'software management'

    select the search tab and search for

    kernel-

    then select each item in turn, press right mouse button, and select

    Protected - Do Not Modify

    that's it

    cheers

    NB. kde is assumed

  3. #3
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,669

    Default Re: How-To upgrade OpenSUSE Leap 42.2, without changing the Kernel?

    Hi and welcome to the Forums!
    First of all, please note that 42.2 is currently in Alpha test and not yet released, so maybe you are referring to "the new OpenSUSE Leap 42.1, 64 Bits" (which works great nonetheless).

    Anyway, the short answer is "YES, it is possible" and works in Gnome and other DE as well.
    To prevent any package from being updated, go to Yast - Software Manager, right-click on the package name and select "The Locker" (Protected -- Do Not Modify).
    This can be applied to the kernel, grub2 or just whatever you like.

    But frankly I don't understand why you are concerned: OpenSUSE has means to address your concerns.
    To automatically build the new (proprietary) drivers when a kernel gets an update there is the DKMS system.
    And a rebuilt bootloader generally finds any other OS on the system and updates accordingly, so you don't miss anything: just tick "Probe Foreign OS" in Yast - Bootloader.

    Feel free to ask about those features in the Forums if needed.
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

  4. #4
    Join Date
    Jun 2008
    Location
    NZ
    Posts
    1,546

    Default Re: How-To upgrade OpenSUSE Leap 42.2, without changing the Kernel?

    when a new kernel is added / updated the old kernel is not removed and remains selectable in Grub at boot time.
    Mark F.
    openSUSE Leap 15.1 / Plasma 5.12



  5. #5
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,669

    Default Re: How-To upgrade OpenSUSE Leap 42.2, without changing the Kernel?

    Quote Originally Posted by farcusnz View Post
    when a new kernel is added / updated the old kernel is not removed and remains selectable in Grub at boot time.
    Not entirely true: with standard defaults only kernel version "latest - 1" is kept, all other older kernels are removed by purge-kernels once the latest kernel is booted.
    Main: Leap 15 Gnome on i7 4720HQ + Geforce GTX960M
    Test: Leap 42.3 (& others) on Core2Duo + GM965

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,373
    Blog Entries
    3

    Default Re: How-To upgrade OpenSUSE Leap 42.2, without changing the Kernel?

    Quote Originally Posted by OrsoBruno View Post
    Not entirely true: with standard defaults only kernel version "latest - 1" is kept, all other older kernels are removed by purge-kernels once the latest kernel is booted.
    After the kernel install, immediately reboot to the kernel that you want to keep. That will then be kept as the "running" kernel (at least until next update).

    When I was running the old Tumbleweed (standard release plus some extras), I changed the multi-version to preserve the "oldest". That would keep the kernel from the standard release. On an update to that kernel, I would manually delete what was previously the oldest, so that the updated standard kernel became the oldest. This worked pretty well.
    openSUSE Leap 15.1; KDE Plasma 5;

Posting Permissions

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