reboot.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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>If one or more of your disk drives have a GUID partition
  44. table (GPT), either <ulink
  45. url='&blfs-book;postlfs/gptfdisk.html'>gptfdisk</ulink> or <ulink
  46. url='&blfs-book;postlfs/parted.html'>parted</ulink> will be useful.
  47. </para></listitem>
  48. <listitem><para>Finally, a review of the following configuration files
  49. is also appropriate at this point. </para>
  50. <itemizedlist>
  51. <listitem><para>/etc/bashrc </para></listitem>
  52. <listitem><para>/etc/dircolors </para></listitem>
  53. <listitem><para>/etc/fstab </para></listitem>
  54. <listitem><para>/etc/hosts </para></listitem>
  55. <listitem><para>/etc/inputrc </para></listitem>
  56. <listitem><para>/etc/profile </para></listitem>
  57. <listitem><para>/etc/resolv.conf </para></listitem>
  58. <listitem><para>/etc/vimrc </para></listitem>
  59. <listitem><para>/root/.bash_profile </para></listitem>
  60. <listitem><para>/root/.bashrc </para></listitem>
  61. <listitem revision="sysv"><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
  62. </itemizedlist>
  63. </listitem>
  64. </itemizedlist>
  65. <para>Now that we have said that, let's move on to booting our shiny new LFS
  66. installation for the first time! First exit from the chroot environment:</para>
  67. <screen><userinput>logout</userinput></screen>
  68. <para>Then unmount the virtual file systems:</para>
  69. <screen><userinput>umount -v $LFS/dev/pts
  70. umount -v $LFS/dev
  71. umount -v $LFS/run
  72. umount -v $LFS/proc
  73. umount -v $LFS/sys</userinput></screen>
  74. <para>If multiple partitions were created, unmount the other
  75. partitions before unmounting the main one, like this:</para>
  76. <screen role="nodump"><userinput>umount -v $LFS/usr
  77. umount -v $LFS/home
  78. umount -v $LFS</userinput></screen>
  79. <para>Unmount the LFS file system itself:</para>
  80. <screen><userinput>umount -v $LFS</userinput></screen>
  81. <para>Now, reboot the system with:</para>
  82. <screen role="nodump"><userinput>shutdown -r now</userinput></screen>
  83. <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
  84. is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
  85. <para>When the reboot is complete, the LFS system is ready for use and
  86. more software may be added to suit your needs.</para>
  87. </sect1>