On Sat, 2008-04-05 at 17:12 -0600, Chris Worley wrote:
Its very frustrating that updating from Yast causes kernel updates to delete the /lib/modules directory for the old kernel.
If you don't immediately reboot, then any, i.e. USB, devices you plug into your machine after the update don't work.
Worse, if the new kernel wasn't installed correctly, the old kernel won't boot either lacking needed modules.
Chris why don't you have a backup of your working kernel? After a kernel update I run it for a while and after I am happy I make a backup so I'm ready for the next. If you want to use this approach the following may save you some time. To save even more time just place on the clipboard the version number like 2.6.22.17-0.1 and then use the replace function of an editor and then few copy and paste in xterm and you are done. 1. Go to the boot directory #cd /boot 2. Find out the name of the running kernel #uname -r 3. make backup copy of your kernel and System.map #cp vmlinuz-2.6.22.17-0.1-default vmlinuz-2.6.22.17-0.1-bak #cp System.map-2.6.22.17-0.1-default System.map-2.6.22.17-0.1-bak #cp -r /lib/modules/2.6.22.17-0.1-default /lib/modules/2.6.22.17-0.1-bak 4. create initrd #mkinitrd 5. Check if new initrd was created: #ls and look for initrd-2.6.22.17-0.1-bak 6. Backup GRUB menu #cp -r /boot/grub/menu.lst /boot/grub/menu.lst_bak 7. edit grub menu # kwrite grub/menu.lst 8. Add new entry at the end of the file. You can copy the original entry for SUSE LINUX 10.2 and do some changes; title BACKUP openSUSE 10.3 - 2.6.22.17-0.1 root (hd0,0) kernel /vmlinuz-2.6.22.17-0.1-bak root=/dev/sda6 vga=0x346 resume=/dev/sda5 splash=silent showopts initrd /initrd-2.6.22.17-0.1-defaultbak 9. Test it -=terry(Denver)=- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org