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