mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-18 21:17:38 +00:00
Chapter 9 - Rebooting the system: Reworked umount commands.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2977 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
c5194aac19
commit
a9103442e0
@ -96,6 +96,9 @@
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem><para>October 13th, 2003 [greg]: Chapter 9 - Rebooting the system:
|
||||
Reworked umount commands.</para></listitem>
|
||||
|
||||
<listitem><para>October 11h, 2003 [alex]: Adapted the required disk space
|
||||
values and SBUs, as posted by Bruce Dubbs.</para></listitem>
|
||||
|
||||
|
@ -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>If you decided to create multiple partitions, you need to umount the
|
||||
other partitions before you umount $LFS, like this:</para>
|
||||
<para>Exit the chroot environment:</para>
|
||||
<screen><userinput>logout</userinput></screen>
|
||||
|
||||
<screen><userinput>umount $LFS/proc
|
||||
umount $LFS/usr
|
||||
<para>Before we reboot, let's unmount the LFS partition itself:</para>
|
||||
|
||||
<screen><userinput>umount $LFS</userinput></screen>
|
||||
|
||||
<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/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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user