LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Upgrading to 2.6 (http://www.linuxquestions.org/questions/linux-software-2/upgrading-to-2-6-a-126904/)

DarkstarNL 12-18-2003 09:09 AM

Upgrading to 2.6
 
Hey guys i have a question

I would like to upgrade my linux 2.4 kernel to 2.6
are there any other thing i need to do exept compiling the kernel.

ghostwalker 12-18-2003 09:24 AM

For building the 2.6 kernel

Take and read the following:

http://ftp.kernel.org/pub/linux/kern...loween-2.5.txt

You need to get the module-init-tools.

Use lspci -v to help select your hardware. This will be helpful for configuring the 2.6 kernel.

make mrproper
make menuconfig
make
make modules_install
make install

Then modify you lilo.conf or grub.txt

make install installs vmlinuz into the boot directory along with System.map
It creates a symbolic link to you old vmlinuz -> vmlinuz.old and System.old

All you need to do is add entry for the old vmlinuz. I use lilo.conf

This is mine....

image=/boot/vmlinuz
initrd=/boot/initrd-2.6.0-test11
label=Linux2.6
read-only

** This would be you redhat config. **
image=/boot/vmlinuz.old
vga=791
append="hdc=scsi hdd=scsi apm=power-off nomce"
label=Linux2.4
initrd=/boot/initrd.gz
read-only

If you are using lilo, issue lilo -v or modify you menu.lst for grub.

Hope this helps. The more people use 2.6 the better.

DarkstarNL 12-18-2003 09:31 AM

So no recompiling binutils or so??

BrianNJ 12-18-2003 11:31 AM

http://www.linuxquestions.org/questi...threadid=73436

might help you out too.


All times are GMT -5. The time now is 01:09 PM.