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