mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-02-01 03:42:13 +00:00
a9103442e0
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2977 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
38 lines
1.3 KiB
XML
38 lines
1.3 KiB
XML
<sect1 id="ch09-reboot">
|
|
<title>Rebooting the system</title>
|
|
<?dbhtml filename="reboot.html" dir="chapter09"?>
|
|
|
|
<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>
|
|
|
|
<screen><userinput>umount /proc
|
|
umount /dev/pts</userinput></screen>
|
|
|
|
<para>Exit the chroot environment:</para>
|
|
<screen><userinput>logout</userinput></screen>
|
|
|
|
<para>Before we reboot, let's unmount the LFS partition itself:</para>
|
|
|
|
<screen><userinput>umount $LFS</userinput></screen>
|
|
|
|
<para>If you earlier decided to create multiple partitions, you'll need to
|
|
unmount the other partitions before you unmount $LFS, like this:</para>
|
|
|
|
<screen><userinput>umount $LFS/usr
|
|
umount $LFS/home
|
|
umount $LFS</userinput></screen>
|
|
|
|
<para>And now you can reboot your system by running something like:</para>
|
|
|
|
<screen><userinput>/sbin/shutdown -r now</userinput></screen>
|
|
|
|
<para>At the Grub menu make sure that you tell it to boot
|
|
<emphasis>lfs</emphasis> and not the default entry which will boot your
|
|
host system again.</para>
|
|
|
|
<para>After you have rebooted, your LFS system is ready for use and you
|
|
can start adding your own software.</para>
|
|
|
|
</sect1>
|