[bf8c11f] | 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>Stop the <command>udevd</command> daemon that Udev started earlier, |
---|
| 35 | then unmount the virtual files systems:</para> |
---|
| 36 | |
---|
| 37 | <screen><userinput>pkill udevd |
---|
| 38 | umount $LFS/dev/pts |
---|
| 39 | umount $LFS/dev/shm |
---|
| 40 | umount $LFS/dev |
---|
| 41 | umount $LFS/proc |
---|
| 42 | umount $LFS/sys</userinput></screen> |
---|
| 43 | |
---|
| 44 | <para>Unmount the LFS file system itself:</para> |
---|
| 45 | |
---|
| 46 | <screen><userinput>umount $LFS</userinput></screen> |
---|
| 47 | |
---|
| 48 | <para>If multiple partitions were created, unmount the other |
---|
| 49 | partitions before unmounting the main one, like this:</para> |
---|
| 50 | |
---|
| 51 | <screen><userinput>umount $LFS/usr |
---|
| 52 | umount $LFS/home |
---|
| 53 | umount $LFS</userinput></screen> |
---|
| 54 | |
---|
| 55 | <para>Now, reboot the system with:</para> |
---|
| 56 | |
---|
| 57 | <screen><userinput>shutdown -r now</userinput></screen> |
---|
| 58 | |
---|
| 59 | <para>Assuming the boot loader was set up as outlined earlier, |
---|
| 60 | <emphasis>LFS &version;</emphasis> will boot automatically.</para> |
---|
| 61 | |
---|
| 62 | <para>When the reboot is complete, the LFS system is ready for use and |
---|
| 63 | more software may be added to suit your needs.</para> |
---|
| 64 | |
---|
| 65 | </sect1> |
---|