7.1. Introduction

This chapter details how to install the bootscripts and set them up properly, creating an fstab file, building a kernel for the new HLFS system, and installing the Grub boot loader so that the HLFS system can be selected for booting at startup.

Most of these bootscripts will work without modification, but a few require additional configuration files because they deal with hardware-dependent information.

System-V style init scripts are employed in this book because they are widely used. For additional options, a hint detailing the BSD style init setup is available at http://www.linuxfromscratch.org/hints/downloads/files/bsd-init.txt. Searching the LFS mailing lists for “depinit” will also offer additional choices.