On Monday 05 February 2001 17:53, you wrote:
> I want to install the new 2.4 kernel on my Mandrake 7.2 laptop,running
> grub. Do I just use the rpm for the kernel and the 2.4cs rpm? What changes
> do I make and to what files so I can boot both kernels? I think I tried
> this once before and could not boot.Thanks for all the help !

Cautioning that I am still having a few problems with my own 2.4.1 install...

You would probably be best off d/l'ing the 2.4.1 sources (say from 
www.kernel.org), and then compiling them yourself (see the kernel HOWTO for 
instructions). In brief, you would d/l the source tar.gz file. In your home 
dir, create a src subdir and put the tar in it; cd into that dir. With
        "tar zxpfv linux-2.4.1.tar.gz" as a sample command, the sources will untar 
and be left in a linux subdir of your src subdir. You can then CD into that 
dir, and do make config, make menuconfig, or make xconfig to configure the 
kernel (the various choices do a text-based, text-menu based, or x based 
configuration, respectively. I like xconfig myself). 

Once the config is done, the sequence of commands:
        make dep
        make clean
        make bzImage
        make modules
will build your kernel and loadable modules.

As root, do make modules_install to install the new modules. Then, copy the 
kernel image (assuming you are on a i386 architecture system, it is in 
linux/arch/i386/boot/bzImage) to your /boot directory. Also copy System.map 
from the linux dir to /boot. I generally name the bzImage something like 
vmlinuz-2.4.1 (for kernel version 2.4.1) and the system map System.map-2.4.1 
so as not to overwrite anything that I need in /boot, like the currently 
(working) kernel. BE VERY CAREFUL NOT TO TRASH YOUR WORKING KERNEL AND SYSTEM 
MAP, OR YOUR SYSTEM WILL NOT BE BOOTABLE!!!

If you are using grub, in the file /boot/grub/menu.lst you will find the 
lines that specify kernels to load. Take the current one titled "linux", copy 
it witha title of (for instance) linux-2.4.1 and clone as appropriate the 
data in that section (this is likely to be obvious). Now reboot, and cross 
your fingers....

Good luck.

Reply via email to