Re: [opensuse] Safer Kernel Updates



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 C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Anf?nger, blutig
    ... in welchen Runlevel mein Linux booten soll. ... >und der Dokumentation zu Grub ueberfordert? ... >Kernel laden und starten. ... Booten dem Kernel irgendwelche Parameter mit auf den Weg gegeben ...
    (de.comp.os.unix.linux.misc)
  • Re: Linux von einer auf andere Platte portieren?
    ... Kernel, der nicht in lilo.conf eingetragen ist? ... vielen von mir betreuten Rechnern das Booten von CD-ROM, ... dass grub etwas auf die Platte schreibt. ... Rechner, die von anderen Leuten benutzt werden. ...
    (de.comp.os.unix.linux.misc)
  • Re: Problem with the serial port in Fedora Core 6
    ... I've never seen the labels that you have added in grub and wonder ... expecting a pair of around the word 'menu', or maybe a kernel ... bugzilla the missing ttyS's, but bugzilla didn't like my password. ... and serial ports which appears to be exactly your issue and a suggestion ...
    (Fedora)
  • Re: Kernel upgrade on Dell Power edge 750
    ... Does anyone know what I need to change besides a kernel package upgrade? ... Are you using Grub or Lilo for you bootloader? ... Did the machine just NOT boot? ... I suggest installing grub as the boot loader. ...
    (Debian-User)
  • Re: Ssarge Upgrade-Lilo: FATAL
    ... Try installing grub and see if that helps. ... If you want to keep using lilo, and want help to fix it, please post ... You shouldn't have to run mkinitrd unless you build your own kernel, ...
    (Debian-User)