LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Installing 2.6.22 (https://www.linuxquestions.org/questions/linux-newbie-8/installing-2-6-22-a-598911/)

G-Unot 11-11-2007 08:50 PM

Installing 2.6.22
 
Hey guys,

im trying to install the kernel 2.6.22. I have 2.6.21.5. Ive never installed a kernel befor, so can some one give me a tutorial on how to do this(ive google and found nothing) im on slackware 12.0 , so im not sure if that matters or not when installing a new kernel

PsychosisNode 11-11-2007 09:50 PM

If a newer kernel is in your distro's package repository then I recommend that you use it. If you wish to install a new kernel from source then Google turns up some useful tutorials - the first hit for "kernel build" is the tutorial that I used the first time:
http://www.digitalhermit.com/linux/K...ild-HOWTO.html

Good luck!

AceofSpades19 11-12-2007 01:13 AM

make mrproper
make menuconfig
make
make modules install
mv arch/i386/boot/bzImage /boot/vmlinuz-2.6.22
thats how you compile a kernel in a nutshell

SqdnGuns 11-12-2007 01:36 AM

Nice to know what distro your using...........it will help.

AceofSpades19 11-12-2007 02:09 AM

Quote:

Originally Posted by G-Unot (Post 2955744)
Hey guys,

im trying to install the kernel 2.6.22. I have 2.6.21.5. Ive never installed a kernel befor, so can some one give me a tutorial on how to do this(ive google and found nothing) im on slackware 12.0 , so im not sure if that matters or not when installing a new kernel

He is using Slackware 12

G-Unot 11-12-2007 05:48 PM

okay, so lets say my kernel isnt right the first time and i go and change the config, do i only have to do make bzImage, or do i have to do the other steps such as make clean, make modules etc.

AceofSpades19 11-12-2007 05:51 PM

if you change the config you have to repeat all the steps

SqdnGuns 11-12-2007 05:54 PM

Quote:

Originally Posted by AceofSpades19 (Post 2955933)
He is using Slackware 12

Damn, I'm an idiot............Note to self, do not reply to post so late at nights as to not look like a dumba$$.

AceofSpades19 11-12-2007 06:35 PM

Quote:

Originally Posted by SqdnGuns (Post 2956802)
Damn, I'm an idiot............Note to self, do not reply to post so late at nights as to not look like a dumba$$.

Its all right, I often mis-read stuff too, its a common problem.

Nylex 11-12-2007 11:02 PM

To be honest, there is a README in the source tarball for the kernel and it does tell you how to configure and build the kernel.

SqdnGuns 11-12-2007 11:08 PM

Quote:

Originally Posted by Nylex (Post 2957041)
To be honest, there is a README in the source tarball for the kernel and it does tell you how to configure and build the kernel.

These will assist too:

http://alien.slackbook.org/dokuwiki/...kernelbuilding

http://wiki.droplinegnome.org/index....Slackware_12.0


All times are GMT -5. The time now is 05:39 PM.