Make umounting explicit

This commit is contained in:
Bruce Dubbs 2021-11-01 12:05:41 -05:00
parent d02074e9bc
commit 56587fc43d

View File

@ -84,10 +84,30 @@
installation for the first time! First exit from the chroot environment:</para> installation for the first time! First exit from the chroot environment:</para>
<screen><userinput>logout</userinput></screen> <screen><userinput>logout</userinput></screen>
<!-- We need to show the user the details...
<para>Unmount the LFS file system hierarchy:</para> <para>Unmount the LFS file system hierarchy:</para>
<screen><userinput>umount -Rv $LFS</userinput></screen> <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> <para>Now, reboot the system with:</para>