2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-03-21 18:42:58 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2005-12-18 13:13:31 +00:00
|
|
|
|
2004-01-27 22:29:49 +00:00
|
|
|
<sect1 id="ch-finish-reboot">
|
2005-12-18 13:13:31 +00:00
|
|
|
<?dbhtml filename="reboot.html"?>
|
|
|
|
|
|
|
|
<title>Rebooting the System</title>
|
|
|
|
|
|
|
|
<para>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. Installing a text mode web
|
|
|
|
browser, such as Lynx, you can easily view the BLFS book in one virtual
|
|
|
|
terminal, while building packages in another. The GPM package will also allow
|
|
|
|
you to perform copy/paste actions in your virtual terminals. Lastly, if you
|
|
|
|
are in a situation where static IP configuration does not meet your networking
|
|
|
|
requirements, installing packages such as Dhcpcd or PPP at this point might
|
|
|
|
also be useful.</para>
|
|
|
|
|
|
|
|
|
|
|
|
<para>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:</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2003-10-14 07:12:00 +01:00
|
|
|
<screen><userinput>logout</userinput></screen>
|
|
|
|
|
2009-07-26 20:17:51 +01:00
|
|
|
<para>Then unmount the virtual file systems:</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2005-11-07 19:57:42 +00:00
|
|
|
<screen><userinput>umount -v $LFS/dev/pts
|
2005-09-29 21:55:40 +01:00
|
|
|
umount -v $LFS/dev/shm
|
|
|
|
umount -v $LFS/dev
|
|
|
|
umount -v $LFS/proc
|
2005-12-18 13:13:31 +00:00
|
|
|
umount -v $LFS/sys</userinput></screen>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2005-12-18 13:13:31 +00:00
|
|
|
<para>Unmount the LFS file system itself:</para>
|
2003-10-14 07:12:00 +01:00
|
|
|
|
2005-10-19 22:05:34 +01:00
|
|
|
<screen><userinput>umount -v $LFS</userinput></screen>
|
2002-05-28 01:34:53 +01:00
|
|
|
|
2005-12-18 13:13:31 +00:00
|
|
|
<para>If multiple partitions were created, unmount the other
|
|
|
|
partitions before unmounting the main one, like this:</para>
|
2002-05-28 01:34:53 +01:00
|
|
|
|
2005-09-29 21:55:40 +01:00
|
|
|
<screen role="nodump"><userinput>umount -v $LFS/usr
|
|
|
|
umount -v $LFS/home
|
|
|
|
umount -v $LFS</userinput></screen>
|
2001-08-27 23:17:43 +01:00
|
|
|
|
2005-12-18 13:13:31 +00:00
|
|
|
<para>Now, reboot the system with:</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2005-09-11 23:44:11 +01:00
|
|
|
<screen role="nodump"><userinput>shutdown -r now</userinput></screen>
|
2001-08-27 23:17:43 +01:00
|
|
|
|
2005-12-18 13:13:31 +00:00
|
|
|
<para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
|
|
|
|
is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2005-12-18 13:13:31 +00:00
|
|
|
<para>When the reboot is complete, the LFS system is ready for use and
|
|
|
|
more software may be added to suit your needs.</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2001-08-27 23:17:43 +01:00
|
|
|
</sect1>
|