From a9103442e0ed4ec315d1238f3d6bad929a81ae0a Mon Sep 17 00:00:00 2001 From: Greg Schafer Date: Tue, 14 Oct 2003 06:12:00 +0000 Subject: [PATCH] Chapter 9 - Rebooting the system: Reworked umount commands. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2977 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 3 +++ chapter09/reboot.xml | 26 ++++++++++++++++---------- index.xml | 4 ++-- 3 files changed, 21 insertions(+), 12 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index a1f818e3a..1fd93b4f2 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -96,6 +96,9 @@ +October 13th, 2003 [greg]: Chapter 9 - Rebooting the system: +Reworked umount commands. + October 11h, 2003 [alex]: Adapted the required disk space values and SBUs, as posted by Bruce Dubbs. 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 @@ Rebooting the system -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: +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: -umount $LFS/proc -umount $LFS +umount /proc +umount /dev/pts -If you decided to create multiple partitions, you need to umount the -other partitions before you umount $LFS, like this: +Exit the chroot environment: +logout -umount $LFS/proc -umount $LFS/usr +Before we reboot, let's unmount the LFS partition itself: + +umount $LFS + +If you earlier decided to create multiple partitions, you'll need to +unmount the other partitions before you unmount $LFS, like this: + +umount $LFS/usr umount $LFS/home umount $LFS -And you can reboot your system by running something like: +And now you can reboot your system by running something like: /sbin/shutdown -r now diff --git a/index.xml b/index.xml index c3901a38b..8aae77552 100644 --- a/index.xml +++ b/index.xml @@ -3,8 +3,8 @@ "/usr/share/docbook/docbookx.dtd" [ - - + +