LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 07-13-2004, 09:14 AM   #1
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
LFS 5.1.1 2.6 kernel ready ?


ive complete LFS before, but lack of disk space, and the sudden need for a fully finished linux setup (for university work) forced me to remove it.

im approaching the kernel compile, and, rather than spend an hour downloading kernel 2.4.26 and anouther hour configureing it, i would much prefere to use my 2.6.7 source i already have downloaded and a config ive already made and know works perfect.

what do you guys think ?
is LFS 5.1.1 2.6 ready ?
any special advice ?

anyone tried this before ?
 
Old 07-13-2004, 10:35 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
ftp://gaosu.rave.org/pub/lfs/lfs-packages/unstable/

bleeding edge LFS
is listed under unstable ..........
 
Old 07-14-2004, 07:10 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Before I went with the bleeding edge/unstable thing I used to build book 5 and build a 2.6 kernel at the end. It worked very well. There's a hint about it http://lfs.securewebservices.co.uk/h...-migration.txt
 
Old 07-20-2004, 09:17 PM   #4
slyman
Member
 
Registered: Jun 2004
Location: Sydney, Australia
Distribution: FC3, Linux From Scratch, Knoppix
Posts: 99

Rep: Reputation: 15
I haven't tried it, but I would suspect it would be ok.

Glibc would have been compiled with 2.4.x headers though - this presents no problems in practice.

With Core Linux (which is similar to what you have built so far via LFS) this is exactly what you do if you want a 2.6.x kernel... i.e. copy the kernel headers from a 2.4.x kernel to /usr/include/asm and /usr/include/linux (a la chapter 06 Linux-2.4.26 headers of LFS 5.1.1) and then build the 2.6.x kernel.

EDIT: You will need to compile module-init-tools, modutils only works for 2.4.x kernels.

EDIT2: Don't worry about the glibc compiled with 2.4.x headers - it is the same for every distribution that is supplied with 2.4.x kernel and is upgraded, which is most.

Last edited by slyman; 07-20-2004 at 09:43 PM.
 
Old 07-21-2004, 09:17 PM   #5
Kroenecker
Member
 
Registered: May 2003
Location: The States
Distribution: Gentoo
Posts: 245

Rep: Reputation: 30
I also didnt bother with compiling kernel 2.4 but I did use the headers. So I downloaded both. If you want to try out the unstable LFS, then I think you will end up building with 2.6 headers that you download separately from the 2.6 kernel itself (I guess this is the recommended practice).

Let us know how it works out.
 
  


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
kernel panic LFS 6.0 vmlinuz101 Linux From Scratch 1 04-15-2005 10:17 AM
error on boot must ha|Ve ready only for kernel Alinuxnoob Slackware 0 01-12-2004 09:13 AM
kernel: Device not ready. Make sure there is a disc in the drive zednrita Linux - General 7 10-28-2003 08:42 AM
When are you ready to compile your own kernel? jrwu Linux - General 2 06-13-2003 04:33 AM
Am I ready for LFS? Take a look pls ;o) Culbert Linux From Scratch 3 04-25-2003 04:16 PM


All times are GMT -5. The time now is 04:41 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration