Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 13th September 2006, 15:36
the87boy the87boy is offline
Junior Member
 
Join Date: Sep 2006
Location: Denmark
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Ben
For the first part I would download the actual kernel image from kernel.org,
unzip it in e.g. /usr/local/src
I have done that, but I had used /usr/src instead

Quote:
Originally Posted by Ben
cd into the kernel dir
if you already have a kernel config for that kernel tree (eihter 2.4 or 2.6) copy it into that dir
run "make menuconfig" and change things which you need or do not need.
then run the above steps till make (excluding make) and run
"make bzImage modules modules_install"
Wouldn't it mean, that I have to compile the kernel first to see, if
Quote:
/lib/modules/`uname -r`/build points to the kernel sources directory
Quote:
Originally Posted by Ben
then follow the rest.

at least do

cp arch/i386/boot/bzImage /boot/kernel-2.X.XX.X
cp System.map /boot/System.map-2.X.XX.X
cp .config /boot/.config-2.X.XX.X

the rest depends now on your bootloader config if it is lilo or grub...
Shouldn't I have installed the kernel first (the .deb-files)? I'm using grub
Reply With Quote
Sponsored Links
  #12  
Old 13th September 2006, 15:44
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

Well the .deb are prceompiled packages I thought...
It's now matter how you first got your kernel, if you take the one coming with debian or compile one for your self...

I thought /lib/modules/`uname -r`/build is either a symlink, but did not check that....
Reply With Quote
  #13  
Old 13th September 2006, 15:45
the87boy the87boy is offline
Junior Member
 
Join Date: Sep 2006
Location: Denmark
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Don't you have a messenger? It's much easier in that way, I think, because I'm so confused
Reply With Quote
  #14  
Old 13th September 2006, 16:00
Ben Ben is offline
Moderator
 
Join Date: Jul 2006
Posts: 1,029
Thanks: 7
Thanked 62 Times in 56 Posts
Default

At the moment not, I'm at work sorry. But just describe it here, maybe sb. else has any helpfull ideas...
Reply With Quote
  #15  
Old 13th September 2006, 16:06
the87boy the87boy is offline
Junior Member
 
Join Date: Sep 2006
Location: Denmark
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I will do so
Now I had download and extracted 'linux-2.6.17.13.tar.bz2'
What shall I do now?
Reply With Quote
  #16  
Old 14th September 2006, 15:39
the87boy the87boy is offline
Junior Member
 
Join Date: Sep 2006
Location: Denmark
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Shall I compile the kernel and then edit the kernel again or what do I have to do
Reply With Quote
  #17  
Old 14th September 2006, 20:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Did you have a look at this tutorial? http://www.howtoforge.com/forums/showthread.php?t=21
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #18  
Old 14th September 2006, 20:37
the87boy the87boy is offline
Junior Member
 
Join Date: Sep 2006
Location: Denmark
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, but I thought, I should do something, before I had to configure the kernel
Reply With Quote
  #19  
Old 15th September 2006, 19:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

No, you must compile a new kernel, and when you run
Code:
make menuconfig
you must select all kernel modules you need.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #20  
Old 17th September 2006, 17:13
the87boy the87boy is offline
Junior Member
 
Join Date: Sep 2006
Location: Denmark
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by Ben
Well I would use this:

Quote:
...
* make sure that you are running this kernel, and /lib/modules/`uname -r`/build points to the kernel sources directory
Does that mean, I have to compile the kernel first or what?

Quote:
Originally Posted by Ben
Quote:
* cd $gnokii_sources/patches/kernel_2.{4,6}
It's easy, but when I run the command below, it says, that there aren't no rules to create the bzImage
Quote:
Originally Posted by Ben
make bzImage modules modules_install
That's what I have done until now
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
High Availability Samba cluster - DRBD + Heartbeat djalex Server Operation 58 25th May 2007 19:38
Memory leak? oom-killer problem yikes! Stokesy Server Operation 7 29th July 2006 12:48
xen not booting qiu HOWTO-Related Questions 11 2nd May 2006 10:20
sargeDebian GNU/Linux, kernel 2.6.8-3-686 and Debian kernel 2.6.8 386- qiu Kernel Questions 23 25th April 2006 15:53
Questions about ubuntu ISP-Server Setup badgerbox76 HOWTO-Related Questions 15 5th March 2006 14:41


All times are GMT +2. The time now is 18:58.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.