[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Been carefully in questions about the kernel ..?



Rick Stevens wrote:

Thomas Rump wrote:

Please, could someone tell me which files / dirs i could delete, after 'kernel-update' (2.4.18-19.8.0) seems ok. May be i've found these files in '/usr/src/...', '/boot/..' and '/lib/modules/...'. I am so carefully, cause in the past i have tried to update the kernel by myself, with different descriptions and no success!
May be a member of this list knows also an internet side which declares or show a way how to update (manual) a kernel in a "Linux-RedHat" system?


Updating the kernel via RPM is pretty safe and easy.  Is the new kernel
now running?  Yyou can find the kernel version by using "uname -r".

If the system boots the new kernel safely, you can delete all of the
"initrd", "vmlinuz", "vmlinux" and System.map files that DO NOT HAVE
YOUR KERNEL VERSION from the /boot directory.  I recommend you leave the
version you ran BEFORE the upgrade, just in case you have to go back.

In other words, if you are now running 2.4.18-19.8.0 and you were
previously using 2.4.18-18.7, you could delete any initrd, vmlinuz,
vmlinux, or System.map files that do NOT have either 2.4.18-19.8.0 or
2.4.18-18.7 in their filenames, and ONLY those.  Don't touch "boot" or
any other file...just initrd, vmlinuz, vmlinux and System.map files.

You can also "rm -rf" any "/lib/modules/*" directory that doesn't
have your kernel version in its name.  These directories contain
the kernel modules (device drivers, etc.).

You may also want to clean up /etc/lilo.conf and /boot/grub/grub.conf
to remove references to the kernels you just deleted.

If you're at ALL nervous about this, show us your /etc/lilo.conf and
/boot/grub/grub.conf files, the contents of your /boot directory AND
the output of the "uname -r" command and we can guide you a bit more.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens vitalstream com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-            I'm afraid my karma just ran over your dogma            -
----------------------------------------------------------------------



_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://listman.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request redhat com
Subject: unsubscribe



Very friendly-, first i had tried the 'rpm -e' way for the '
'2.4.18-14 2.4.18-14custom 2.4.18-18.8.0custom 2.4.18-19.8.02.4.18-18.8.0-kernel. So now 'ls' in '/lib/modules/' shows:', so '2.4.18-14' was the first kernel as system installation. If i look to '/usr/src/' there is this line:'linux-2.4 linux-2.4.18-14 linux-2.4.18-18.8.0 linux-2.4.18-19.8.0 redhat'. But first i want to rid the 'linux-2.4.18-18.8.0' version. In '/boot/' it looks like that: ' boot.b message System.map-2.4.18-19.8.0
chain.b message.ja vmlinux-2.4.18-14
config-2.4.18-14 module-info vmlinux-2.4.18-19.8.0
config-2.4.18-19.8.0 module-info-2.4.18-14 vmlinuz
grub module-info-2.4.18-19.8.0 vmlinuz-2.4.18-14
initrd-2.4.18-14.img os2_d.b vmlinuz-2.4.18-19.8.0
initrd-2.4.18-19.8.0.img System.map
kernel.h System.map-2.4.18-14'

The change for 'grub.conf' i think i know.


A little help from your side, would be great!

Regards Thomas Rump











[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]