LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-10-2005, 10:28 PM   #1
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Rep: Reputation: 46
Several more questions about kernel compile?


From reading the Compiling a kernel for newbies, I have a few questions before I attempt to upgrade to 2.6.10.

1. I use Reiserfs, Do I have to do anything special before I upgrade the kernel. I read that on the 2.6.8 kernel, reiserfs must be enabled by default. Where is that done? or is not necessary for 2.6.10?

2. What makefile do I edit? Where is it?

3. After I have downloaded it, Where do I put the new kernel and uncompress it? /usr/src ?

4. I did the lilo.conf changes then did lilo, rebooted and I dont see the old version in the lilo boot menu, How can I fix this?

I know this might be asking a whole bunch but this is my first attempt at a kernel upgrade and dont have any idea what I am doing other than this post and several other websites I have found. Thanks for any help.

Last edited by BajaNick; 01-10-2005 at 10:30 PM.
 
Old 01-10-2005, 11:06 PM   #2
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
Just off the top of my head - Here is some of your answers:


Quote:
3. After I have downloaded it, Where do I put the new kernel and uncompress it? /usr/src ?
Yes. /usr/src/ . Then when you uncompress it, it will uncompress in /usr/src/linux-2.6.10
But you link (symbolically) /usr/src/linux to /usr/src/linux-2.6.10.

Quote:
4. I did the lilo.conf changes then did lilo, rebooted and I dont see the old version in the lilo boot menu, How can I fix this?
Here is how (part of my lilo.conf)

Code:
# Slackware 2.6.7 config begins
image = /boot/vmlinuz-generic-2.6.7
  initrd = /boot/initrd.gz
  root = /dev/hda1
  label = Slack-2.6.7
  read-only
# Slackware 2.6.7 config ends
# Slackware 2.4.26 config begins
image = /boot/vmlinuz-ide-2.4.26
  root = /dev/hda1
  label = Slack-2.4.26
  read-only
# Slackware 2.4.26 config ends
I made the " image = " direct paths to the vmlinuz-version#. In some how-to's you will read
that 1 goes to 'vmlinuz' and the other to 'vmlinuz-old.version'. I did it this way to keep
it easy for myself.

I had a heck of a time getting a 2.6.x kernel working starting from scratch, so I just used the
2.6.7 off slack CD #2.

Hope that helps a little.
-tw
 
Old 01-11-2005, 01:44 AM   #3
BajaNick
Senior Member
 
Registered: Jul 2003
Location: So. Cal.
Distribution: Slack 11
Posts: 1,737

Original Poster
Rep: Reputation: 46
Thanks, that helped out.
 
Old 01-11-2005, 07:59 AM   #4
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
hi,
to your Q.'s :

1) always compile in the filesystem you use ( so, not as a module )
you choose that when you configure the kernel ( i always use " make xconfig " )

2) if you want to edit the makefile ; you'll find it in the dir. : /<path>/linux-2.6.10
after you extracted the kernel-sources

3) extracting to /usr/src is ok. ( you could also take your home-dir or smth. else )
there's no need to make a link to it.

4) edit lilo.conf as shown above.

egag
 
  


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
2.6.10 kernel compile questions YBA^[x] Slackware 3 01-20-2005 02:54 PM
4 questions on a new 2.6.9 kernel compile? Slovak Linux - General 2 11-29-2004 06:08 AM
Kernel compile questions Alan Lakin Slackware 2 02-01-2004 10:05 PM
kernel compile questions e1000 Slackware 10 10-23-2003 11:14 AM
[SOLVED] Kernel compile questions Bruce Hill Linux - General 11 07-14-2003 05:38 AM

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

All times are GMT -5. The time now is 01:22 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