David C. Rankin wrote:
Aaron Kulkis wrote:
David C. Rankin wrote:
Listmates,
How do I prevent Yast from deleting my working kernel when I do a kernel update?
It isn't deleted.
Your old kernel will still be in /boot, and will there will be a symbolic link /boot/vmlinuz.old pointing to it.
To boot the previous kernel, you intervene during the boot-up process, and add ".old" appropriately to the boot-line when it comes up in grub.
Additionally, you can always add an entry to grub to make this even easier.
NOTE... I don't have an "old" kernel on my machine right now, so my reply is based on personal memory.
What do I need to copy or rename so I can restore a working config if Yast and/or the new kernel borks my system? I recall this discussion, but googling, I can't find the old posts. With all the recent YOU kernel update problems, I want to make sure I can get back to my old kernel and config. Thanks!
I wish it worked that way, but yast in 10.3 does _delete_ the old kernel and _removes_ the installed modules for the old kernel. The
Oh shit. What knucklehead broke that? </rhetorical> Damn, this is frustrating. Why are the YaST developers taking code that worked (and quite well at that) and replacing it with code that is completely anti-thetical to good administrative practices?
module tree for the old kernel remains in /lib/modules, but any custom modules (wifi, etc) are deleted on the kernel upgrade. This killed a production box when kernel update crashed after setting the vmlinuz and initrd links to the new kernel even though the crash occurred before the new kernel was actually installed.
I'll bet it did. And I can fully sympathize with you're unhappiness... I would be too. I'm only on 10.1 right now... Online Update, which used to work flawlessly, is broken -- even on a 2nd installation. (and yes, MD5sums did check out). All of the polished bits have been getting marred, scratched, dented and generally going downhill since 9.3 :-( And then we have SuSE's devs starting pointless discussions about re-arranging the deck chairs on the sinking YaST ship.
I have used the method suggested by Ken to download the kernel, kernel-source and kernel-syms and then install manually with rpm -ivh. This works the way yast use-to-work. The new kernel is installed and the old kernel and all old modules are left intact. Proper grub menu.lst entries are created for both the new and old kernels. Once verified, the old kernel can be removed either through yast or with rpm -e and the menu.lst entries are properly removed as well.
The only negative side effect of the rpm -ivh install is on online-update that still thinks it needs to install the new kernel. Manually changing the OU select options for the kernel fixes this problem.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org