[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[3be4d97] | 6 | <sect1 id="ch-finish-reboot">
|
---|
[69993f4] | 7 | <title>Rebooting the System</title>
|
---|
[673b0d8] | 8 | <?dbhtml filename="reboot.html"?>
|
---|
[5ba7054] | 9 |
|
---|
[dbc195c] | 10 | <para>Now that all of the software has been installed, it is time to
|
---|
| 11 | reboot the computer. First exit from the chroot environment:</para>
|
---|
[5ba7054] | 12 |
|
---|
[a910344] | 13 | <screen><userinput>logout</userinput></screen>
|
---|
| 14 |
|
---|
[e421d2e] | 15 | <para>Then unmount the virtual files systems:</para>
|
---|
| 16 |
|
---|
[db9d773c] | 17 | <screen><userinput>umount $LFS/dev/pts
|
---|
[9dfc02f] | 18 | umount $LFS/dev/shm
|
---|
| 19 | umount $LFS/dev
|
---|
| 20 | umount $LFS/proc
|
---|
| 21 | umount $LFS/sys</userinput></screen>
|
---|
[e421d2e] | 22 |
|
---|
[69993f4] | 23 | <para>Unmount the LFS file system itself:</para>
|
---|
[a910344] | 24 |
|
---|
| 25 | <screen><userinput>umount $LFS</userinput></screen>
|
---|
[3ddb615] | 26 |
|
---|
[dbc195c] | 27 | <para>If multiple partitions were created, unmount the other
|
---|
| 28 | partitions before unmounting the main one, like this:</para>
|
---|
[3ddb615] | 29 |
|
---|
[a910344] | 30 | <screen><userinput>umount $LFS/usr
|
---|
[4a7a683] | 31 | umount $LFS/home
|
---|
[21ba4e3] | 32 | umount $LFS</userinput></screen>
|
---|
[5ba7054] | 33 |
|
---|
[69993f4] | 34 | <para>Now, reboot the system with:</para>
|
---|
[5ba7054] | 35 |
|
---|
[f89de33] | 36 | <screen><userinput>shutdown -r now</userinput></screen>
|
---|
[5ba7054] | 37 |
|
---|
[fb34768] | 38 | <para>Assuming the Grub boot loader was set up as outlined earlier, the menu
|
---|
[dbc195c] | 39 | is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
|
---|
[5ba7054] | 40 |
|
---|
[dbc195c] | 41 | <para>When the reboot is complete, the LFS system is ready for use and
|
---|
| 42 | software can be added.</para>
|
---|
[5ba7054] | 43 |
|
---|
| 44 | </sect1>
|
---|
[dbc195c] | 45 |
|
---|