[opensuse] Reataining Multiple Kernels
I do much prefer OpenSuSE/SLES to other distros but must use Red Hat/CentOS/Fedora at work. There is one nice feature on those others I have been unable to figure out how to do in SuSE. When doing a kernel install, it retains the last 3 (configurable) kernels and makes entries for all of them in grub.conf. Today I did a kernel upgrade on my CentOS 5.3 desktop but it broke VMware so all I had to do was reboot selecting the last kernel known to work with VMware. I know they do it via yum which SuSE does not use. Is there a simple way to retain several kernel versions in OpenSuSE/SLES? Thank you, Lucky Leavell -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2009/07/23 21:30 (GMT-0400) Lucky Leavell composed:
I know they do it via yum which SuSE does not use. Is there a simple way to retain several kernel versions in OpenSuSE/SLES?
As of openSUSE 11.1 this became relatively easy using zypper (the Yum counterpart in openSUSE) for upgrading. Just set the name of any package you want to retain for multiple versions in /etc/zypp/zypp.conf. Once so configured zypper will not automatically remove the older versions. You'll have to cull obsoletes as desired yourself with YaST, zypper rm, or rpm -e. -- No Jesus - No peace , Know Jesus - Know Peace Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 23 Jul 2009, Felix Miata wrote:
On 2009/07/23 21:30 (GMT-0400) Lucky Leavell composed:
I know they do it via yum which SuSE does not use. Is there a simple way to retain several kernel versions in OpenSuSE/SLES?
As of openSUSE 11.1 this became relatively easy using zypper (the Yum counterpart in openSUSE) for upgrading. Just set the name of any package you want to retain for multiple versions in /etc/zypp/zypp.conf. Once so configured zypper will not automatically remove the older versions. You'll have to cull obsoletes as desired yourself with YaST, zypper rm, or rpm -e. -- I found this line, uncommented it:
multiversion = kernel-default,kernel-smp,kernel-pae adding my kernel: kernel-pae-extra-2.6.27.23-0.1.1 kernel-pae-base-2.6.27.23-0.1.1 kernel-pae-2.6.27.23-0.1.1 Question: Is my "kernel-pae sufficient or do I need to list all three packages? Thank you, Lucky Leavell -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 2009/07/23 22:07 (GMT-0400) Lucky Leavell composed:
I found this line, uncommented it:
multiversion = kernel-default,kernel-smp,kernel-pae
adding my kernel:
kernel-pae-extra-2.6.27.23-0.1.1 kernel-pae-base-2.6.27.23-0.1.1 kernel-pae-2.6.27.23-0.1.1
Question: Is my "kernel-pae sufficient or do I need to list all three packages?
I really can't be sure, but I think so. I'm using only 32 bit on ordinary desktops. Mine read as follows: multiversion = kernel-pae-base,kernel-pae The result is kernel-pae-extra remains installed only for the newest kernel. -- No Jesus - No peace , Know Jesus - Know Peace Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, Jul 23, 2009 at 10:07:57PM -0400, Lucky Leavell wrote: [ 8< ]
Question: Is my "kernel-pae sufficient or do I need to list all three packages?
You need to list all three. Check the archive for some old posting with my suggestion to always keep the running kernel and how to deal with disk space and all the raising questions. Looks like this isn't required by the mass of users. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
* Felix Miata <mrmazda@earthlink.net> [07-23-09 21:46]:
As of openSUSE 11.1 this became relatively easy using zypper (the Yum counterpart in openSUSE) for upgrading. Just set the name of any package you want to retain for multiple versions in /etc/zypp/zypp.conf. Once so configured zypper will not automatically remove the older versions. You'll have to cull obsoletes as desired yourself with YaST, zypper rm, or rpm -e.
Please explain this further. I find no references to retaining packages in /etc/zypp/zypper.conf or the man pages or on opensSUSE wiki. tks, -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Patrick Shanahan <paka@opensuse.org> [07-23-09 22:15]:
Please explain this further. I find no references to retaining packages in /etc/zypp/zypper.conf or the man pages or on opensSUSE wiki.
nevermind, need to read better. Found it..... -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Felix Miata
-
Lars Müller
-
Lucky Leavell
-
Patrick Shanahan