LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs > threekgtvr4
User Name
Password

Notices

Rate this Entry

Linux From Scratch by a newbie, part deux...

Posted 12-30-2006 at 03:29 AM by threekgtvr4

Well, since the last entry, I completed LFS 6.1.1 successfully. I then realized that I was WAY to new to Linux to actually do anything with it. So I trashed it, installed Debian. I got to play with that Distro for about a month before my HD decided it wanted to take a crap. So about a month ago I got SimplyMEPIS installed and haven't used WinD'OHs since (well, except for my scanner ::shrugs:: whatcha gonna do??? lol).

So, I'm back to trying Linux From Scratch again, but this time armed with a little more knowledge and a renewed interest in doing something the hard way just to learn :D. This time around, I'm using the LFS 6.2-3 book and the live CD that accompanies it. I use the live CD, even though SimplyMEPIS could be my host system, because it is suppose to be the most pure host system for building LFS. I am also using the hint about building LFS 6.1 using the live CD. Some of that hint must be updated a little bit, but not much. It is still fairly helpful.

So far, I've run into segfaults and intermittent errors while compiling GCC-4.0.3. I finally found some help from the LFS mailing list archives pointing to the hardware being the problem, particularly excess heat from the processor while compiling larger programs. I decided to give underclocking a try, and it worked wonderfully. It has slowed down the computer a tiny bit, but not enough to really notice. So if you run into problems such as this, try underclocking your processor and/or RAM if your bios gives you that option.

I've also written my own shell script for entering the clean environment in chapter 5 with a little help from the live CD hint. I also added color to the ls command so that the files and directories all show up colorized as they do at the live CD prompt, as well as adding the -a option so that I can see all files and directories in the filesystem. That was a fun experience as I've never written a shell script besides what has been given to me to write up for use with LFS. So I had to try and try again until it worked just right, and it serves its' purpose.

Eventually I plan on taking over the live CD hint and hopefully, if I can learn enough about it, the More Control/Package Management hint. But this is just a hope, with all the other things I'm trying to do, I don't know if I'll have enough time to keep up with the releases of LFS. At the least, I hope to update them to work with LFS 6.2. I am also thinking about editing the book by including the two aforementioned hints and adding the extra/changed commands for those wanting to use the same setup that I am using.

Well, that's enough for tonight, back to the build. I am almost finished with chapter 5 right now. As soon as that is finished its time for a little sleepy, run some errands, and start on chapter 6...
Posted in Uncategorized
Views 841 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    I should point out that I was working on the first pass of GCC-4.0.3 from chapter 5.
    Posted 12-31-1969 at 07:00 PM by threekgtvr4 threekgtvr4 is offline
 

  



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