reboot.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <sect1 id="ch09-reboot">
  2. <title>Rebooting the system</title>
  3. <?dbhtml filename="reboot.html" dir="chapter09"?>
  4. <para>Now that all of the software has been installed, it's time to exit the
  5. chroot environment and reboot the computer. Before we exit the chroot
  6. environment, let's unmount any mounted virtual file systems by running:</para>
  7. <screen><userinput>umount /proc
  8. umount /dev/pts</userinput></screen>
  9. <para>Exit the chroot environment:</para>
  10. <screen><userinput>logout</userinput></screen>
  11. <para>Before we reboot, let's unmount the LFS partition itself:</para>
  12. <screen><userinput>umount $LFS</userinput></screen>
  13. <para>If you earlier decided to create multiple partitions, you'll need to
  14. unmount the other partitions before you unmount $LFS, like this:</para>
  15. <screen><userinput>umount $LFS/usr
  16. umount $LFS/home
  17. umount $LFS</userinput></screen>
  18. <para>And now you can reboot your system by running something like:</para>
  19. <screen><userinput>/sbin/shutdown -r now</userinput></screen>
  20. <para>At the Grub menu make sure that you tell it to boot
  21. <emphasis>lfs</emphasis> and not the default entry which will boot your
  22. host system again.</para>
  23. <para>After you have rebooted, your LFS system is ready for use and you
  24. can start adding your own software.</para>
  25. </sect1>