From: Paolo Basenghi (paolo.basenghi_at_fcr.re.it)
Date: Thu Mar 09 2006 - 15:03:46 CET
Message-ID: <441035C2.5090202@fcr.re.it> Date: Thu, 09 Mar 2006 15:03:46 +0100 From: Paolo Basenghi <paolo.basenghi@fcr.re.it> Subject: Re: [suse-sles-e] keep old kernel after kernel upgrade
I agree with Lars.
I could add that I don't understand why Yast upgrades the existing
kernel instead installing it as new.
A bad effect of this behaviour: if you upgrade the kernel but do not
restart the system (because you cannot during work hours), from that
point until next reboot you cannot load any kernel module (so you cannot
use hotplug devices or USB devices, for example) because the running
kernel search for modules in a directory that does not exist any more.
RedHat kernel RPMs, for example, add the new kernel without removing the
running one AND make a new entry in the Grub or Lilo menu so the
sysadmin can quickly return to old kernel if the new one fails. Of
course is sysadmin responsability to remove old kernels when he think
the new ones are OK.
I really prefer SuSE in general, but with regard of this particular
point, RedHat is better (but RedHat lacks a great admin tool like Yast!)
-----------------------------------------------------
Paolo Basenghi - Sistemi Informativi
Az. Speciale Farmacie Comunali Riunite
Via Doberdō, 9 - 42100 Reggio Emilia
Tel. +39(0522)543312 - Fax +39(0522)543507
paolo.basenghi@fcr.re.it;
www.fcr.re.it; www.saninforma.it; www.futurfarma.it
-----------------------------------------------------
Lars Müller wrote:
> On Thu, Mar 09, 2006 at 11:48:58AM +0100, fritz fuchs wrote:
>
>> maybe a stupid question, i am sure i have read it
>> somewhere but i can't remember ..
>>
>> where can i configure to keep the old kernel after
>> upgrading via YOU to new kernel ?
>>
>
> This is not possible with YOU.
>
> rpm -ivh <new kernel package> works well and also readjusts the sym
> links in /boot as required. Download the required Kernel RPM and
> install it from the command line.
>
> It's a good strategy to keep at least the last running kernel installed.
> From this point you'll never run in any Kernel update trouble. ;) Also
> ensure to remove unneeded Kernels with rpm -e kernel-default-2.6.5-7.204
> e.g. as you else might run in out of space of /boot.
>
> Lars
>
This archive was generated by hypermail 2.1.7 : Thu Mar 09 2006 - 15:05:36 CET