Robert Crawford wrote:

On Wednesday 18 June 2003 00:13, PlugHead wrote:


[Re-directed to the list, after replying to Rodrigo...]

IIRC, you should *always* use "rpm -i" (install) for kernel rpms, not -F
(freshen, i.e. update.)

Doing so could (will?) result in a non-bootable system (because update will
try to delete your current kernel and--even if it succeeds--the new one
might not work.)




Here's a concise sure-fire manual way to upgrade the Mandrake kernels with the new rpm versions Mandrake issues. Upgrading with vanilla kernel.org sources with any extra patches differs, and is a little more complicated, but for Mandrake rpms, the steps below are all that's needed.


1. Download the new kernel and kernel source rpms to their own directory you create in /home (two rpms).

2.Open a console, su to root, and cd to that directory.

3. Type:

rpm -ivh *.rpm

4. After they install, check the following locations:

1. /etc/lilo.conf. You should now see the new stanza for the new kernel at the bottom.

2. /boot. You should now see items for the new kernel there.

3. /usr/src. There should be a new directory there for the new kernel.

4. /lib/modules. There should be a new kernel modules directory there.

If all that checks out, you have done it, and can reboot, and choose the new kernel in the lilo boot screen. The old kernel will still be listed, and available.

That's all there is to it with the Mandrake rpm kernel updates, as all copying and editing is done automatically.

Robert Crawford



Yep this is the way it's done.......... but it sure is questionable why in the Mandrake notice on the kernel, *MandrakeSoft Security Advisory MDKSA-2003:066 : kernel
the have the following:
*



To upgrade automatically, use *MandrakeUpdate*.


If you want to upgrade manually, download the updated package(s) from one of our FTP server mirrors <http://www.mandrakesecure.net/en/ftp.php> and upgrade with "rpm -Fvh *.rpm".


:-P


Larry


* *




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to