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">
8 <sect1 id="ch-finish-reboot">
9 <?dbhtml filename="reboot.html"?>
11 <title>Rebooting the System</title>
13 <para>Now that all of the software has been installed, it is time to reboot
14 your computer. However, you should be aware of a few things. The system you
15 have created in this book is quite minimal, and most likely will not have
16 the functionality you would need to be able to continue forward. By installing
17 a few extra packages from the BLFS book while still in our current chroot
18 environment, you can leave yourself in a much better position to continue on
19 once you reboot into your new LFS installation. Here are some suggestions:</para>
23 <listitem><para>A text mode browser such as <ulink
24 url='&blfs-book;basicnet/lynx.html'>Lynx</ulink>
25 will allow you to easily view the BLFS book in one virtual terminal, while
26 building packages in another.</para></listitem>
28 <listitem><para>The <ulink
29 url='&blfs-book;general/gpm.html'>GPM</ulink> package will allow
30 you to perform copy/paste actions in your virtual
31 terminals.</para></listitem>
33 <listitem><para>If you are in a situation where static IP configuration
34 does not meet your networking requirements, installing a package
35 such as <ulink url='&blfs-book;basicnet/dhcpcd.html'>dhcpcd</ulink>
36 or the client portion of <ulink
37 url='&blfs-book;basicnet/dhcp.html'>dhcp</ulink> may be
38 useful.</para></listitem>
40 <listitem><para>Installing <ulink
41 url='&blfs-book;postlfs/sudo.html'>sudo</ulink> may be useful for
42 building packages as a non-root user and easily installing the resulting
43 packages in your new system. </para></listitem>
45 <listitem><para>If you want to access your new system from a remote system
46 within a comfortable GUI environment, install <ulink
47 url='&blfs-book;postlfs/openssh.html'>openssh</ulink>.
50 <listitem><para>To make fetching files over the internet easier, install
51 <ulink url='&blfs-book;basicnet/wget.html'>wget</ulink>.
54 <listitem><para>If one or more of your disk drives have a GUID partition
55 table (GPT), either <ulink
56 url='&blfs-book;postlfs/gptfdisk.html'>gptfdisk</ulink> or <ulink
57 url='&blfs-book;postlfs/parted.html'>parted</ulink> will be useful.
60 <listitem><para>Finally, a review of the following configuration files
61 is also appropriate at this point. </para>
64 <listitem><para>/etc/bashrc </para></listitem>
65 <listitem><para>/etc/dircolors </para></listitem>
66 <listitem><para>/etc/fstab </para></listitem>
67 <listitem><para>/etc/hosts </para></listitem>
68 <listitem><para>/etc/inputrc </para></listitem>
69 <listitem><para>/etc/profile </para></listitem>
70 <listitem><para>/etc/resolv.conf </para></listitem>
71 <listitem><para>/etc/vimrc </para></listitem>
72 <listitem><para>/root/.bash_profile </para></listitem>
73 <listitem><para>/root/.bashrc </para></listitem>
74 <listitem revision="sysv"><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
79 <para>Now that we have said that, let's move on to booting our shiny new LFS
80 installation for the first time! First exit from the chroot environment:</para>
82 <screen><userinput>logout</userinput></screen>
84 <para>Then unmount the virtual file systems:</para>
86 <screen><userinput>umount -v $LFS/dev/pts
90 umount -v $LFS/sys</userinput></screen>
92 <para>Unmount the LFS file system itself:</para>
94 <screen><userinput>umount -v $LFS</userinput></screen>
96 <para>If multiple partitions were created, unmount the other
97 partitions before unmounting the main one, like this:</para>
99 <screen role="nodump"><userinput>umount -v $LFS/usr
101 umount -v $LFS</userinput></screen>
103 <para>Now, reboot the system with:</para>
105 <screen role="nodump"><userinput>shutdown -r now</userinput></screen>
107 <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
108 is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
110 <para>When the reboot is complete, the LFS system is ready for use and
111 more software may be added to suit your needs.</para>