reboot.xml 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <sect1 id="ch09-reboot">
  2. <title>Rebooting the system</title>
  3. <?dbhtml filename="reboot.html" dir="chapter09"?>
  4. <para>Now that all software has been installed, bootscripts have been created,
  5. it's time to reboot the computer. Before we reboot let's unmount
  6. $LFS/proc and the LFS partition itself by running:</para>
  7. <para><screen><userinput>umount $LFS/proc &amp;&amp;
  8. umount $LFS</userinput></screen></para>
  9. <para>If you decided to create multiple partitions, you need to umount the
  10. other partitions before you umount $LFS, like this:</para>
  11. <para><screen><userinput>umount $LFS/proc &amp;&amp;
  12. umount $LFS/usr &amp;&amp;
  13. umount $LFS/home &amp;&amp;
  14. umount $LFS</userinput></screen></para>
  15. <para>And you can reboot your system by running something like:</para>
  16. <para><screen><userinput>/sbin/shutdown -r now</userinput></screen></para>
  17. <para>At the LILO: prompt make sure that you tell it to boot
  18. <emphasis>lfs</emphasis> and not the default entry which will boot your
  19. host system again.</para>
  20. <para>After you have rebooted, your LFS system is ready for use and you
  21. can start adding your own software.</para>
  22. <para>One final thing you may want to do is run lilo, now that you are
  23. booted into LFS. This way you will put the LFS version of LILO in the MBR
  24. rather than the one that's there right now from your host system.
  25. Depending on how old your host distribution is, the LFS version may have
  26. more advanced features you need/could use.</para>
  27. <para>Either way, run the following to make the lilo version installed
  28. on LFS active:</para>
  29. <para><screen><userinput>/sbin/lilo</userinput></screen></para>
  30. <para>You may now remove the static directory. If you think you may
  31. need to redo chapter 5, then you may wish to backup the directory before
  32. removing it. To remove the static directory, type the following
  33. command:</para>
  34. <para><screen><userinput>rm -rf /static</userinput></screen></para>
  35. <para>Now that you have finished installing your LFS system, you may
  36. be wondering how to install additional software, such as a web browser.
  37. Your first stop should be the Beyond Linux From Scratch project, which may
  38. be found at <ulink url="&blfs-root;"/>. The LFS hints may also prove helpful,
  39. and are located at <ulink url="&hints-index;"/>. On a similar note, if you
  40. are not only a newbie to LFS, but also to Linux in general, you may
  41. find the newbie hint at <ulink url="&hints-root;newbie.txt"/> very
  42. interesting.</para>
  43. <para>Remember that there are several LFS mailinglists you may subscribe
  44. to if you are in need of help. See <xref linkend="ch01-maillists"/> for
  45. more information.</para>
  46. <para>Again, we thank you for using the LFS Book and hope you found this
  47. book useful and worth your time.</para>
  48. </sect1>