source: chapter09/reboot.xml@ 720f253

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since 720f253 was 720f253, checked in by Krejzi <krejzi@…>, 10 years ago

Some more fixes.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10479 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 4.8 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-root;/view/svn/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-root;/view/svn/general/gpm.html'>GPM</ulink> package will allow
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
35 such as <ulink url='&blfs-root;/view/svn/basicnet/dhcpcd.html'>dhcpcd</ulink>
36 or the client portion of <ulink
37 url='&blfs-root;/view/svn/basicnet/dhcp.html'>dhcp</ulink> may be
38 useful.</para></listitem>
39
40 <listitem><para>Installing <ulink
41 url='&blfs-root;/view/svn/postlfs/sudo.html'>sudo</ulink> may be useful for
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
47 url='&blfs-root;/view/svn/postlfs/openssh.html'>openssh</ulink> and it's
48 prerequsite, <ulink
49 url='&blfs-root;/view/svn/postlfs/openssl.html'>openssl</ulink>.
50 </para></listitem>
51
52 <listitem><para>To make fetching files over the internet easier, install
53 <ulink url='&blfs-root;/view/svn/basicnet/wget.html'>wget</ulink>.
54 </para></listitem>
55
56 <listitem><para>If one or more of your disk drives have a GUID partition
57 table (GPT), either <ulink
58 url='&blfs-root;/view/svn/postlfs/gptfdisk.html'>gptfdisk</ulink> or <ulink
59 url='&blfs-root;/view/svn/postlfs/parted.html'>parted</ulink> will be useful.
60 </para></listitem>
61
62 <listitem><para>Finally, a review of the following configuration files
63 is also appropriate at this point. </para>
64
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>
76 <listitem><para>/etc/sysconfig/ifconfig.eth0 </para></listitem>
77 </itemizedlist>
78 </listitem>
79 </itemizedlist>
80
81 <para>Now that we have said that, lets move on to booting our shiny new LFS
82 installation for the first time! First exit from the chroot environment:</para>
83
84<screen><userinput>logout</userinput></screen>
85
86 <para>Then unmount the virtual file systems:</para>
87
88<screen><userinput>umount -v $LFS/dev/pts
89umount -v $LFS/dev
90umount -v $LFS/run
91umount -v $LFS/proc
92umount -v $LFS/sys</userinput></screen>
93
94 <para>Unmount the LFS file system itself:</para>
95
96<screen><userinput>umount -v $LFS</userinput></screen>
97
98 <para>If multiple partitions were created, unmount the other
99 partitions before unmounting the main one, like this:</para>
100
101<screen role="nodump"><userinput>umount -v $LFS/usr
102umount -v $LFS/home
103umount -v $LFS</userinput></screen>
104
105 <para>Now, reboot the system with:</para>
106
107<screen role="nodump"><userinput>shutdown -r now</userinput></screen>
108
109 <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
110 is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
111
112 <para>When the reboot is complete, the LFS system is ready for use and
113 more software may be added to suit your needs.</para>
114
115</sect1>
Note: See TracBrowser for help on using the repository browser.