aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09/reboot.xml
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2003-10-14 06:12:00 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2003-10-14 06:12:00 +0000
commita9103442e0ed4ec315d1238f3d6bad929a81ae0a (patch)
tree416c9d9c571decdd855b9868b6829d5a66113594 /chapter09/reboot.xml
parentc5194aac1989ba079270b58ec1cfba8d5b4dd5f8 (diff)
Chapter 9 - Rebooting the system: Reworked umount commands.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2977 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter09/reboot.xml')
-rw-r--r--chapter09/reboot.xml26
1 files changed, 16 insertions, 10 deletions
diff --git a/chapter09/reboot.xml b/chapter09/reboot.xml
index 8dd765afb..4b46dd6d6 100644
--- a/chapter09/reboot.xml
+++ b/chapter09/reboot.xml
@@ -2,22 +2,28 @@
<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 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</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>