aboutsummaryrefslogtreecommitdiffstats
path: root/chapter09/reboot.xml
blob: e6a5e63eb91b4a6a5707d34fcb383b26d4b247e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../general.ent">
  %general-entities;
]>
<sect1 id="ch-finish-reboot">
<title>Rebooting the System</title>
<?dbhtml filename="reboot.html"?>

<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.  Installing a text mode web
browser, such as Lynx, you can easily view the BLFS book in one virtual
terminal, while building packages in another.  The GPM package will also allow
you to perform copy/paste actions in your virtual terminals.  Lastly, if you
are in a situation where static IP configuration does not meet your networking
requirements, installing packages such as Dhcpcd or PPP at this point might
also be useful.</para> 


<para>Now that we have said that, lets move on to booting our shiny new LFS
installation for the first time! First exit from the chroot environment:</para>

<screen><userinput>logout</userinput></screen>

<para>Stop the <command>udevd</command> daemon that Udev started earlier, then unmount the virtual files systems:</para>

<screen><userinput>pkill udevd
umount $LFS/dev/pts
umount $LFS/dev/shm
umount $LFS/dev
umount $LFS/proc
umount $LFS/sys</userinput></screen>    

<para>Unmount the LFS file system itself:</para>

<screen><userinput>umount $LFS</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 $LFS/usr
umount $LFS/home
umount $LFS</userinput></screen>

<para>Now, reboot the system with:</para>

<screen role="nodump"><userinput>shutdown -r now</userinput></screen>

<para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>

<para>When the reboot is complete, the LFS system is ready for use and
more software may be added to suit your needs.</para>

</sect1>