Mailinglist Archive: opensuse (1318 mails)

< Previous Next >
Re: [opensuse] Safer Kernel Updates
  • From: Mike McMullin <mwmcmlln@xxxxxxxx>
  • Date: Sat, 01 Nov 2008 02:01:29 -0400
  • Message-id: <1225519289.6789.0.camel@xxxxxxxxxxxxxxxxx>
On Fri, 2008-10-31 at 02:13 -0500, David C. Rankin wrote:
Rajko M. wrote:
On Thursday 30 October 2008 06:39:42 pm Andrew Joakimsen wrote:
How can I do Kernel updates but keep the old kernel as an option in
the GRUB menu? I just looked at systems recently updated and in /boot
all the files for the previous kernel are no longer there.

For now download kernel and run 'rpm -i <kernel>' , this will not delete
older
kernel. Though, I would check is old kernel still listed in grub boot menu.


Yep, it still works like a charm. I downloaded and reinstalled
2.6.25.16 after
update to 2.6.25.18 to test a graphics issue and I just collected the rpms
into
a single directory like:

02:08 nirvana/srv/www/download/openSUSE_11.0/x86_64/kernel> ls -1 | grep 16
kernel-default-2.6.25.16-0.1.x86_64.rpm
kernel-source-2.6.25.16-0.1.x86_64.rpm
kernel-syms-2.6.25.16-0.1.x86_64.rpm

Then installed them with:

rpm -ivh --force kernel*.rpm

The installed worked just as it should and properly updated
/boot/grub/menu.lst preserving the 2.6.25.18 kernel entries.

NOTE: Above, the --force option was required due to installing an older
kernel.
As a general rule _never_ _ever_ use the --force option unless you know
exactly
what your are doing. It is the quickest way to thrash your entire rpm
database.

David? I'm wondering if you're running virtual box and have seen any
problems with it under the new kernel?

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups