[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 |
|
---|
[eec1ca9] | 23 | <listitem><para>A text mode browser such as <ulink
|
---|
[0ee07e5] | 24 | url='&blfs-book;basicnet/lynx.html'>Lynx</ulink>
|
---|
[eec1ca9] | 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
|
---|
[0ee07e5] | 29 | url='&blfs-book;general/gpm.html'>GPM</ulink> package will allow
|
---|
[eec1ca9] | 30 | you to perform copy/paste actions in your virtual
|
---|
| 31 | terminals.</para></listitem>
|
---|
| 32 |
|
---|
| 33 | <listitem><para>If you are in a situation where static IP configuration
|
---|
| 34 | does not meet your networking requirements, installing a package
|
---|
[0ee07e5] | 35 | such as <ulink url='&blfs-book;basicnet/dhcpcd.html'>dhcpcd</ulink>
|
---|
[eec1ca9] | 36 | or the client portion of <ulink
|
---|
[0ee07e5] | 37 | url='&blfs-book;basicnet/dhcp.html'>dhcp</ulink> may be
|
---|
[eec1ca9] | 38 | useful.</para></listitem>
|
---|
| 39 |
|
---|
| 40 | <listitem><para>Installing <ulink
|
---|
[0ee07e5] | 41 | url='&blfs-book;postlfs/sudo.html'>sudo</ulink> may be useful for
|
---|
[eec1ca9] | 42 | building packages as a non-root user and easily installing the resulting
|
---|
| 43 | packages in your new system. </para></listitem>
|
---|
| 44 |
|
---|
| 45 | <listitem><para>If you want to access your new system from a remote system
|
---|
| 46 | within a comfortable GUI environment, install <ulink
|
---|
[0ee07e5] | 47 | url='&blfs-book;postlfs/openssh.html'>openssh</ulink> and its
|
---|
[edbeeb5] | 48 | prerequisite, <ulink
|
---|
[0ee07e5] | 49 | url='&blfs-book;postlfs/openssl.html'>openssl</ulink>.
|
---|
[eec1ca9] | 50 | </para></listitem>
|
---|
| 51 |
|
---|
[2ca8941] | 52 | <listitem><para>To make fetching files over the internet easier, install
|
---|
[0ee07e5] | 53 | <ulink url='&blfs-book;basicnet/wget.html'>wget</ulink>.
|
---|
[86b1ebc] | 54 | </para></listitem>
|
---|
| 55 |
|
---|
[eec1ca9] | 56 | <listitem><para>If one or more of your disk drives have a GUID partition
|
---|
| 57 | table (GPT), either <ulink
|
---|
[0ee07e5] | 58 | url='&blfs-book;postlfs/gptfdisk.html'>gptfdisk</ulink> or <ulink
|
---|
| 59 | url='&blfs-book;postlfs/parted.html'>parted</ulink> will be useful.
|
---|
[eec1ca9] | 60 | </para></listitem>
|
---|
| 61 |
|
---|
[2ca8941] | 62 | <listitem><para>Finally, a review of the following configuration files
|
---|
[86b1ebc] | 63 | is also appropriate at this point. </para>
|
---|
[eec1ca9] | 64 |
|
---|
[86b1ebc] | 65 | <itemizedlist>
|
---|
| 66 | <listitem><para>/etc/bashrc </para></listitem>
|
---|
| 67 | <listitem><para>/etc/dircolors </para></listitem>
|
---|
| 68 | <listitem><para>/etc/fstab </para></listitem>
|
---|
| 69 | <listitem><para>/etc/hosts </para></listitem>
|
---|
| 70 | <listitem><para>/etc/inputrc </para></listitem>
|
---|
| 71 | <listitem><para>/etc/profile </para></listitem>
|
---|
| 72 | <listitem><para>/etc/resolv.conf </para></listitem>
|
---|
| 73 | <listitem><para>/etc/vimrc </para></listitem>
|
---|
| 74 | <listitem><para>/root/.bash_profile </para></listitem>
|
---|
| 75 | <listitem><para>/root/.bashrc </para></listitem>
|
---|
[1118b17] | 76 | <listitem revision="sysv"><para>/etc/sysconfig/network </para></listitem>
|
---|
| 77 | <listitem revision="sysv"><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
|
---|
[86b1ebc] | 78 | </itemizedlist>
|
---|
| 79 | </listitem>
|
---|
[eec1ca9] | 80 | </itemizedlist>
|
---|
[7686ca6] | 81 |
|
---|
[15458da] | 82 | <para>Now that we have said that, let's move on to booting our shiny new LFS
|
---|
[7686ca6] | 83 | installation for the first time! First exit from the chroot environment:</para>
|
---|
[81fd230] | 84 |
|
---|
[a910344] | 85 | <screen><userinput>logout</userinput></screen>
|
---|
| 86 |
|
---|
[f1994dc] | 87 | <para>Then unmount the virtual file systems:</para>
|
---|
[81fd230] | 88 |
|
---|
[1eeed22] | 89 | <screen><userinput>umount -v $LFS/dev/pts
|
---|
[5998892] | 90 | umount -v $LFS/dev
|
---|
[053b206] | 91 | umount -v $LFS/run
|
---|
[5998892] | 92 | umount -v $LFS/proc
|
---|
[7686ca6] | 93 | umount -v $LFS/sys</userinput></screen>
|
---|
[81fd230] | 94 |
|
---|
[7686ca6] | 95 | <para>Unmount the LFS file system itself:</para>
|
---|
[a910344] | 96 |
|
---|
[54f7e8d] | 97 | <screen><userinput>umount -v $LFS</userinput></screen>
|
---|
[3ddb615] | 98 |
|
---|
[7686ca6] | 99 | <para>If multiple partitions were created, unmount the other
|
---|
| 100 | partitions before unmounting the main one, like this:</para>
|
---|
[3ddb615] | 101 |
|
---|
[5998892] | 102 | <screen role="nodump"><userinput>umount -v $LFS/usr
|
---|
| 103 | umount -v $LFS/home
|
---|
| 104 | umount -v $LFS</userinput></screen>
|
---|
[5ba7054] | 105 |
|
---|
[7686ca6] | 106 | <para>Now, reboot the system with:</para>
|
---|
[81fd230] | 107 |
|
---|
[8573b93] | 108 | <screen role="nodump"><userinput>shutdown -r now</userinput></screen>
|
---|
[5ba7054] | 109 |
|
---|
[7686ca6] | 110 | <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
|
---|
| 111 | is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
|
---|
[81fd230] | 112 |
|
---|
[7686ca6] | 113 | <para>When the reboot is complete, the LFS system is ready for use and
|
---|
| 114 | more software may be added to suit your needs.</para>
|
---|
[81fd230] | 115 |
|
---|
[5ba7054] | 116 | </sect1>
|
---|