LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   My LFS Progress/Status. (https://www.linuxquestions.org/questions/linux-from-scratch-13/my-lfs-progress-status-272756/)

rvijay 01-01-2005 09:14 PM

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 :newbie: :study:

320mb 01-01-2005 09:50 PM

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.

rvijay 01-03-2005 06:35 PM

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

rvijay 01-05-2005 12:42 AM

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

slakmagik 01-05-2005 02:09 AM

'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.

rvijay 01-05-2005 07:38 AM

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

rvijay 01-05-2005 08:29 AM

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

rvijay 01-05-2005 08:34 AM

Recording the following for future reference:
bash-2.05b$ ./config.guess
i586-pc-linux-gnu

rvijay 01-05-2005 08:39 AM

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

rvijay 01-05-2005 09:35 AM

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

slakmagik 01-05-2005 07:18 PM

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.

rvijay 01-05-2005 07:57 PM

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.

rvijay 01-05-2005 08:00 PM

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

rvijay 01-05-2005 08:03 PM

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

rvijay 01-08-2005 04:35 PM

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 :newbie: :D


All times are GMT -5. The time now is 03:24 PM.