What is the best way to correctly build the latest Linux From Scratch distribution?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What is the best way to correctly build the latest Linux From Scratch distribution?
Hello Linux Community,
About Me:
I have been a long time Windows user, from MS-DOS, up to the latest Windows 7 on my laptop computer, and I also have started using Linux (from Mandrake Linux) since high school between times, when Windows was not doing what it is supposed to do.
Although, I used Linux mainly on my old slow computers for Internet access and some games, before I got much faster computers (Intel Pentium 4, 3.0Ghz), etc.
And now after around 10 years (or more) of using Microsoft products, I am very tired of how everything works in their programs and want to completely migrate to Linux (latest version of Debian Linux), since I already know how to use Linux, am taking a Ubuntu Linux class in college, and have already read almost the whole textbook on Ubuntu Linux called "Apress - Beginning Ubuntu Linux - Fourth Edition", which provided a lot of insight to me on Linux that I did not know before.
The reason I am going to use the latest Debian Linux, is because it offers the most applications right out of the box, without the need to waste time trying to figure out which packages you should download to get Linux to do what you want it to, and for additional applications. I tried other distributions, but they are just not good enough in lots of ways (mainly lacking extra packages that I need to use as my primary desktop operating system).
Linux From Scratch:
The reason I want to use the latest Debian Linux to create my own Linux From Scratch distribution, is because I tried using other distributions before many times, and I "never" ever succeeded with creating my own Linux From Scratch distribution correctly, and never got past the first part of compiling the packages (Binutils).
Maybe I was not using a Linux distribution that had all the correct latest compiler tools, or something like that. Also, I was not using very good computers to try to compile my own Linux From Scratch distribution, so I have also decided to purchase brand new parts online, and custom build my own new desktop computer. Another reason why I want to build my own brand new custom desktop computer, is because I am tired of how my laptop computer works, even though it is AMD Dual-Core 2.13 Ghz. Finally, I am tired of having to either replace or upgrade my computer a lot of times, due to speed, cost or some other cost.
My Computer:
Below are the specifications of the brand new computer that I am going to custom build once all the computer part I've ordered online come:
Memory: Patriot G Series ‘Sector 5’ Edition 8GB (2 x 4GB) 240-Pin DDR3 SDRAM DDR3 1333 (PC3 10666) Desktop Memory Model PGV38G1333ELK
Hard Drive: White Label 1.5TB SATA 7200RPM 32mb cache.
Power Supply: Foxconn TLM566-300W Steel MicroATX Mid Tower Computer Case 300W Power Supply.
Linux From Scratch:
What I am mainly asking is for anybody to help me on how to "correctly" build my new Linux From Scratch system, because even though I read on the forums of this website, and lots of places online that their Linux From Scratch builds worked and they were able to compile everything successfully, I never succeeded and I want to succeed, so that I can learn Linux better, and maybe over time, try to build my own some kind of Linux distribution, so that maybe some other Linux users can use as their operating system or try it out.
Please Help:
Help of "any kind" is "greatly" appreciated. You Linux users are very smart people, but I am not that smart with Linux, and have no Linux programming experience, so your help would be most appreciated. I will read everyone of your replies very carefully, so please reply if you have any suggestions or comments on how to correctly build a Linux From Scratch distribution.
Thank you very much for taking the time to read this. And have a great day.
The correct way to build your first LFS is to do exactly what is mentioned in the book. And before doing that, you should at least fulfill the prerequisites.
I second Tobi that if you follow the instructions exactly you should be fine. Take it from me as I have done it several times, when you think you are stuck and getting
errors that should not be there, I can guarantee you have missed a step
If at all possible, i would also recommend using cut and paste on some of the trickier commands.
Same here, and I would do more than "recommend using cut and paste on some of the trickier commands" as grail said. Because you've had difficulty in the past, I say you should copy-paste every command. You should do very little manual typing at all. Open a browser and a terminal on the same screen and have at it. Convince yourself that it works. Once you get a successful install under your belt, then consider deviating from the book, but deviate only if you have a good reason to do so.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.