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

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



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            -
----------------------------------------------------------------------





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