reboot.xml 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. Here are some suggestions:</para>
  17. <itemizedlist>
  18. <listitem><para>A text mode browser such as <ulink
  19. url='&blfs-book;basicnet/lynx.html'>Lynx</ulink>
  20. will allow you to easily view the BLFS book in one virtual terminal, while
  21. building packages in another.</para></listitem>
  22. <listitem><para>The <ulink
  23. url='&blfs-book;general/gpm.html'>GPM</ulink> package will allow
  24. you to perform copy/paste actions in your virtual
  25. terminals.</para></listitem>
  26. <listitem><para>If you are in a situation where static IP configuration
  27. does not meet your networking requirements, installing a package
  28. such as <ulink url='&blfs-book;basicnet/dhcpcd.html'>dhcpcd</ulink>
  29. or the client portion of <ulink
  30. url='&blfs-book;basicnet/dhcp.html'>dhcp</ulink> may be
  31. useful.</para></listitem>
  32. <listitem><para>Installing <ulink
  33. url='&blfs-book;postlfs/sudo.html'>sudo</ulink> may be useful for
  34. building packages as a non-root user and easily installing the resulting
  35. packages in your new system. </para></listitem>
  36. <listitem><para>If you want to access your new system from a remote system
  37. within a comfortable GUI environment, install <ulink
  38. url='&blfs-book;postlfs/openssh.html'>openssh</ulink>.
  39. </para></listitem>
  40. <listitem><para>To make fetching files over the internet easier, install
  41. <ulink url='&blfs-book;basicnet/wget.html'>wget</ulink>.
  42. </para></listitem>
  43. <listitem><para>Finally, a review of the following configuration files
  44. is also appropriate at this point. </para>
  45. <itemizedlist>
  46. <listitem><para>/etc/bashrc </para></listitem>
  47. <listitem><para>/etc/dircolors </para></listitem>
  48. <listitem><para>/etc/fstab </para></listitem>
  49. <listitem><para>/etc/hosts </para></listitem>
  50. <listitem><para>/etc/inputrc </para></listitem>
  51. <listitem><para>/etc/profile </para></listitem>
  52. <listitem><para>/etc/resolv.conf </para></listitem>
  53. <listitem><para>/etc/vimrc </para></listitem>
  54. <listitem><para>/root/.bash_profile </para></listitem>
  55. <listitem><para>/root/.bashrc </para></listitem>
  56. <listitem revision="sysv"><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
  57. </itemizedlist>
  58. </listitem>
  59. </itemizedlist>
  60. <para>Now that we have said that, let's move on to booting our shiny new LFS
  61. installation for the first time! First exit from the chroot environment:</para>
  62. <screen><userinput>logout</userinput></screen>
  63. <para>Unmount the LFS file system hierarchy:</para>
  64. <screen><userinput>umount -Rv $LFS</userinput></screen>
  65. <para>Now, reboot the system with:</para>
  66. <screen role="nodump"><userinput>shutdown -r now</userinput></screen>
  67. <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
  68. is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
  69. <para>When the reboot is complete, the LFS system is ready for use and
  70. more software may be added to suit your needs.</para>
  71. </sect1>