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