From 86c18a3459f9f67fe0addd4a153c47ffcd4bdd57 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sun, 6 May 2001 19:24:08 +0000 Subject: Added instructions to unmount $LFS/proc and $LFS before rebooting git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@580 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter08/reboot.xml | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) (limited to 'chapter08/reboot.xml') 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 @@ Now that all software has been installed, bootscripts have been created, -it's time to reboot the computer. Run a command like -/sbin/shutdown -r now or -/sbin/reboot to reboot your system and at the -LILO: prompt make sure that you tell it to boot -lfs. +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: + + +
+ logout + umount $LFS/proc && + umount $LFS +
+ + +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). + + + +And you can reboot your system by running something like: + + +
+ /sbin/shutdown -r now +
+ + +At the LILO: prompt make sure that you tell it to boot +lfs and not the default entry which will boot your +host system again. -- cgit v1.2.3-54-g00ecf