reboot.xml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  4. <!ENTITY % general-entities SYSTEM "../general.ent">
  5. %general-entities;
  6. ]>
  7. <sect1 id="ch-finish-reboot">
  8. <?dbhtml filename="reboot.html"?>
  9. <title>Rebooting the System</title>
  10. <para>Now that all of the software has been installed, it is time to reboot
  11. your computer. However, you should be aware of a few things. The system you
  12. have created in this book is quite minimal, and most likely will not have
  13. the functionality you would need to be able to continue forward. By installing
  14. a few extra packages from the BLFS book while still in our current chroot
  15. environment, you can leave yourself in a much better position to continue on
  16. once you reboot into your new LFS installation. Installing a text mode web
  17. browser, such as Lynx, you can easily view the BLFS book in one virtual
  18. terminal, while building packages in another. The GPM package will also allow
  19. you to perform copy/paste actions in your virtual terminals. Lastly, if you
  20. are in a situation where static IP configuration does not meet your networking
  21. requirements, installing packages such as Dhcpcd or PPP at this point might
  22. also be useful.</para>
  23. <para>Now that we have said that, lets move on to booting our shiny new LFS
  24. installation for the first time! First exit from the chroot environment:</para>
  25. <screen><userinput>logout</userinput></screen>
  26. <para>Then unmount the virtual file systems:</para>
  27. <screen><userinput>umount -v $LFS/dev/pts
  28. umount -v $LFS/dev/shm
  29. umount -v $LFS/dev
  30. umount -v $LFS/proc
  31. umount -v $LFS/sys</userinput></screen>
  32. <para>Unmount the LFS file system itself:</para>
  33. <screen><userinput>umount -v $LFS</userinput></screen>
  34. <para>If multiple partitions were created, unmount the other
  35. partitions before unmounting the main one, like this:</para>
  36. <screen role="nodump"><userinput>umount -v $LFS/usr
  37. umount -v $LFS/home
  38. umount -v $LFS</userinput></screen>
  39. <para>Now, reboot the system with:</para>
  40. <screen role="nodump"><userinput>shutdown -r now</userinput></screen>
  41. <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
  42. is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
  43. <para>When the reboot is complete, the LFS system is ready for use and
  44. more software may be added to suit your needs.</para>
  45. </sect1>