Chapter 7. If You Are Going to Boot

#### Cross-Compiled Linux From Scratch - Version 1.0.0rc2-x86_64-Pure64

### Part IV. Building the Basic Tools

- Prev

  To Boot or to Chroot?

- Next

  Creating Directories

- Up.
- Home

# 7. If You Are Going to Boot

## 7.1. Introduction

This chapter shows how to complete the build of temporary tools to create a minimal system that will be used to boot the target machine and to build the final system packages.

There are a few additional packages that will need to be installed to allow you to boot the minimal system. Some of these packages will be installed onto the root or in /usr on the CLFS partition ($CLFS/bin, $CLFS/usr/lib, etc...), rather than /tools, using the "DESTDIR" option with make. This will require the `clfs` user to have write access to the rest of the $CLFS partition, so you will need to temporarily change the ownership of $CLFS to the `clfs` user. Run the following command as `root`:

    chown -v clfs $CLFS

- Prev

  To Boot or to Chroot?

- Next

  Creating Directories

- Up.
- Home.