Chapter 5. Making the LFS system bootable

Table of Contents
Installing Sysvinit
Configuring Sysvinit
Creating passwd & group files
Installing the Bash shell
Adding an entry to LILO
Testing the system

Installing Sysvinit

Under normal circumstances, after the kernel is done loading and initializing various system components, it attempts to load a program called init which will finalize the system boot process. The package found on most if not every single Linux system is called Sysvinit and that's the program we're going to install on our LFS system.

After applying the $(ROOT) parts to the last four lines, they should look like this:


@if [! -p $(ROOT)/dev/initctl ]; then \
echo "Creating $(ROOT)/dev/initctl"; \
rm -f $(ROOT)/dev/initctl; \
mknod -m 600 $(ROOT)/dev/initctl p; fi


make -e LDFLAGS=-static; make install