Ben,

I wouldn't recommend you to install a fresh kernel on to of redhat unless
you know what you're doing.

Take a kernel srpm from redhat, recompile and install... make sure
/etc/lilo.conf points to the right kernel. It should point to /boot/vmlinuz
and not to /boot/vmlinuz-x.y.z

A make install in /usr/src/linux will place the redhat-compiled kernel under
/boot and will make /boot/vmlinuz a symlink to the correct file.

Also make sure that you make modules modules_install *before* you reboot.

Dave.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Simon Garner
> Sent: venerdì 30 marzo 2001 12.08
> To: [EMAIL PROTECTED]
> Subject: Re: Quotas
>
>
> From: "Ben Kennish" <[EMAIL PROTECTED]>
>
> > Am I right in saying that the end result of compiling the
> kernel is simply
> > one single 'zImage' file which you can then copy to /boot/ and
> point LILO
> > to?
> >
> > Thanks,
> > ----
> > Ben Kennish
> > email | [EMAIL PROTECTED]
> >
>
>
> The kernel will install itself when you do 'make install'.
>
> Try:
>
> cd /usr/src
> mv linux linux-old
> # download a kernel
> wget ftp://ftp.kernel.org/pub/linux/kernel/linux-ver.tar.gz
> # extract it
> tar xzvf linux-ver.tar.gz
> # Before compiling you probably want to edit the Makefile here,
> # uncommenting the line INSTALL_PATH=/boot
> # now configure the kernel
> make menuconfig
> # build dependencies
> make dep
> # build compressed kernel image file
> make bzImage
> # build module files
> make modules
> # install modules
> make modules_install
> # install the kernel
> make install
>
> The last step will run lilo for you, but if you're paranoid (like me ;)
> you'll want to have a look in /boot and check the files match those
> referenced in /etc/lilo.conf (e.g. you'll want lilo using /boot/vmlinuz
> rather than /boot/vmlinuz-2.2.16). If you change lilo.conf then run 'lilo'
> again.
>
>
> Cheers

Reply via email to