2004-05-03 11:59:46 +01:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-03-21 18:42:58 +00:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2004-05-03 11:59:46 +01:00
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
]>
|
2005-12-18 13:13:31 +00:00
|
|
|
|
2004-01-27 22:29:49 +00:00
|
|
|
<sect1 id="ch-finish-reboot">
|
2005-12-18 13:13:31 +00:00
|
|
|
<?dbhtml filename="reboot.html"?>
|
|
|
|
|
|
|
|
<title>Rebooting the System</title>
|
|
|
|
|
|
|
|
<para>Now that all of the software has been installed, it is time to reboot
|
|
|
|
your computer. However, you should be aware of a few things. The system you
|
|
|
|
have created in this book is quite minimal, and most likely will not have
|
|
|
|
the functionality you would need to be able to continue forward. By installing
|
|
|
|
a few extra packages from the BLFS book while still in our current chroot
|
|
|
|
environment, you can leave yourself in a much better position to continue on
|
2013-01-01 22:17:51 +00:00
|
|
|
once you reboot into your new LFS installation. Here are some suggestions:</para>
|
2013-02-11 20:09:22 +00:00
|
|
|
|
2013-01-01 22:17:51 +00:00
|
|
|
<itemizedlist>
|
2005-12-18 13:13:31 +00:00
|
|
|
|
2021-09-01 10:22:25 +01:00
|
|
|
<listitem><para>A text mode browser such as <ulink
|
|
|
|
url='&blfs-book;basicnet/lynx.html'>Lynx</ulink>
|
2013-01-01 22:17:51 +00:00
|
|
|
will allow you to easily view the BLFS book in one virtual terminal, while
|
|
|
|
building packages in another.</para></listitem>
|
|
|
|
|
2021-09-01 10:22:25 +01:00
|
|
|
<listitem><para>The <ulink
|
|
|
|
url='&blfs-book;postlfs/make-ca.html'>make-ca</ulink> package
|
2021-04-24 15:22:08 +01:00
|
|
|
will allow you to set up local trusted anchor certificates, allowing
|
|
|
|
the system to verify SSL certificates provided by remote servers (for
|
|
|
|
example, a website using HTTPS).</para></listitem>
|
|
|
|
|
2021-09-01 10:22:25 +01:00
|
|
|
<listitem><para>The <ulink
|
|
|
|
url='&blfs-book;general/gpm.html'>GPM</ulink> package will allow
|
2013-01-01 22:17:51 +00:00
|
|
|
you to perform copy/paste actions in your virtual
|
|
|
|
terminals.</para></listitem>
|
|
|
|
|
2021-08-19 18:20:39 +01:00
|
|
|
<listitem revision="sysv"><para>
|
|
|
|
If you are in a situation where static IP configuration
|
2013-01-01 22:17:51 +00:00
|
|
|
does not meet your networking requirements, installing a package
|
2015-01-23 21:28:48 +00:00
|
|
|
such as <ulink url='&blfs-book;basicnet/dhcpcd.html'>dhcpcd</ulink>
|
2013-01-01 22:17:51 +00:00
|
|
|
or the client portion of <ulink
|
2015-01-23 21:28:48 +00:00
|
|
|
url='&blfs-book;basicnet/dhcp.html'>dhcp</ulink> may be
|
2013-01-01 22:17:51 +00:00
|
|
|
useful.</para></listitem>
|
|
|
|
|
2021-09-01 10:22:25 +01:00
|
|
|
<listitem><para>Installing <ulink
|
|
|
|
url='&blfs-book;postlfs/sudo.html'>sudo</ulink> may be useful for
|
2022-04-21 07:12:43 +01:00
|
|
|
building packages as a non-&root; user and easily installing the
|
|
|
|
resulting packages in your new system.</para></listitem>
|
2013-01-01 22:17:51 +00:00
|
|
|
|
|
|
|
<listitem><para>If you want to access your new system from a remote system
|
2021-09-01 10:22:25 +01:00
|
|
|
within a comfortable GUI environment, install <ulink
|
|
|
|
url='&blfs-book;postlfs/openssh.html'>openssh</ulink>.</para></listitem>
|
2013-01-01 22:17:51 +00:00
|
|
|
|
2013-02-11 20:09:22 +00:00
|
|
|
<listitem><para>To make fetching files over the internet easier, install
|
2021-09-01 10:22:25 +01:00
|
|
|
<ulink url='&blfs-book;basicnet/wget.html'>wget</ulink>.</para></listitem>
|
2013-01-09 18:55:19 +00:00
|
|
|
|
2021-08-19 18:24:56 +01:00
|
|
|
<listitem><para>To connect to a wireless access point for networking,
|
2021-09-01 10:22:25 +01:00
|
|
|
install <ulink
|
|
|
|
url='&blfs-book;basicnet/wpa_supplicant.html'>wpa_supplicant</ulink>.
|
2021-08-19 18:24:56 +01:00
|
|
|
</para></listitem>
|
|
|
|
|
2013-02-11 20:09:22 +00:00
|
|
|
<listitem><para>Finally, a review of the following configuration files
|
2021-09-01 07:33:34 +01:00
|
|
|
is also appropriate at this point.</para>
|
2013-01-01 22:17:51 +00:00
|
|
|
|
2013-01-09 18:55:19 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem><para>/etc/bashrc </para></listitem>
|
|
|
|
<listitem><para>/etc/dircolors </para></listitem>
|
|
|
|
<listitem><para>/etc/fstab </para></listitem>
|
|
|
|
<listitem><para>/etc/hosts </para></listitem>
|
|
|
|
<listitem><para>/etc/inputrc </para></listitem>
|
|
|
|
<listitem><para>/etc/profile </para></listitem>
|
|
|
|
<listitem><para>/etc/resolv.conf </para></listitem>
|
|
|
|
<listitem><para>/etc/vimrc </para></listitem>
|
|
|
|
<listitem><para>/root/.bash_profile </para></listitem>
|
|
|
|
<listitem><para>/root/.bashrc </para></listitem>
|
2016-05-24 22:24:59 +01:00
|
|
|
<listitem revision="sysv"><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
|
2013-01-09 18:55:19 +00:00
|
|
|
</itemizedlist>
|
|
|
|
</listitem>
|
2013-01-01 22:17:51 +00:00
|
|
|
</itemizedlist>
|
2005-12-18 13:13:31 +00:00
|
|
|
|
2014-03-07 22:45:44 +00:00
|
|
|
<para>Now that we have said that, let's move on to booting our shiny new LFS
|
2005-12-18 13:13:31 +00:00
|
|
|
installation for the first time! First exit from the chroot environment:</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2003-10-14 07:12:00 +01:00
|
|
|
<screen><userinput>logout</userinput></screen>
|
2021-11-01 17:05:41 +00:00
|
|
|
<!-- We need to show the user the details...
|
2021-02-27 04:45:36 +00:00
|
|
|
<para>Unmount the LFS file system hierarchy:</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2021-02-27 04:45:36 +00:00
|
|
|
<screen><userinput>umount -Rv $LFS</userinput></screen>
|
2021-11-01 17:05:41 +00:00
|
|
|
-->
|
|
|
|
|
|
|
|
<para>Then unmount the virtual file systems:</para>
|
|
|
|
|
|
|
|
<screen><userinput>umount -v $LFS/dev/pts
|
|
|
|
umount -v $LFS/dev
|
|
|
|
umount -v $LFS/run
|
|
|
|
umount -v $LFS/proc
|
|
|
|
umount -v $LFS/sys</userinput></screen>
|
|
|
|
|
|
|
|
<para>If multiple partitions were created, unmount the other
|
|
|
|
partitions before unmounting the main one, like this:</para>
|
|
|
|
|
|
|
|
<screen role="nodump"><userinput>umount -v $LFS/usr
|
|
|
|
umount -v $LFS/home
|
|
|
|
umount -v $LFS</userinput></screen>
|
|
|
|
|
|
|
|
<para>Unmount the LFS file system itself:</para>
|
|
|
|
|
|
|
|
<screen role="nodump"><userinput>umount -v $LFS</userinput></screen>
|
2020-06-12 23:03:30 +01:00
|
|
|
|
2005-12-18 13:13:31 +00:00
|
|
|
<para>Now, reboot the system with:</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2005-09-11 23:44:11 +01:00
|
|
|
<screen role="nodump"><userinput>shutdown -r now</userinput></screen>
|
2001-08-27 23:17:43 +01:00
|
|
|
|
2005-12-18 13:13:31 +00:00
|
|
|
<para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
|
|
|
|
is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2005-12-18 13:13:31 +00:00
|
|
|
<para>When the reboot is complete, the LFS system is ready for use and
|
|
|
|
more software may be added to suit your needs.</para>
|
2005-02-19 22:16:42 +00:00
|
|
|
|
2001-08-27 23:17:43 +01:00
|
|
|
</sect1>
|