reboot.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <sect1 id="ch08-reboot">
  2. <title>Rebooting the system</title>
  3. <para>
  4. Now that all software has been installed, bootscripts have been created,
  5. it's time to reboot the computer. Before we reboot let's exit the
  6. chroot'ed environment first and unmount the LFS partition by running:
  7. </para>
  8. <blockquote><literallayout>
  9. <userinput>logout</userinput>
  10. <userinput>umount $LFS/proc &amp;&amp;</userinput>
  11. <userinput>umount $LFS</userinput>
  12. </blockquote></literallayout>
  13. <para>
  14. If your LFS system consists of more than the one partition we have been
  15. assuming for simplicity's sake, unmount those before you try to unmount
  16. $LFS (ie: you can't unmount $LFS while you have something mounted on
  17. $LFS/usr for example).
  18. </para>
  19. <para>
  20. And you can reboot your system by running something like:
  21. </para>
  22. <blockquote><literallayout>
  23. <userinput>/sbin/shutdown -r now</userinput>
  24. </literallayout></blockquote>
  25. <para>
  26. At the LILO: prompt make sure that you tell it to boot
  27. <emphasis>lfs</emphasis> and not the default entry which will boot your
  28. host system again.
  29. </para>
  30. <para>
  31. During the first boot you will get a few errors from syslogd and klogd.
  32. These errors occur because we haven't setup networking yet. That will
  33. be taken care of in the next chapter. So don't worry about those errors
  34. for now.
  35. </para>
  36. <para>
  37. As just stated, one thing remains to be done and that's setting up
  38. networking. After having rebooted and finished the next chapter of this
  39. book the LFS system is completely ready for use, and you can start
  40. adding your own software.
  41. </para>
  42. </sect1>