Computing.Net > Forums > Linux > How do I install a new Kernel?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How do I install a new Kernel?

Reply to Message Icon

Name: Andrew3
Date: January 17, 2004 at 19:15:22 Pacific
OS: Mandrake Linux 9.2
CPU/Ram: CPU: celeron 1.7 ghz/Ram:
Comment:

Hi, I am currently running Mandrake 9.2 with kernel 2.4. I downloaded linux-2.6.1.tar.gz after uncompressing it, I am guessing that there will be more to installing the kernel than just compileing and installing it. Please be detailed in how to install it, I am still very new to linux.



Sponsored Link
Ads by Google

Response Number 1
Name: taurus
Date: January 17, 2004 at 19:36:38 Pacific
Reply:

Read the stinkin' README in /usr/src/linux!!! That's why it's there for...

taurus


0

Response Number 2
Name: heart_debian
Date: January 18, 2004 at 00:08:02 Pacific
Reply:

Also, for the 2.6 kernels, the old modutils won't work. Download "Rusty's Module-init-tools" from
http://www.kernel.org/pub/linux/utils/kernel/module-init-tools/

And you may have to do some changes to your bootscripts, as the module names have changed. But that comes later, first you can try it out.

Basically, you have to configure the kernel (the things/drivers that you want) by running "make menuconfig". Then you have to do a "make bzImage" and a "make modules" (for the things you selected to be compiled as modules), and finally a "make modules_install" to copy the modules to /lib/modules/<kernel>

To boot from the new kernel, you can do a "make install" if you're using LILO. For grub, just copy the image ./arch/i386/boot/bzImage to /boot/vmlinuz-2.6.1 and edit the /etc/grub.conf file to reflect the new kernel.
README file has details.

Also, if you use your computer as a desktop (for real-time stuff), you should enable "preemptible kernel" while you're editing the config.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: How do I install a new Kernel?

how do i install a program www.computing.net/answers/linux/how-do-i-install-a-program-/19052.html

How do I install a intern modem in Linux www.computing.net/answers/linux/how-do-i-install-a-intern-modem-in-linux/8632.html

how do i install a program? www.computing.net/answers/linux/how-do-i-install-a-program/27677.html