Now that all of the software has been installed, it is time to reboot your computer. However, you should be aware of a few things. The system you have created in this book is quite minimal, and most likely will not have the functionality you would need to be able to continue forward. By installing a few extra packages from the BLFS book while still in our current chroot environment, you can leave yourself in a much better position to continue on once you reboot into your new LFS installation. Here are some suggestions:
A text mode browser such as Lynx will allow you to easily view the BLFS book in one virtual terminal, while building packages in another.
The GPM package will allow you to perform copy/paste actions in your virtual terminals.
Installing sudo may be useful for building packages as a non-root user and easily installing the resulting packages in your new system.
To make fetching files over the internet easier, install wget.
Finally, a review of the following configuration files is also appropriate at this point.
Now that we have said that, lets move on to booting our shiny new LFS installation for the first time! First exit from the chroot environment:
Then unmount the virtual file systems:
umount -v $LFS/dev/pts if [ -h $LFS/dev/shm ]; then link=$(readlink $LFS/dev/shm) umount -v $LFS/$link unset link else umount -v $LFS/dev/shm fi umount -v $LFS/dev umount -v $LFS/proc umount -v $LFS/sys
Unmount the LFS file system itself:
umount -v $LFS
If multiple partitions were created, unmount the other partitions before unmounting the main one, like this:
umount -v $LFS/usr umount -v $LFS/home umount -v $LFS
Now, reboot the system with:
shutdown -r now
Assuming the GRUB boot loader was set up as outlined earlier, the menu is set to boot LFS 7.4-rc1 automatically.
When the reboot is complete, the LFS system is ready for use and more software may be added to suit your needs.