David C. Rankin composed on 2015-07-22 11:27 (UTC-0500):
Troubleshooting xorg issues on my laptop, installing the kernel of the day (KOTD) was recommended. I know have 2 KOTD kernels installed on my box. I have zypper configured to allow multiversions of the kernel. I want to remove the latest KOTD kernel WITHOUT killing my system. Can I simply rpm -e the unwanted kernel to have it completely removed while preserving the remaining installed kernels and bootloader, etc.. My thought was to use:
rpm -e kernel-default-devel-3.16.1-7.1.g90bc0f1.x86_64 \ kernel-desktop-3.16.1-7.1.g90bc0f1.x86_64 \ kernel-devel-3.16.1-7.1.g90bc0f1.noarch \ kernel-source-3.16.1-7.1.g90bc0f1.noarch \ kernel-syms-3.16.1-7.1.g90bc0f1.x86_64 \ kernel-xen-devel-3.16.1-7.1.g90bc0f1.x86_64
but want to make sure there are no "gotchas"...
I have multiple 13.1 installations that I have switched between oss kernels and those from http://download.opensuse.org/repositories/home:/mkubecek:/evergreen-13.1/ope... . Removing non-running kernels has been a simple process in every case, with no observable gotcha of any consequence. I have had 13.1 subsequently refuse to reboot normally either at all or within a reasonable time, but this has only been a one time thing each time on the boot on which the removals were made. The shutdown process seems to proceed normally, but simply stops without either a shutdown or a restart, necessitating a reset button or power switch to finish the process. IIRC, I've only used zypper -v rm, but it's possible I may have used YaST2 or rpm -e once or twice. If you want to remove the most recently installed, simply boot into any of the installed older kernels, then remove the latest. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org