1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/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 | <warning>
|
---|
14 | <para>The instructions found in this section are applicable only if you
|
---|
15 | build the final system following the chroot way.</para>
|
---|
16 | </warning>
|
---|
17 |
|
---|
18 | <para>Now that all of the software has been installed, it is time to
|
---|
19 | reboot your computer. However, you should be aware of a few things.
|
---|
20 | The system you have created in this book is quite minimal, and most
|
---|
21 | likely will not have the functionality you would need to be able to
|
---|
22 | continue forward. By installing a few extra packages from the BLFS
|
---|
23 | book while still in our current chroot environment, you can leave
|
---|
24 | yourself in a much better position to continue on once you reboot
|
---|
25 | into your new LFS installation. Installing a text mode web browser,
|
---|
26 | such as Lynx, you can easily view the BLFS book in one virtual terminal,
|
---|
27 | while building packages in another. The GPM package will also allow you
|
---|
28 | to perform copy/paste actions in your virtual terminals. Lastly, if you
|
---|
29 | are in a situation where static IP configuration does not meet your
|
---|
30 | networking requirements, installing packages such as Dhcpcd or PPP at
|
---|
31 | this point might also be useful.</para>
|
---|
32 |
|
---|
33 | <para>Now that we have said that, lets move on to booting our shiny
|
---|
34 | new LFS installation for the first time! First exit from the chroot
|
---|
35 | environment:</para>
|
---|
36 |
|
---|
37 | <screen><userinput>logout</userinput></screen>
|
---|
38 |
|
---|
39 | <para>Then unmount the virtual file systems:</para>
|
---|
40 |
|
---|
41 | <screen><userinput>umount $LFS/dev/pts
|
---|
42 | umount $LFS/dev/shm
|
---|
43 | umount $LFS/dev
|
---|
44 | umount $LFS/proc
|
---|
45 | umount $LFS/sys</userinput></screen>
|
---|
46 |
|
---|
47 | <para>Unmount the LFS file system itself:</para>
|
---|
48 |
|
---|
49 | <screen><userinput>umount $LFS</userinput></screen>
|
---|
50 |
|
---|
51 | <para>If multiple partitions were created, unmount the other
|
---|
52 | partitions before unmounting the main one, like this:</para>
|
---|
53 |
|
---|
54 | <screen><userinput>umount $LFS/usr
|
---|
55 | umount $LFS/home
|
---|
56 | umount $LFS</userinput></screen>
|
---|
57 |
|
---|
58 | <para>Now, reboot the system with:</para>
|
---|
59 |
|
---|
60 | <screen><userinput>shutdown -r now</userinput></screen>
|
---|
61 |
|
---|
62 | <para>Assuming the boot loader was set up as outlined earlier,
|
---|
63 | <emphasis>LFS &version;</emphasis> will boot automatically.</para>
|
---|
64 |
|
---|
65 | <para>When the reboot is complete, the LFS system is ready for use and
|
---|
66 | more software may be added to suit your needs.</para>
|
---|
67 |
|
---|
68 | </sect1>
|
---|