[Gllug] upgrading Kernel from CD

Andrew Halliwell ah at gnd.com
Sun Mar 28 13:31:47 UTC 2004


And verily, didst gaurav verma announce to the hordes:
> 
> Hi,
> 
> I have installed Win98 & RedHat Linux9 on my PC .Kernel is 2.4 .Now I hav 
> got Linux Kernel 2.6.0 in CD but I don't know how to install software from 
> CD on Linux .Also I want to know is there any special I have to take while 
> upgrading Kernel

>From 2.4 to 2.6, you need to upgrade your modutils package to the newest
version (2.6 does modules in a way that 2.4 modutils doesn't like).

Is the 2.6 on cd an rpm or a tar.bz2?
just mount the cd, 
rpm -i /mnt/cdrom/<whatever-path>/linux-2.6.<whatever>.rpm
or if the kernel's on CD as a source package
cd /usr/src
tar jxvf /mnt/cdrom/<whatever-path>/linux-2.6.<whatever>.tar.bz2
cd linux-2.6.whatever
make menuconfig
(set up whatever kernel config you need, remembering filesystem, framebuffer
and any hardware, networking options and other stuff you need)
make
make modules_install
cp arch/i386/boot/bzImage /boot
cp System.map /boot/System.map-2.6.whatever
if you made it with ext3 and boot-dependent hardware as modules, 
mkinitrd /boot/initrd-2.6.whatever 2.6.whatever
edit lilo to add the new kernel and initrd...
run lilo
reboot, the new option should appear, select it and away you go.
If you used something like up2date to download a binary kernel rpm, chances
are the process would also include installation and lilo configuration.
 
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list