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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-11-2007, 08:50 PM
|
#1
|
LQ Newbie
Registered: Nov 2007
Posts: 25
Rep:
|
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
|
|
|
11-11-2007, 09:50 PM
|
#2
|
Member
Registered: Apr 2003
Location: Reading, Berkshire, IN-GER-LUND!!!
Distribution: Mandriva 2006
Posts: 228
Rep:
|
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!
|
|
|
11-12-2007, 01:13 AM
|
#3
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
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
|
|
|
11-12-2007, 01:36 AM
|
#4
|
Senior Member
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092
Rep: 
|
Nice to know what distro your using...........it will help.
|
|
|
11-12-2007, 02:09 AM
|
#5
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
Quote:
Originally Posted by G-Unot
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
|
|
|
11-12-2007, 05:48 PM
|
#6
|
LQ Newbie
Registered: Nov 2007
Posts: 25
Original Poster
Rep:
|
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.
|
|
|
11-12-2007, 05:51 PM
|
#7
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
if you change the config you have to repeat all the steps
|
|
|
11-12-2007, 05:54 PM
|
#8
|
Senior Member
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092
Rep: 
|
Quote:
Originally Posted by AceofSpades19
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$$.
|
|
|
11-12-2007, 06:35 PM
|
#9
|
Senior Member
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079
Rep:
|
Quote:
Originally Posted by SqdnGuns
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.
|
|
|
11-12-2007, 11:02 PM
|
#10
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
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.
|
|
|
All times are GMT -5. The time now is 06:23 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|