LinuxQuestions.org
Register a domain and help support LQ
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 01-01-2005, 09:14 PM   #1
rvijay
Senior Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Rep: Reputation: 32
Post My LFS Progress/Status.


I have had a big urge inside me to build my own LFS system. However, it may take some time and I may encounter some obstacles. This thread will help me maintain focus etc.,

1. Read the LFS/BLFS manuals a few months ago, without reading on Individual package installations.
2. Downloaded the file with all the packages needed for LFS 6.0. Unzipped it and then burned it on a CDROM. I also got the LFS/BLFS/ books, as well as ALFS/HLFS and burned them all into the same CDROM after uncomressing them.
3. Revised the LFS manual once again except the packages.
4. Reading on individual packages now.
5. Decided to go thru everything carefully and realized that I has skipped reading the prerequisites section and didn't know any of the Bash scripting Language.

Have better confidence now but also some serious issues. I need to figure out space allocation and the partition to use. Since, I am a newbie to LFS, I have decided to use the newbie Icon. I take more time to get going compard to others, however once I start I stick to a project and usually perform well.

Comments Welcome.

Vijay
 
Old 01-01-2005, 09:50 PM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
I built an LFS 5.0 system almost a years ago...........I still use it!
I've upgraded it some......newer kernel, some packages, but it is still
rock solid and never crashes...........unlike some windows boxes I've built.
 
Old 01-03-2005, 06:35 PM   #3
rvijay
Senior Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
There are quite a bit of things to learn in BLFS. This is giving me the butterflies. I have limited time and if things go wrong, then I may get stuck. I am also feeling square eyed as I have been looking at the monitor too much. I have become inefficient and am drifting.

I need to look at this as a learning experience. Do it a little at a time everyday if needed.

Vijay
 
Old 01-05-2005, 12:42 AM   #4
rvijay
Senior Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
I tried to jump in and start a Little. Tried to uncompress the binutils tar.bz2 Got the following error after uncompressing:

f
bzip2: Data integrity error when decompressing.
Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
bash-2.05b$

Please assist. Thanks.

Vijay
 
Old 01-05-2005, 02:09 AM   #5
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
'tar xjf binutils.tar.bz2' resulted in that? Well, as I know from unfortunate experience, I wouldn't bother trying to recover the tarball in this case - you can recover most data (which is a good thing) but anything structured and connected (source code, binaries, etc) will be broken. It's possibly just a bad download and redownloading it would work. You can do like it says and -tvv and/or md5sum the current tarball and, if you get another, the next one.
 
Old 01-05-2005, 07:38 AM   #6
rvijay
Senior Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
Important Short Term Goals:
1. Verify if just one Binutils Package is corrupt or if all other packages are also corrupt (I downloaded all the pakcages as one Tar file.)
2. Need to Upgrae my Linux Kernel by going to Chapter 8.
3. I need to findout the dynamic linker by using:
readelf -l <name of binary> | grep interpreter.

Vijay
 
Old 01-05-2005, 08:29 AM   #7
rvijay
Senior Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
Finished 3. above. Results recorded below for future reference:
bash-2.05b$ readelf -l /sbin/clock | grep interpreter
[Requesting program interpreter: /lib/ld-linux.so.2]

Vijay
 
Old 01-05-2005, 08:34 AM   #8
rvijay
Senior Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
Recording the following for future reference:
bash-2.05b$ ./config.guess
i586-pc-linux-gnu
 
Old 01-05-2005, 08:39 AM   #9
rvijay
Senior Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
Got the md5sum for the binutils package that I downloaded. Unable to find the original md5sum for this package. Please assist. Thanks.

Vijay

bash-2.05b$ md5sum /mnt/cdrom/LFS/LFS6.0Packages/binutils-2.15.91.0.2.tar.bz2
41983069bef07af4f1350c6d30666b2d /mnt/cdrom/LFS/LFS6.0Packages/binutils-2.15.91.0.2.tar.bz2
bash-2.05b$ -tvv /mnt/cdrom/LFS/LFS6.0Packages/binutils-2.15.91.0.2.tar.bz2
bash: -tvv: command not found
 
Old 01-05-2005, 09:35 AM   #10
rvijay
Senior Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
The md5sum for the binutils package is found at the site below and matches exactly what I got for my package. Please assist.

http://www.sethwklein.net/projects/o...world-binutils

Thanks.

Vijay
 
Old 01-05-2005, 07:18 PM   #11
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Well, the '-tvv' is an option to bzip2.
Code:
bzip2 -tvv file
If you aren't having any problem unpacking other bzipped tarballs (your tools are working) and the binutils tarball checks out (the archive is good) then I really can't think what it would be. Unless possibly something's wrong with your drive and there was a random seek error in mid-operation. If there's no reason against it, I'd copy binutils (and everything else, for that matter) to the hard drive. All your unpacking should go faster and you're less likely to get weird errors. (Or it could just be that I hate optical drives. )

Only thing I can think of is to try it again and, if you get an error again, paste the exact commands-and-messages sequence into another post.

Quote:
f
bzip2: Data integrity error when decompressing.
For instance, is the 'f' supposed to be there or was that a typo in your post? Looks like a dangling flag, come to think of it, but I can't think how you'd get that precise error message with that.
 
Old 01-05-2005, 07:57 PM   #12
rvijay
Senior Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
I uncompressed another package, the Perl package from the CDROM. It came out OK. So, if it is just the Binutils package then perhaps I can also just download that alone again and try it.
 
Old 01-05-2005, 08:00 PM   #13
rvijay
Senior Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
Things I like to achieve with LFS:
1) Fax directly from Open office in my PC.
2) Watch Movies
3) See graphics in my POP3 E-Mail
4) Be able to read multi session CDs
5) Improve Graphics Quality to the level of Windows.
6) Would also like to see WebCam on my IM

Here is a significant related fact: I have a chip SiS5597 that gives hell with Linux. Other than knoppix and Vector Linux nothing else works.

Vijay

Last edited by rvijay; 01-05-2005 at 08:28 PM.
 
Old 01-05-2005, 08:03 PM   #14
rvijay
Senior Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
Personal Reference Post, BEFORE CHANGING KERNEL, I need to:
1. Get sync rates for my monitor
2. Local dialup number for my ISP
3. DNS numbers for my ISP.

Also, due to the Tsunami I watched a lot of TV and surfed a lot. My eyes are real tired. If my eye strain increases further, I may have to consider giving this project a good break and then returning to it.

Vijay
 
Old 01-08-2005, 04:35 PM   #15
rvijay
Senior Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921
Blog Entries: 15

Original Poster
Rep: Reputation: 32
Lightbulb

Read a lot of BLFS yesterday and today.

Also had a brainwave !!! How about downloading all the possible files needed for BLFS right away and then burning them on to a CD. That way they will be available whenever needed.

Vijay

Last edited by rvijay; 01-08-2005 at 04:36 PM.
 
  


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
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
LFS-7.0-cross-lfs-20050902-x86_64-Multilib Basel Linux From Scratch 0 09-03-2005 05:03 AM
LQ member progress status from member to senior member............. emailssent LQ Suggestions & Feedback 3 10-11-2004 01:31 PM
AHLFS (Automated Hardened LFS) Profile for nALFS - See progress reports here... bisailb Linux From Scratch 2 09-28-2004 01:13 PM
What are all the programs I need to get a LFS system to online gui status with....... bling bling Linux From Scratch 12 06-24-2003 12:45 AM


All times are GMT -5. The time now is 05:35 AM.

Main Menu
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