diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2021-11-01 12:05:41 -0500 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2021-11-01 12:05:41 -0500 |
commit | 56587fc43d410b72f1cad1c98ecb6663459d339e (patch) | |
tree | 1b9cdf44e446bfa61626116fd0f64142132eb70b /chapter11 | |
parent | d02074e9bcb9c17a9364d86330738dbf4338d119 (diff) |
Make umounting explicit
Diffstat (limited to 'chapter11')
-rw-r--r-- | chapter11/reboot.xml | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/chapter11/reboot.xml b/chapter11/reboot.xml index adf1a9f3e..9166a8c49 100644 --- a/chapter11/reboot.xml +++ b/chapter11/reboot.xml @@ -84,10 +84,30 @@ installation for the first time! First exit from the chroot environment:</para> <screen><userinput>logout</userinput></screen> - +<!-- We need to show the user the details... <para>Unmount the LFS file system hierarchy:</para> <screen><userinput>umount -Rv $LFS</userinput></screen> +--> + + <para>Then unmount the virtual file systems:</para> + +<screen><userinput>umount -v $LFS/dev/pts +umount -v $LFS/dev +umount -v $LFS/run +umount -v $LFS/proc +umount -v $LFS/sys</userinput></screen> + + <para>If multiple partitions were created, unmount the other + partitions before unmounting the main one, like this:</para> + +<screen role="nodump"><userinput>umount -v $LFS/usr +umount -v $LFS/home +umount -v $LFS</userinput></screen> + + <para>Unmount the LFS file system itself:</para> + +<screen role="nodump"><userinput>umount -v $LFS</userinput></screen> <para>Now, reboot the system with:</para> |