|
@@ -2,22 +2,28 @@
|
|
<title>Rebooting the system</title>
|
|
<title>Rebooting the system</title>
|
|
<?dbhtml filename="reboot.html" dir="chapter09"?>
|
|
<?dbhtml filename="reboot.html" dir="chapter09"?>
|
|
|
|
|
|
-<para>Now that all of the software has been installed, it's time to reboot
|
|
|
|
-the computer. Before we reboot, let's unmount $LFS/proc and the LFS
|
|
|
|
-partition itself by running:</para>
|
|
|
|
|
|
+<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 $LFS/proc
|
|
|
|
-umount $LFS</userinput></screen>
|
|
|
|
|
|
+<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 decided to create multiple partitions, you need to umount the
|
|
|
|
-other partitions before you umount $LFS, like this:</para>
|
|
|
|
|
|
+<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/proc
|
|
|
|
-umount $LFS/usr
|
|
|
|
|
|
+<screen><userinput>umount $LFS/usr
|
|
umount $LFS/home
|
|
umount $LFS/home
|
|
umount $LFS</userinput></screen>
|
|
umount $LFS</userinput></screen>
|
|
|
|
|
|
-<para>And you can reboot your system by running something like:</para>
|
|
|
|
|
|
+<para>And now you can reboot your system by running something like:</para>
|
|
|
|
|
|
<screen><userinput>/sbin/shutdown -r now</userinput></screen>
|
|
<screen><userinput>/sbin/shutdown -r now</userinput></screen>
|
|
|
|
|