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

Re: Upgrading the Kernel in RH



On Sun, Oct 21, 2001, Ben-Nes Michael wrote about "Upgrading the Kernel in RH":
> Hi All
> 
> What is more recommended for RH systems ?
> Upgrade the Kernel using RPM or source ?

RPM.

The way I recommend is to install Redhat's kernel RPM (kernel*.rpm). Usually
there is no reason for you to ever compile your own kernel, because Redhat
includes almost every conceivable feature in their kernel as a module, which
is very convenient.

If you do want to compile a kernel (e.g., one of the missing features in
Redhat's kernel is NTFS support - say you reall need that...), install
Redhat's kernel-source.* rpm, which opens into /usr/src/linux-* - then
go there, and do your stuff (make mrproper; make xconfig, etc.)

Again, that's kernel-source.rpm. *do not* use kernel-*.srpm unless you
know what you're doing. Also, I'd strongly recommend against taking a
vanilla kernel from kernel.org and compiling it yourself, unless you know
what you're doing. Redhat adds a lot of patches into the kernels it includes
in its distributions, and some of them perhaps are needed to go well with
the user-space programs they distribute. A kernel from kernel.org is likely
to work just fine, but why take the risk (unless, again, you know what you're
doing, and deliberately want to experiment with a newer kernel).

P.S. After installing a kernel with
	rpm -Fvh kernel-1.2.3.4.rpm
*DONT FORGET* to run lilo again! If you do forget, your system might not
boot up the next time, and you'll need to boot using a rescue disk (or the
original Redhat cdrom).

-- 
Nadav Har'El                        |      Sunday, Oct 21 2001, 5 Heshvan 5762
nyh@math.technion.ac.il             |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |"A mathematician is a device for turning
http://nadav.harel.org.il           |coffee into theorems" -- P. Erdos

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il