LinuxQuestions.org
Review your favorite Linux distribution.
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 02-17-2004, 10:46 PM   #1
Present
Member
 
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284

Rep: Reputation: 30
Question Linux 2.6.2


will it jack everything up if i use the latest kernel instead of 2.4.24 listed in the LFS-BOOK-5.1. am i using the latest version of the book, or has the latest kernel not had enough testing for use with the progs & utilities listed?

thx
 
Old 02-18-2004, 12:22 AM   #2
exodist
Senior Member
 
Registered: Aug 2003
Location: Portland, Oregon
Distribution: Arch
Posts: 1,374

Rep: Reputation: 47
first you need to install the new module utilities, I am not sure where to get them, otherwise there should be no problems.
 
Old 02-18-2004, 05:12 AM   #3
Kroppus
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Debian UNSTABLE + latest 2.6.kernel
Posts: 391

Rep: Reputation: 30
Donload the kernel and look through the README file and the other files that ends up in the doc folder..
Iit's all very well described where to get it and how to find out what version you got.

The worst you can do is if you overwrite the old kernel. So don't do an automatic install.
Do the copying of the bzImage file by hand and edit lilo/grub yourself.
That way you can always go back to the old kernel if you screw up somehow.

2.6.3 is out now BTW
 
Old 02-18-2004, 07:51 AM   #4
njs12345
LQ Newbie
 
Registered: Feb 2004
Distribution: LFS 5.0
Posts: 14

Rep: Reputation: 0
Re: Linux 2.6.2

Quote:
Originally posted by Present
will it jack everything up if i use the latest kernel instead of 2.4.24 listed in the LFS-BOOK-5.1. am i using the latest version of the book, or has the latest kernel not had enough testing for use with the progs & utilities listed?

thx
http://www.linuxfromscratch.org/lfs/faq.html#kernel-2.6

You need to install 2.4.24, and then upgrade to 2.6.2 afterwards.

Also, 5.1 is only a PRE release, so it might have bugs in. I'd use 5.0 instead.
 
Old 02-18-2004, 07:37 PM   #5
Present
Member
 
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284

Original Poster
Rep: Reputation: 30
woot! thx 4 all the good responses. i'll carry on with the installation normally and then upgrade to the new kernel.

another questions...

can i use xfs instead of ext2? i think i have the fs tools for xfs that are similar to the ext2 ones.

thx
 
Old 02-18-2004, 09:29 PM   #6
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
All you need from the 2.4* kernel are some of the header files to build it(LFS system). To boot the system 2.6* kernels are fine(besides the regular stuff you need to do for 2.6).
 
Old 02-18-2004, 09:37 PM   #7
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
Quote:
Also, 5.1 is only a PRE release, so it might have bugs in. I'd use 5.0 instead.
I started out with lfs-5.0 and finished with 5.1 pre. I just clicked on "Read the book online" I am not sure at what point I started following directions from the 5.1pre . It seemed to build ok.
 
Old 02-19-2004, 03:18 PM   #8
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
I'm running mine with 2.6.3 on an XFS partition... I did the install verbatum and then downloaded the 2.6-xfs kernel from CVS... Which, at the momment, is 2.6.3....

http://oss.sgi.com/projects/xfs/cvs_download.html

I also got the xfs-cmds from cvs as well

Ehhhh... Not in the mood for a step by step, but I guess I'll do it anyway if it will help any one. Most people can figure it out tho....

I made another partition (always good to have free space laying around)
Its good to do this from your HOST system, tho you can do it from LFS too. Little different instructions tho.
You should install the xfs-cmds from cvs or the xfs-progs from the book to your LFS install before you do this as well as installing the new xfs kernel.....

cd /mnt/lLFS
cp -Rav * /mnt/newpartition
rm -rf /mnt/LFS
(Have to have xfs-progs installed on your host system)
(umount LFS partition or use the -f switch on below command)
mkfs.xfs /dev/(mnt/LFS)
cd /mnt/newpartition
cp -Rav * /mnt/LFS
rm -rf /mnt/newpartition

Adjust your LFS fstab / filesystem to "xfs" and make sure grub has the right entry for the new kernel. Thats about it really.... I don't think I'm good at explaining stuff, but there ya' go... Your just moving your LFS to another partition, formatting and making a new filesystem on the original and then moving it back.... Works great. I've done it with Slackware and a few others cause, frankly, I'm not sure how else to convert to an XFS system. Suse is the only distro I've tried that will let you install right off the bat to an XFS partition.....

Jon
 
Old 02-19-2004, 07:18 PM   #9
Present
Member
 
Registered: Jan 2004
Distribution: suse/slack/gentoo/lfs (not-in-that-order)
Posts: 284

Original Poster
Rep: Reputation: 30
coo, thx...

the comp i'm using for LFS has Suse9.0 on xfs for all partitions except /boot (ext3 since xfs uses boot sector to its own content on a given partition).

i used the following commands to make the $LFS

mkfs.xfs /dev/hda8

export LFS=/mnt/lfs
mkdir -p $LFS
mount /dev/hda8 $LFS

will i lose any of these values at boot? and should i use ext2 until i'm done with the installation, and then copy everything back after reformatting to xfs as mentioned above?

lol i would have used 5.0 if i had noticed that i could get all the packages/patches with bittorrent. haha i spent about 2 hrs tracking everything down.
 
Old 02-21-2004, 02:29 AM   #10
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Oh... If youve already started LFS with an XFS partition then you don't have to screw with any of that that I mentioned.... Just build the 2.4.22 kernel like the book says and then as soon as you are done with the book and boot to your new prompt, Compile and install the new kernel... I installed LFS to a reiser file system then decided to put it on an XFS....

I think you will loose those environment varibles if you shut down.... just echo those to see if they are still present. I remember some stuff gets written to a .bash_profile in the begining.... Not too much help I guess....
 
  


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
link dies intermittently-seemingly at random- between win<->linux not linux<->linux?? takahaya Linux - Networking 10 03-09-2007 10:37 PM
triple boot linux/linux/linux No Windows involved toastermaker Linux - Newbie 12 03-02-2006 10:40 PM
Redhat (rhel v2.1) bootup problem with linux (linux vs linux-up) namgor Linux - Software 2 06-24-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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