--- In [email protected], Saheer <[EMAIL PROTECTED]> wrote:
>
> Hi all,
> I have a RedHat Enterprise Server4 which is one of my
> critical production server, I need to update the
> Kernel and patches on this server. If I run the
> up2date –uf (To update kernel and patches) and incase
> if I face any problem later is there any way to revert
> it back to old kernel?
> 
> Regards
> Saheer

Hi Saheer,

I don't really know what tools are used on a Red Hat system in regards
to kernel updating / compiling. But how it usually works on a generic
Linux system is:
1) You unpack your new kernel sources and patches (or in your case rpm
prolly) in /usr/src/linux-kernel-version and symlink a /usr/src/linux
to it.

2) you go to /usr/src/linux and issue a 'make menuconfig'. Best is to
load your previous config and then check the new stuff that has been
added to this kernel e.g. driver support, deprecated stuff.

3) when you're done you exit and save your kernel config.

4) you issue a 'make && make modules_install'

5) When you got your fresh kernel built, it is in
/usr/src/linux/arch/i386/boot/ named 'bzImage'

This you usually have to copy to /boot and configure it in your LILO
or GRUB to boot. And this is where the revert option comes in. You can
add as many boot images to LILO as you want, so you just add a new
image like 'new kernel test' or something and select the new kernel
image (bzImage) which you can rename to something else as to not
overwrite your current kernel in /boot

Then when you boot you always have the chance to jump back to your old
kernel.

If this is all to complicated, I suggest someone with some sense of
Red Hat off the shelf tools knowledge comes in. Anyway what these
tools probably do is automate the process of compiling and installing
the new kernel, the principle stays the same.

Maybe it could be a topic for another LUG meeting: Compiling the Linux
Kernel.

Lots of good documentation to find on the net as well! Hope you get it
working! One last tip: BACKUPS BACKUPS BACKUPS! 8) 8)







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/dubailug/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to