2004-01-27 22:29:49 +00:00
|
|
|
<sect1 id="ch-finish-reboot">
|
2001-08-27 23:17:43 +01:00
|
|
|
<title>Rebooting the system</title>
|
2001-09-26 01:35:10 +01:00
|
|
|
<?dbhtml filename="reboot.html" dir="chapter09"?>
|
2001-08-27 23:17:43 +01:00
|
|
|
|
2003-10-14 07:12:00 +01:00
|
|
|
<para>Now that all of the software has been installed, it's time to exit the
|
|
|
|
chroot environment and reboot the computer. Before we exit the chroot
|
|
|
|
environment, let's unmount any mounted virtual file systems by running:</para>
|
2001-08-27 23:17:43 +01:00
|
|
|
|
2003-10-14 07:12:00 +01:00
|
|
|
<screen><userinput>umount /proc
|
|
|
|
umount /dev/pts</userinput></screen>
|
|
|
|
|
|
|
|
<para>Exit the chroot environment:</para>
|
|
|
|
<screen><userinput>logout</userinput></screen>
|
|
|
|
|
2003-10-16 02:02:39 +01:00
|
|
|
<para>Additionally, now that all software has been installed, there is no longer
|
|
|
|
a need for the <filename class="directory">/tools</filename> directory. You may
|
|
|
|
delete it. As this will also remove the temporary copies of Tcl, Expect and
|
|
|
|
DejaGnu, which were used for running the toolchain tests, you will need to
|
|
|
|
recompile and re-install them on your LFS system if you want to use these
|
|
|
|
programs later.</para>
|
|
|
|
|
|
|
|
<para>Also you may now want to move the contents of
|
|
|
|
<filename class="directory">/sources</filename> to
|
|
|
|
<filename class="directory">/usr/src/packages</filename> or something similar
|
|
|
|
(or simply delete them if you've burned them on a CD) and delete the
|
|
|
|
directory.</para>
|
|
|
|
|
2003-10-14 07:12:00 +01:00
|
|
|
<para>Before we reboot, let's unmount the LFS partition itself:</para>
|
|
|
|
|
|
|
|
<screen><userinput>umount $LFS</userinput></screen>
|
2002-05-28 01:34:53 +01:00
|
|
|
|
2003-10-14 07:12:00 +01:00
|
|
|
<para>If you earlier decided to create multiple partitions, you'll need to
|
|
|
|
unmount the other partitions before you unmount $LFS, like this:</para>
|
2002-05-28 01:34:53 +01:00
|
|
|
|
2003-10-14 07:12:00 +01:00
|
|
|
<screen><userinput>umount $LFS/usr
|
2003-05-13 08:38:47 +01:00
|
|
|
umount $LFS/home
|
2003-10-10 00:22:07 +01:00
|
|
|
umount $LFS</userinput></screen>
|
2001-08-27 23:17:43 +01:00
|
|
|
|
2003-10-14 07:12:00 +01:00
|
|
|
<para>And now you can reboot your system by running something like:</para>
|
2001-08-27 23:17:43 +01:00
|
|
|
|
2003-10-10 00:22:07 +01:00
|
|
|
<screen><userinput>/sbin/shutdown -r now</userinput></screen>
|
2001-08-27 23:17:43 +01:00
|
|
|
|
2003-10-16 02:02:39 +01:00
|
|
|
<para>Assuming the Grub boot loader was set up as outlined earlier, the
|
|
|
|
default menu should be set to boot <emphasis>LFS &milestone;</emphasis>
|
|
|
|
automatically.</para>
|
2001-08-27 23:17:43 +01:00
|
|
|
|
|
|
|
<para>After you have rebooted, your LFS system is ready for use and you
|
|
|
|
can start adding your own software.</para>
|
|
|
|
|
|
|
|
</sect1>
|