reboot.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. if [ -h $LFS/dev/shm ]; then
  29. link=$(readlink $LFS/dev/shm)
  30. umount -v $LFS/$link
  31. unset link
  32. else
  33. umount -v $LFS/dev/shm
  34. fi
  35. umount -v $LFS/dev
  36. umount -v $LFS/proc
  37. umount -v $LFS/sys</userinput></screen>
  38. <para>Unmount the LFS file system itself:</para>
  39. <screen><userinput>umount -v $LFS</userinput></screen>
  40. <para>If multiple partitions were created, unmount the other
  41. partitions before unmounting the main one, like this:</para>
  42. <screen role="nodump"><userinput>umount -v $LFS/usr
  43. umount -v $LFS/home
  44. umount -v $LFS</userinput></screen>
  45. <para>Now, reboot the system with:</para>
  46. <screen role="nodump"><userinput>shutdown -r now</userinput></screen>
  47. <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
  48. is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
  49. <para>When the reboot is complete, the LFS system is ready for use and
  50. more software may be added to suit your needs.</para>
  51. </sect1>