[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1770019] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[3be4d97] | 6 | <sect1 id="ch-finish-reboot">
|
---|
[bce08ef] | 7 | <title>Rebooting the System</title>
|
---|
[673b0d8] | 8 | <?dbhtml filename="reboot.html"?>
|
---|
[5ba7054] | 9 |
|
---|
[81fd230] | 10 | <para>Now that all of the software has been installed, it is time to reboot
|
---|
| 11 | your computer. However, you should be aware of a few things. The system you
|
---|
| 12 | have created in this book is quite minimal, and most likely will not have
|
---|
| 13 | the functionality you would need to be able to continue forward. By installing
|
---|
| 14 | a few extra packages from the BLFS book while still in our current chroot
|
---|
| 15 | environment, you can leave yourself in a much better position to continue on
|
---|
| 16 | once you reboot into your new LFS installation. Installing a text mode web
|
---|
| 17 | browser, such as Lynx, you can easily view the BLFS book in one virtual
|
---|
| 18 | terminal, while building packages in another. The GPM package will also allow
|
---|
| 19 | you to perform copy/paste actions in your virtual terminals. Lastly, if you
|
---|
| 20 | are in a situation where static IP configuration does not meet your networking
|
---|
[5d7361a] | 21 | requirements, installing packages such as Dhcpcd or PPP at this point might
|
---|
[81fd230] | 22 | also be useful.</para>
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | <para>Now that we have said that, lets move on to booting our shiny new LFS
|
---|
| 26 | installation for the first time! First exit from the chroot environment:</para>
|
---|
| 27 |
|
---|
[a910344] | 28 | <screen><userinput>logout</userinput></screen>
|
---|
| 29 |
|
---|
[81fd230] | 30 | <para>Then unmount the virtual files systems:</para>
|
---|
| 31 |
|
---|
[db9d773c] | 32 | <screen><userinput>umount $LFS/dev/pts
|
---|
[9dfc02f] | 33 | umount $LFS/dev/shm
|
---|
| 34 | umount $LFS/dev
|
---|
| 35 | umount $LFS/proc
|
---|
[81fd230] | 36 | umount $LFS/sys</userinput></screen>
|
---|
| 37 |
|
---|
| 38 | <para>Unmount the LFS file system itself:</para>
|
---|
[a910344] | 39 |
|
---|
| 40 | <screen><userinput>umount $LFS</userinput></screen>
|
---|
[3ddb615] | 41 |
|
---|
[1422130] | 42 | <para>If multiple partitions were created, unmount the other
|
---|
| 43 | partitions before unmounting the main one, like this:</para>
|
---|
[3ddb615] | 44 |
|
---|
[a910344] | 45 | <screen><userinput>umount $LFS/usr
|
---|
[4a7a683] | 46 | umount $LFS/home
|
---|
[21ba4e3] | 47 | umount $LFS</userinput></screen>
|
---|
[5ba7054] | 48 |
|
---|
[81fd230] | 49 | <para>Now, reboot the system with:</para>
|
---|
| 50 |
|
---|
[f89de33] | 51 | <screen><userinput>shutdown -r now</userinput></screen>
|
---|
[5ba7054] | 52 |
|
---|
[82fd24a] | 53 | <para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
|
---|
[81fd230] | 54 | is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
|
---|
| 55 |
|
---|
| 56 | <para>When the reboot is complete, the LFS system is ready for use and
|
---|
[68b786c] | 57 | more software may be added to suit your needs.</para>
|
---|
[81fd230] | 58 |
|
---|
[5ba7054] | 59 | </sect1>
|
---|
[81fd230] | 60 |
|
---|