123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
- "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
- <!ENTITY % general-entities SYSTEM "../general.ent">
- %general-entities;
- ]>
- <sect1 id="ch-finish-reboot">
- <?dbhtml filename="reboot.html"?>
- <title>重启系统</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
- once you reboot into your new LFS installation. Here are some suggestions:</para-->
- <para>现在已经安装好了本书中的所有软件,可以重新启动进入 LFS 了。
- 然而,您应该注意,按照本书的指令构建的系统是很小的,
- 可能会缺失一些功能,导致您无法继续使用系统。
- 通过在当前的 chroot 环境中安装一些额外的 BLFS 软件包,
- 您可以在重启进入新安装的 LFS 后更容易继续工作。
- 以下是一些建议安装的软件包:</para>
- <itemizedlist>
- <listitem><para>字符模式浏览器,例如 <ulink
- url='&blfs-book;basicnet/lynx.html'>Lynx</ulink>,
- 这样您可以在一个虚拟终端中阅读 BLFS 手册,
- 同时在另一个虚拟终端中构建 BLFS 软件包。</para></listitem>
- <listitem><para><ulink
- url='&blfs-book;general/gpm.html'>GPM</ulink>
- 软件包允许您在虚拟终端中进行复制粘贴操作。</para></listitem>
- <listitem><para>如果静态 IP 配置不符合您的网络环境要求,
- 安装 <ulink url='&blfs-book;basicnet/dhcpcd.html'>dhcpcd</ulink>
- 或 <ulink url='&blfs-book;basicnet/dhcp.html'>dhcp</ulink>
- 的客户端部分之类的软件包,用于 DHCP 客户端。</para></listitem>
- <listitem><para>安装 <ulink
- url='&blfs-book;postlfs/sudo.html'>sudo</ulink>,
- 这样就能以非 root 身份构建软件包,再很容易地切换到 root 身份进行安装。
- </para></listitem>
- <listitem><para>如果您想在拥有舒适的 GUI 环境的远程计算机访问新系统,
- 安装 <ulink
- url='&blfs-book;postlfs/openssh.html'>openssh</ulink>。
- </para></listitem>
- <listitem><para>为了更方便地从网络中下载文件,安装
- <ulink url='&blfs-book;basicnet/wget.html'>wget</ulink>。
- </para></listitem>
- <listitem><para>如果您有 GUID 分区表(GPT)磁盘,可能需要安装
- <ulink
- url='&blfs-book;postlfs/gptfdisk.html'>gptfdisk</ulink> 或者 <ulink
- url='&blfs-book;postlfs/parted.html'>parted</ulink> 。
- </para></listitem>
- <listitem><para>最后,再次检查以下配置文件:</para>
- <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>
- <listitem revision="sysv"><para>/etc/sysconfig/network </para></listitem>
- <listitem revision="sysv"><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
- </itemizedlist>
- </listitem>
- </itemizedlist>
- <!--para>Now that we have said that, let's move on to booting our shiny new LFS
- installation for the first time! First exit from the chroot environment:</para-->
- <para>现在,终于可以引导全新的 LFS 系统了!首先退出 chroot 环境:</para>
- <screen><userinput>logout</userinput></screen>
- <para>解挂虚拟文件系统:</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>解挂 LFS 文件系统:</para>
- <screen><userinput>umount -v $LFS</userinput></screen>
- <para>如果建立了多个挂载点,在解挂主挂载点 LFS 前,
- 先解挂其他挂载点:</para>
- <screen role="nodump"><userinput>umount -v $LFS/usr
- umount -v $LFS/home
- umount -v $LFS</userinput></screen>
- <para>重新启动系统:</para>
- <screen role="nodump"><userinput>shutdown -r now</userinput></screen>
- <para>如果 GRUB 引导加载器如前文所述安装并配置正确,
- 它应该会自动引导 <emphasis>LFS &version;</emphasis> 启动项。</para>
- <para>重启后,LFS 系统就可以使用了,您可以安装更多的软件包,
- 以满足自己的需求。</para>
- </sect1>
|