LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-11-2007, 09:50 PM   #1
G-Unot
LQ Newbie
 
Registered: Nov 2007
Posts: 25

Rep: Reputation: 15
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
 
Old 11-11-2007, 10:50 PM   #2
PsychosisNode
Member
 
Registered: Apr 2003
Location: Reading, Berkshire, IN-GER-LUND!!!
Distribution: Mandriva 2006
Posts: 228

Rep: Reputation: 30
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!
 
Old 11-12-2007, 02:13 AM   #3
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
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
 
Old 11-12-2007, 02:36 AM   #4
SqdnGuns
Member
 
Registered: Aug 2005
Distribution: Slackware64 14.2 w/ CSB & MSB
Posts: 998

Rep: Reputation: 96
Nice to know what distro your using...........it will help.
 
Old 11-12-2007, 03:09 AM   #5
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by G-Unot View Post
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
 
Old 11-12-2007, 06:48 PM   #6
G-Unot
LQ Newbie
 
Registered: Nov 2007
Posts: 25

Original Poster
Rep: Reputation: 15
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.
 
Old 11-12-2007, 06:51 PM   #7
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
if you change the config you have to repeat all the steps
 
Old 11-12-2007, 06:54 PM   #8
SqdnGuns
Member
 
Registered: Aug 2005
Distribution: Slackware64 14.2 w/ CSB & MSB
Posts: 998

Rep: Reputation: 96
Quote:
Originally Posted by AceofSpades19 View Post
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$$.
 
Old 11-12-2007, 07:35 PM   #9
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by SqdnGuns View Post
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.
 
Old 11-13-2007, 12:02 AM   #10
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
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.
 
Old 11-13-2007, 12:08 AM   #11
SqdnGuns
Member
 
Registered: Aug 2005
Distribution: Slackware64 14.2 w/ CSB & MSB
Posts: 998

Rep: Reputation: 96
Quote:
Originally Posted by Nylex View Post
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

Last edited by SqdnGuns; 11-13-2007 at 02:29 AM. Reason: Can't spell........
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with the following; Installing themes, Installing Mp3 support, .deb packages Kittie Rose Linux - General 2 11-26-2006 02:27 PM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 03:44 PM
Installing from source, installing from CVS and the E-17 window manager... Buffbannana049 Ubuntu 10 02-15-2006 12:27 AM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 03:15 AM
Installing Mono-got stuck while installing gtk-sharp chutsu Linux - Software 11 01-18-2005 09:25 PM


All times are GMT -5. The time now is 06:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration