diff options
-rw-r--r-- | chapter08/reboot.xml | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/chapter08/reboot.xml b/chapter08/reboot.xml index 86926cd3c..d42b37c56 100644 --- a/chapter08/reboot.xml +++ b/chapter08/reboot.xml @@ -3,11 +3,35 @@ <para> Now that all software has been installed, bootscripts have been created, -it's time to reboot the computer. Run a command like -<userinput>/sbin/shutdown -r now</userinput> or -<userinput>/sbin/reboot</userinput> to reboot your system and at the -LILO: prompt make sure that you tell it to boot -<emphasis>lfs</emphasis>. +it's time to reboot the computer. Before we reboot let's exit the +chroot'ed environment first and unmount the LFS partition by running: +</para> + +<blockquote><literallayout> + <userinput>logout</userinput> + <userinput>umount $LFS/proc &&</userinput> + <userinput>umount $LFS</userinput> +</blockquote></literallayout> + +<para> +If your LFS system consists of more than the one partition we have been +assuming for simplicity's sake, unmount those before you try to unmount +$LFS (ie: you can't unmount $LFS while you have something mounted on +$LFS/usr for example). +</para> + +<para> +And you can reboot your system by running something like: +</para> + +<blockquote><literallayout> + <userinput>/sbin/shutdown -r now</userinput> +</literallayout></blockquote> + +<para> +At the LILO: prompt make sure that you tell it to boot +<emphasis>lfs</emphasis> and not the default entry which will boot your +host system again. </para> <para> |