[7152faa] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[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>
|
---|
[ea94a21] | 12 | <para>
|
---|
| 13 | Now that all of the software has been installed, it is time to reboot
|
---|
| 14 | your computer. However, there are still a few things to check.
|
---|
| 15 | Here are some suggestions:</para>
|
---|
[7686ca6] | 16 |
|
---|
[ea94a21] | 17 |
|
---|
| 18 | <!--
|
---|
| 19 | The system you
|
---|
[7686ca6] | 20 | have created in this book is quite minimal, and most likely will not have
|
---|
| 21 | the functionality you would need to be able to continue forward. By installing
|
---|
| 22 | a few extra packages from the BLFS book while still in our current chroot
|
---|
| 23 | environment, you can leave yourself in a much better position to continue on
|
---|
[eec1ca9] | 24 | once you reboot into your new LFS installation. Here are some suggestions:</para>
|
---|
[ea94a21] | 25 | -->
|
---|
[eec1ca9] | 26 | <itemizedlist>
|
---|
[ea94a21] | 27 | <!--
|
---|
[d735604] | 28 | <listitem><para>A text mode browser such as <ulink
|
---|
| 29 | url='&blfs-book;basicnet/lynx.html'>Lynx</ulink>
|
---|
[eec1ca9] | 30 | will allow you to easily view the BLFS book in one virtual terminal, while
|
---|
| 31 | building packages in another.</para></listitem>
|
---|
| 32 |
|
---|
[d735604] | 33 | <listitem><para>The <ulink
|
---|
| 34 | url='&blfs-book;postlfs/make-ca.html'>make-ca</ulink> package
|
---|
[af548cd] | 35 | will allow you to set up local trusted anchor certificates, allowing
|
---|
| 36 | the system to verify SSL certificates provided by remote servers (for
|
---|
| 37 | example, a website using HTTPS).</para></listitem>
|
---|
| 38 |
|
---|
[d735604] | 39 | <listitem><para>The <ulink
|
---|
| 40 | url='&blfs-book;general/gpm.html'>GPM</ulink> package will allow
|
---|
[eec1ca9] | 41 | you to perform copy/paste actions in your virtual
|
---|
| 42 | terminals.</para></listitem>
|
---|
| 43 |
|
---|
[ec3d6a2] | 44 | <listitem revision="sysv"><para>
|
---|
| 45 | If you are in a situation where static IP configuration
|
---|
[eec1ca9] | 46 | does not meet your networking requirements, installing a package
|
---|
[0ee07e5] | 47 | such as <ulink url='&blfs-book;basicnet/dhcpcd.html'>dhcpcd</ulink>
|
---|
[eec1ca9] | 48 | or the client portion of <ulink
|
---|
[0ee07e5] | 49 | url='&blfs-book;basicnet/dhcp.html'>dhcp</ulink> may be
|
---|
[eec1ca9] | 50 | useful.</para></listitem>
|
---|
| 51 |
|
---|
[d735604] | 52 | <listitem><para>Installing <ulink
|
---|
| 53 | url='&blfs-book;postlfs/sudo.html'>sudo</ulink> may be useful for
|
---|
[e286d8db] | 54 | building packages as a non-&root; user and easily installing the
|
---|
| 55 | resulting packages in your new system.</para></listitem>
|
---|
[eec1ca9] | 56 |
|
---|
| 57 | <listitem><para>If you want to access your new system from a remote system
|
---|
[d735604] | 58 | within a comfortable GUI environment, install <ulink
|
---|
| 59 | url='&blfs-book;postlfs/openssh.html'>openssh</ulink>.</para></listitem>
|
---|
[eec1ca9] | 60 |
|
---|
[2ca8941] | 61 | <listitem><para>To make fetching files over the internet easier, install
|
---|
[d735604] | 62 | <ulink url='&blfs-book;basicnet/wget.html'>wget</ulink>.</para></listitem>
|
---|
[86b1ebc] | 63 |
|
---|
[3089d45] | 64 | <listitem><para>To connect to a wireless access point for networking,
|
---|
[d735604] | 65 | install <ulink
|
---|
| 66 | url='&blfs-book;basicnet/wpa_supplicant.html'>wpa_supplicant</ulink>.
|
---|
[3089d45] | 67 | </para></listitem>
|
---|
[ea94a21] | 68 | -->
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Install any <ulink
|
---|
| 72 | url='&blfs-book;postlfs/firmware.html'>firmware</ulink> needed if the
|
---|
| 73 | kernel driver for your hardware requires some firmware files to function
|
---|
| 74 | properly.
|
---|
| 75 | </para>
|
---|
| 76 | </listitem>
|
---|
[3089d45] | 77 |
|
---|
[5fa9f630] | 78 | <listitem>
|
---|
| 79 | <para>
|
---|
[23a6c4c] | 80 | Ensure a password is set for the &root; user.
|
---|
[5fa9f630] | 81 | </para>
|
---|
| 82 | </listitem>
|
---|
| 83 |
|
---|
[ea94a21] | 84 | <listitem>
|
---|
| 85 | <para>
|
---|
[6d60bfc] | 86 | A review of the following configuration files
|
---|
[ea94a21] | 87 | is also appropriate at this point.
|
---|
| 88 | </para>
|
---|
[eec1ca9] | 89 |
|
---|
[86b1ebc] | 90 | <itemizedlist>
|
---|
| 91 | <listitem><para>/etc/bashrc </para></listitem>
|
---|
| 92 | <listitem><para>/etc/dircolors </para></listitem>
|
---|
| 93 | <listitem><para>/etc/fstab </para></listitem>
|
---|
| 94 | <listitem><para>/etc/hosts </para></listitem>
|
---|
| 95 | <listitem><para>/etc/inputrc </para></listitem>
|
---|
| 96 | <listitem><para>/etc/profile </para></listitem>
|
---|
| 97 | <listitem><para>/etc/resolv.conf </para></listitem>
|
---|
| 98 | <listitem><para>/etc/vimrc </para></listitem>
|
---|
| 99 | <listitem><para>/root/.bash_profile </para></listitem>
|
---|
| 100 | <listitem><para>/root/.bashrc </para></listitem>
|
---|
[1118b17] | 101 | <listitem revision="sysv"><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
|
---|
[86b1ebc] | 102 | </itemizedlist>
|
---|
| 103 | </listitem>
|
---|
[eec1ca9] | 104 | </itemizedlist>
|
---|
[7686ca6] | 105 |
|
---|
[15458da] | 106 | <para>Now that we have said that, let's move on to booting our shiny new LFS
|
---|
[ea94a21] | 107 | installation for the first time! <emphasis>First exit from the chroot
|
---|
| 108 | environment</emphasis>:</para>
|
---|
[81fd230] | 109 |
|
---|
[a910344] | 110 | <screen><userinput>logout</userinput></screen>
|
---|
[ea94a21] | 111 | <!-- We need to show the user the details...-->
|
---|
[56587fc] | 112 |
|
---|
| 113 | <para>Then unmount the virtual file systems:</para>
|
---|
| 114 |
|
---|
| 115 | <screen><userinput>umount -v $LFS/dev/pts
|
---|
[e0a9427] | 116 | mountpoint -q $LFS/dev/shm && umount -v $LFS/dev/shm
|
---|
[56587fc] | 117 | umount -v $LFS/dev
|
---|
| 118 | umount -v $LFS/run
|
---|
| 119 | umount -v $LFS/proc
|
---|
| 120 | umount -v $LFS/sys</userinput></screen>
|
---|
| 121 |
|
---|
| 122 | <para>If multiple partitions were created, unmount the other
|
---|
| 123 | partitions before unmounting the main one, like this:</para>
|
---|
| 124 |
|
---|
[ea94a21] | 125 | <screen role="nodump"><userinput>umount -v $LFS/home
|
---|
[56587fc] | 126 | umount -v $LFS</userinput></screen>
|
---|
| 127 |
|
---|
| 128 | <para>Unmount the LFS file system itself:</para>
|
---|
| 129 |
|
---|
| 130 | <screen role="nodump"><userinput>umount -v $LFS</userinput></screen>
|
---|
[37b5ac1] | 131 |
|
---|
[6d60bfc] | 132 | <para>Now, reboot the system.</para>
|
---|
[81fd230] | 133 |
|
---|
[5f85f38] | 134 | <!-- Commented out because we don't have a host system requirement on
|
---|
| 135 | its init, and different init system may recommend different commands
|
---|
| 136 | for reboot. -->
|
---|
[6d60bfc] | 137 | <!--<screen role="nodump"><userinput>shutdown -r now</userinput></screen>-->
|
---|
[5ba7054] | 138 |
|
---|
[7686ca6] | 139 | <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
|
---|
| 140 | is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
|
---|
[81fd230] | 141 |
|
---|
[5fa9f630] | 142 | <para>When the reboot is complete, the LFS system is ready for use. What you
|
---|
| 143 | will see is a simple <quote>login: </quote> prompt. At this point, you can
|
---|
[23a6c4c] | 144 | proceed to <ulink url="&blfs-book;">the BLFS Book</ulink>
|
---|
[5fa9f630] | 145 | where you can add more software to suit your needs.</para>
|
---|
| 146 |
|
---|
| 147 | <para>
|
---|
| 148 | If your reboot is <emphasis role="bold">not</emphasis> successful, it
|
---|
[e2df643] | 149 | is time to troubleshoot. For hints on solving initial booting problems, see
|
---|
[5fa9f630] | 150 | <ulink url="https://www.linuxfromscratch.org/lfs/troubleshooting.html"/>.
|
---|
| 151 | </para>
|
---|
[81fd230] | 152 |
|
---|
[5ba7054] | 153 | </sect1>
|
---|