LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-10-2004, 05:28 AM   #1
vinnym
LQ Newbie
 
Registered: Aug 2004
Location: in
Distribution: mandrake
Posts: 7

Rep: Reputation: 0
kernel compilation


ok ive never compiled a kernel before. im using the 2.6.3 kernel rite now in my mandrake 10.0. just heard 2.6.7 is available and stable.so wanted to upgrade my kernel. so could u guys help me regarding where to find the source file and how to actually compile this .
vin.
 
Old 08-10-2004, 06:25 AM   #2
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
www.kernel.org to get the download. Actually 2.6.8 should be out soon.

Anyway, you get the tar.gz and put it in /usr/src and tar xfvz it.

Then you cd to the new directory and run

make xconfig and then the fun starts

To be honest it took me a while to get the kernel right, and I've been using linux for years, but it won't hurt anything for you to go to that stage and when you do we can chat more about it...

Actually it's not too bad, but there are a lot of options and you have to go through everything carefully to make sure you get it all right.

In the end tho it's okay as you always keep the kernel you are using now and add the new kernel to lilo so you can boot either at boot time. That way if anything goes wrong you just boot the original and try again.
 
Old 08-10-2004, 11:10 PM   #3
vinnym
LQ Newbie
 
Registered: Aug 2004
Location: in
Distribution: mandrake
Posts: 7

Original Poster
Rep: Reputation: 0
hey thanks mate....btw what about my present device drivers....in the current mandrake version i guess its all compiled with my 2.6.3. but do i need to do something for 2.6.7 to have all the required modules for my sound drivers and so on.
vin.
 
Old 08-11-2004, 12:05 AM   #4
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Sound, ethernet, etc are included as kernel modules so you get new ones with the new kernel. You would need to recompile something like the nvidia kernel module or somethinjg like that.

When finally compiling the kernel you do things like make bzImage (which will be used as the kernel) then make modules (all the drivers not inside the kernel) and make modules_install.

Then you install the kernel and add it to lilo and add a simlink to the kernel source so things like nvidia or whatever can find it and that should be it...

Myself and other here can certainly walk you through the worst of it... Tho I tend to be away a lot on weekends.
 
Old 08-11-2004, 05:14 AM   #5
daYz
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 164

Rep: Reputation: 30
What amosf explains is showed here in more detail:

http://justlinux.com/nhf/Compiling_K...mpilation.html

With "make oldconfig" you keep your old kernel settings and you are only asked about the new options.
 
Old 08-11-2004, 11:34 PM   #6
vinnym
LQ Newbie
 
Registered: Aug 2004
Location: in
Distribution: mandrake
Posts: 7

Original Poster
Rep: Reputation: 0
thanks guys...ill keep u updated on my progress....!
thanks again
 
  


Reply



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
kernel compilation-From where it should be started for already compiled kernel b0nd Linux - Newbie 11 08-17-2005 01:08 PM
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 11:35 AM
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 10:53 PM
does kernel-source installs with the compilation cum installtion of a new kernel? luqman Linux - General 18 03-04-2005 07:33 AM
Kernel Compilation radhapriya Programming 1 05-17-2003 06:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:09 AM.

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
Open Source Consulting | Domain Registration