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?
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
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.
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.
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.