Chapter 4. Preparing the new system

Table of Contents
How we are going to do things
Creating a new partition on Intel systems
Creating a new partition on PPC systems
Creating a ext2 file system on the new partition
Mounting the new partition
Creating directories
Copying the /dev directory

How we are going to do things

We are going to build the LFS system using an already installed Linux distribution such as Debian, SuSe, Slackware, Mandrake, RedHat, etc. You don't need to have any kind of bootdisk. We will use an existing Linux system as the base (since we need a compiler, linker, text editor and other tools).

If you don't have Linux installed yet, you won't be able to put this document to use right away. I suggest you first install a Linux distribution. It really doesn't matter which one you install. It also doesn't need to be the latest version, though it shouldn't be a too old one. If it is about a year old or newer it'll do just fine. You will safe yourself a lot of trouble if your normal system uses glibc-2.0 or newer. Libc5 isn't supported by this document, though it isn't impossible to use a libc5 system if you have no choice.