reboot.xml 4.9 KB

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