LinuxQuestions.org
Help answer threads with 0 replies.
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-04-2000, 03:38 PM   #1
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Rep: Reputation: 47

Hello agin. Its me. I have been trying to recompile the Kernel following the book Running Linux. The book tells me to run the make config command in the dir /etc/src/linux

I have tried to but get an error involving the make command. I looked in that directory but found only another folder called include. This leads to some more folders. Basically it just wont work. Does anyone know where to perform the commands to recompile the kernel. I am running SUSE 7.0 with the kernel at 2.2.16

I have looked at SUSE's online database, but have no luck so far.

Any help much appreciated.
 
Old 11-04-2000, 04:50 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
Did you install the kernel source? If you did it is usually located in /usr/src/linux (which is usually a symlink to linux-version or kernel-version).
 
Old 11-05-2000, 10:17 AM   #3
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Original Poster
Rep: Reputation: 47
I did not install the Kernel source (I dont know if I did), all I did was install SUSE 7.0 . I know where the Kernel version is. Can I perform the recompile from there?
 
Old 11-12-2000, 12:47 AM   #4
polarcat
LQ Newbie
 
Registered: Nov 2000
Posts: 16

Rep: Reputation: 0
Linux Kernel

If you are looking for the kernel code you can get it at http://www.kernel.org. However, that won't include any additions or changes Suse might have made to the kernel. The kernel source should be on the CD you installed off of also, though I don't know how you would get to it.
 
Old 11-14-2000, 06:21 AM   #5
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Original Poster
Rep: Reputation: 47
Hello again, I am really stumped this time. I read the Kernel Howto and it says the same as every other manual I have read. You have to go to /usr/src/linux to recompile the Kernel. Is this right for the SUSE distribution? I am really annoyed at not being able to do it. Any Help?
 
Old 11-14-2000, 07:31 AM   #6
bako
Member
 
Registered: Sep 2000
Location: Haarlem, The Netherlands
Distribution: Freesco, RedHat, Debian
Posts: 41

Rep: Reputation: 15
What files are there located in /usr/src/linux ???
Or are there perhaps any directories like /usr/src/linux-x.xx.xx-x.x
Otherwise the kernelsource is not installed....
 
Old 11-14-2000, 07:33 AM   #7
bako
Member
 
Registered: Sep 2000
Location: Haarlem, The Netherlands
Distribution: Freesco, RedHat, Debian
Posts: 41

Rep: Reputation: 15
And you do need the kernel source to compile the kernel... ;-)
 
Old 11-14-2000, 02:16 PM   #8
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Original Poster
Rep: Reputation: 47
The only thing inside the /usr/src/linux file is anothe folder called /include . Then there are some some more folders with names such as /misc /net etc...

I think that /include is linked to the Linux-2.2.16 folder. Wouldn't the Suse install put the Kernel Source onto my computer? I would have thought that it did. If not where can I download it from? (In windows, modem still not working!:-))
 
Old 11-14-2000, 08:13 PM   #9
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
The source code is probably in that linux-2.2.16 directory.... Try doing a make menuconfig (if in text mode) or a make xconfig (in x mode) in the linux-2.2.16 directory.
 
Old 11-19-2000, 04:09 PM   #10
CragStar
Senior Member
 
Registered: Oct 2000
Location: UK - Frome
Distribution: Ubuntu
Posts: 1,081

Original Poster
Rep: Reputation: 47
No source code in folder!

You were all right about the need for the source code to be in that folder. It wasn't , so I installed it from a cdrom which had 2.4 on it. Everything went according to plan, but for the fact that I couldn't use xconfig and I haven't figured out how to use the new kernel. I keep booting from the old kernel (2.2.16) off a floppy even though I thought I had copied the new kernel. Just help me clarify this:

To make a boot floppy you just have to copy the file /boot/vmlinuz onto a floppy?

This is what I did, and the new floppy worked but when I go and check it (uname -a) I get 2.2.16 come up.
 
  


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
how to recompile kernel 2.4.21-15.EL zameer_india Linux - Newbie 2 12-24-2004 01:02 AM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 04:32 PM
Recompile kernel 2.6 heema Linux - General 3 05-26-2004 10:29 AM
9.2 kernel recompile dukeinlondon Mandriva 3 11-10-2003 06:34 AM
Recompile Kernel ? Amerist Linux - Newbie 5 04-16-2002 04:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:57 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
Open Source Consulting | Domain Registration