source: chapter11/reboot.xml@ 1203312

xry111/clfs-ng
Last change on this file since 1203312 was 1203312, checked in by Xi Ruoyao <xry111@…>, 20 months ago

Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

  • Property mode set to 100644
File size: 4.9 KB
Line 
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
8<sect1 id="ch-finish-reboot">
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
19 once you reboot into your new LFS installation. Here are some suggestions:</para>
20
21 <itemizedlist>
22
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>
27
28 <listitem><para>The <ulink
29 url='&blfs-book;postlfs/make-ca.html'>make-ca</ulink> package
30 will allow you to set up local trusted anchor certificates, allowing
31 the system to verify SSL certificates provided by remote servers (for
32 example, a website using HTTPS).</para></listitem>
33
34 <listitem><para>The <ulink
35 url='&blfs-book;general/gpm.html'>GPM</ulink> package will allow
36 you to perform copy/paste actions in your virtual
37 terminals.</para></listitem>
38
39 <listitem revision="sysv"><para>
40 If you are in a situation where static IP configuration
41 does not meet your networking requirements, installing a package
42 such as <ulink url='&blfs-book;basicnet/dhcpcd.html'>dhcpcd</ulink>
43 or the client portion of <ulink
44 url='&blfs-book;basicnet/dhcp.html'>dhcp</ulink> may be
45 useful.</para></listitem>
46
47 <listitem><para>Installing <ulink
48 url='&blfs-book;postlfs/sudo.html'>sudo</ulink> may be useful for
49 building packages as a non-&root; user and easily installing the
50 resulting packages in your new system.</para></listitem>
51
52 <listitem><para>If you want to access your new system from a remote system
53 within a comfortable GUI environment, install <ulink
54 url='&blfs-book;postlfs/openssh.html'>openssh</ulink>.</para></listitem>
55
56 <listitem><para>To make fetching files over the internet easier, install
57 <ulink url='&blfs-book;basicnet/wget.html'>wget</ulink>.</para></listitem>
58
59 <listitem><para>To connect to a wireless access point for networking,
60 install <ulink
61 url='&blfs-book;basicnet/wpa_supplicant.html'>wpa_supplicant</ulink>.
62 </para></listitem>
63
64 <listitem><para>Install <ulink
65 url='&blfs-book;postlfs/firmware.html'>firmwares</ulink> if the kernel
66 driver for your hardware require some firmware to function properly.
67 </para></listitem>
68
69 <listitem><para>Finally, a review of the following configuration files
70 is also appropriate at this point.</para>
71
72 <itemizedlist>
73 <listitem><para>/etc/bashrc </para></listitem>
74 <listitem><para>/etc/dircolors </para></listitem>
75 <listitem><para>/etc/fstab </para></listitem>
76 <listitem><para>/etc/hosts </para></listitem>
77 <listitem><para>/etc/inputrc </para></listitem>
78 <listitem><para>/etc/profile </para></listitem>
79 <listitem><para>/etc/resolv.conf </para></listitem>
80 <listitem><para>/etc/vimrc </para></listitem>
81 <listitem><para>/root/.bash_profile </para></listitem>
82 <listitem><para>/root/.bashrc </para></listitem>
83 <listitem revision="sysv"><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
84 </itemizedlist>
85 </listitem>
86 </itemizedlist>
87
88 <para>Now that we have said that, let's move on to booting our shiny new LFS
89 installation for the first time!</para>
90
91 <para>Unmount the boot partition:</para>
92
93<screen role="nodump"><userinput>umount /boot</userinput></screen>
94
95 <para>Synchronize cached writes to prevent data loss on reboot without a
96 fully functional <command>init</command> process:</para>
97
98<screen role="nodump"><userinput>sync</userinput></screen>
99
100 <para>Now, reboot the system with:</para>
101
102<screen role="nodump"><userinput>reboot -ff</userinput></screen>
103
104 <para><parameter>-ff</parameter> option allows to reboot the system
105 without support from the <command>init</command> process.</para>
106
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>
109
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>
112
113</sect1>
Note: See TracBrowser for help on using the repository browser.