[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[7686ca6] | 7 |
|
---|
[3be4d97] | 8 | <sect1 id="ch-finish-reboot">
|
---|
[7686ca6] | 9 | <?dbhtml filename="reboot.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Rebooting the System</title>
|
---|
| 12 |
|
---|
| 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
|
---|
[eec1ca9] | 19 | once you reboot into your new LFS installation. Here are some suggestions:</para>
|
---|
[2ca8941] | 20 |
|
---|
[eec1ca9] | 21 | <itemizedlist>
|
---|
[7686ca6] | 22 |
|
---|
[3443abb] | 23 | <listitem><para>A text mode browser such as <ulink revision="sysv"
|
---|
| 24 | url='&blfs-book;basicnet/lynx.html'>Lynx</ulink><ulink revision="systemd"
|
---|
| 25 | url='&blfs-systemd-book;basicnet/lynx.html'>Lynx</ulink>
|
---|
[eec1ca9] | 26 | will allow you to easily view the BLFS book in one virtual terminal, while
|
---|
| 27 | building packages in another.</para></listitem>
|
---|
| 28 |
|
---|
[3443abb] | 29 | <listitem><para>The <ulink revision="sysv"
|
---|
| 30 | url='&blfs-book;postlfs/make-ca.html'>make-ca</ulink><ulink revision="systemd"
|
---|
| 31 | url='&blfs-systemd-book;postlfs/make-ca.html'>make-ca</ulink> package
|
---|
[af548cd] | 32 | will allow you to set up local trusted anchor certificates, allowing
|
---|
| 33 | the system to verify SSL certificates provided by remote servers (for
|
---|
| 34 | example, a website using HTTPS).</para></listitem>
|
---|
| 35 |
|
---|
[3443abb] | 36 | <listitem><para>The <ulink revision="sysv"
|
---|
| 37 | url='&blfs-book;general/gpm.html'>GPM</ulink><ulink revision="systemd"
|
---|
| 38 | url='&blfs-systemd-book;general/gpm.html'>GPM</ulink> package will allow
|
---|
[eec1ca9] | 39 | you to perform copy/paste actions in your virtual
|
---|
| 40 | terminals.</para></listitem>
|
---|
| 41 |
|
---|
[ec3d6a2] | 42 | <listitem revision="sysv"><para>
|
---|
| 43 | If you are in a situation where static IP configuration
|
---|
[eec1ca9] | 44 | does not meet your networking requirements, installing a package
|
---|
[0ee07e5] | 45 | such as <ulink url='&blfs-book;basicnet/dhcpcd.html'>dhcpcd</ulink>
|
---|
[eec1ca9] | 46 | or the client portion of <ulink
|
---|
[0ee07e5] | 47 | url='&blfs-book;basicnet/dhcp.html'>dhcp</ulink> may be
|
---|
[eec1ca9] | 48 | useful.</para></listitem>
|
---|
| 49 |
|
---|
[3443abb] | 50 | <listitem><para>Installing <ulink revision="sysv"
|
---|
| 51 | url='&blfs-book;postlfs/sudo.html'>sudo</ulink><ulink revision="systemd"
|
---|
| 52 | url='&blfs-systemd-book;postlfs/sudo.html'>sudo</ulink> may be useful for
|
---|
[eec1ca9] | 53 | building packages as a non-root user and easily installing the resulting
|
---|
[3443abb] | 54 | packages in your new system.</para></listitem>
|
---|
[eec1ca9] | 55 |
|
---|
| 56 | <listitem><para>If you want to access your new system from a remote system
|
---|
[3443abb] | 57 | within a comfortable GUI environment, install <ulink revision="sysv"
|
---|
| 58 | url='&blfs-book;postlfs/openssh.html'>openssh</ulink><ulink revision="systemd"
|
---|
| 59 | url='&blfs-systemd-book;postlfs/openssh.html'>openssh</ulink>.
|
---|
[eec1ca9] | 60 | </para></listitem>
|
---|
| 61 |
|
---|
[2ca8941] | 62 | <listitem><para>To make fetching files over the internet easier, install
|
---|
[3443abb] | 63 | <ulink revision="sysv" url='&blfs-book;basicnet/wget.html'>wget</ulink>
|
---|
| 64 | <ulink revision="systemd" url='&blfs-systemd-book;basicnet/wget.html'>wget</ulink>.
|
---|
[86b1ebc] | 65 | </para></listitem>
|
---|
| 66 |
|
---|
[3089d45] | 67 | <listitem><para>To connect to a wireless access point for networking,
|
---|
[3443abb] | 68 | install <ulink revision="sysv"
|
---|
| 69 | url='&blfs-book;basicnet/wpa_supplicant.html'>wpa_supplicant</ulink><ulink
|
---|
| 70 | revision="systemd"
|
---|
| 71 | url='&blfs-systemd-book;basicnet/wpa_supplicant.html'>wpa_supplicant</ulink>.
|
---|
[3089d45] | 72 | </para></listitem>
|
---|
| 73 |
|
---|
[2ca8941] | 74 | <listitem><para>Finally, a review of the following configuration files
|
---|
[3443abb] | 75 | is also appropriate at this point.</para>
|
---|
[eec1ca9] | 76 |
|
---|
[86b1ebc] | 77 | <itemizedlist>
|
---|
| 78 | <listitem><para>/etc/bashrc </para></listitem>
|
---|
| 79 | <listitem><para>/etc/dircolors </para></listitem>
|
---|
| 80 | <listitem><para>/etc/fstab </para></listitem>
|
---|
| 81 | <listitem><para>/etc/hosts </para></listitem>
|
---|
| 82 | <listitem><para>/etc/inputrc </para></listitem>
|
---|
| 83 | <listitem><para>/etc/profile </para></listitem>
|
---|
| 84 | <listitem><para>/etc/resolv.conf </para></listitem>
|
---|
| 85 | <listitem><para>/etc/vimrc </para></listitem>
|
---|
| 86 | <listitem><para>/root/.bash_profile </para></listitem>
|
---|
| 87 | <listitem><para>/root/.bashrc </para></listitem>
|
---|
[1118b17] | 88 | <listitem revision="sysv"><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
|
---|
[86b1ebc] | 89 | </itemizedlist>
|
---|
| 90 | </listitem>
|
---|
[eec1ca9] | 91 | </itemizedlist>
|
---|
[7686ca6] | 92 |
|
---|
[15458da] | 93 | <para>Now that we have said that, let's move on to booting our shiny new LFS
|
---|
[7686ca6] | 94 | installation for the first time! First exit from the chroot environment:</para>
|
---|
[81fd230] | 95 |
|
---|
[a910344] | 96 | <screen><userinput>logout</userinput></screen>
|
---|
| 97 |
|
---|
[1f0565a] | 98 | <para>Unmount the LFS file system hierarchy:</para>
|
---|
[81fd230] | 99 |
|
---|
[1f0565a] | 100 | <screen><userinput>umount -Rv $LFS</userinput></screen>
|
---|
[37b5ac1] | 101 |
|
---|
[7686ca6] | 102 | <para>Now, reboot the system with:</para>
|
---|
[81fd230] | 103 |
|
---|
[8573b93] | 104 | <screen role="nodump"><userinput>shutdown -r now</userinput></screen>
|
---|
[5ba7054] | 105 |
|
---|
[7686ca6] | 106 | <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
|
---|
| 107 | is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
|
---|
[81fd230] | 108 |
|
---|
[7686ca6] | 109 | <para>When the reboot is complete, the LFS system is ready for use and
|
---|
| 110 | more software may be added to suit your needs.</para>
|
---|
[81fd230] | 111 |
|
---|
[5ba7054] | 112 | </sect1>
|
---|