Linux – Why is the temporary system needed to build a Linux from Scratch

linuxsmall-distribution

I just quickly read the Linux From Scratch book and found it very interesting.

However I don't understand the role of the temporary system (Chapter 5). It is built from a working distribution, and then we use it to build the final system.

Couldn't we just make a partition and build a system on it ?

Best Answer

You could use a partition on an existing Linux system. That would be the same as using the temporary system. However, assuming you are using an empty system, you will need something to build the LFS software with. You can't just drop a compiler on a partition and start churning away. You need a little more than that. A kernel, for example, and a boat load of libraries :)