[d784602] | 1 | <sect1 id="ch09-reboot">
|
---|
[5ba7054] | 2 | <title>Rebooting the system</title>
|
---|
[e12115e] | 3 | <?dbhtml filename="reboot.html" dir="chapter09"?>
|
---|
[5ba7054] | 4 |
|
---|
[a910344] | 5 | <para>Now that all of the software has been installed, it's time to exit the
|
---|
| 6 | chroot environment and reboot the computer. Before we exit the chroot
|
---|
| 7 | environment, let's unmount any mounted virtual file systems by running:</para>
|
---|
[5ba7054] | 8 |
|
---|
[a910344] | 9 | <screen><userinput>umount /proc
|
---|
| 10 | umount /dev/pts</userinput></screen>
|
---|
| 11 |
|
---|
| 12 | <para>Exit the chroot environment:</para>
|
---|
| 13 | <screen><userinput>logout</userinput></screen>
|
---|
| 14 |
|
---|
[821f799] | 15 | <para>Additionally, now that all software has been installed, there is no longer
|
---|
| 16 | a need for the <filename class="directory">/tools</filename> directory. You may
|
---|
| 17 | delete it. As this will also remove the temporary copies of Tcl, Expect and
|
---|
| 18 | DejaGnu, which were used for running the toolchain tests, you will need to
|
---|
| 19 | recompile and re-install them on your LFS system if you want to use these
|
---|
| 20 | programs later.</para>
|
---|
| 21 |
|
---|
| 22 | <para>Also you may now want to move the contents of
|
---|
| 23 | <filename class="directory">/sources</filename> to
|
---|
| 24 | <filename class="directory">/usr/src/packages</filename> or something similar
|
---|
| 25 | (or simply delete them if you've burned them on a CD) and delete the
|
---|
| 26 | directory.</para>
|
---|
| 27 |
|
---|
[a910344] | 28 | <para>Before we reboot, let's unmount the LFS partition itself:</para>
|
---|
| 29 |
|
---|
| 30 | <screen><userinput>umount $LFS</userinput></screen>
|
---|
[3ddb615] | 31 |
|
---|
[a910344] | 32 | <para>If you earlier decided to create multiple partitions, you'll need to
|
---|
| 33 | unmount the other partitions before you unmount $LFS, like this:</para>
|
---|
[3ddb615] | 34 |
|
---|
[a910344] | 35 | <screen><userinput>umount $LFS/usr
|
---|
[4a7a683] | 36 | umount $LFS/home
|
---|
[21ba4e3] | 37 | umount $LFS</userinput></screen>
|
---|
[5ba7054] | 38 |
|
---|
[a910344] | 39 | <para>And now you can reboot your system by running something like:</para>
|
---|
[5ba7054] | 40 |
|
---|
[21ba4e3] | 41 | <screen><userinput>/sbin/shutdown -r now</userinput></screen>
|
---|
[5ba7054] | 42 |
|
---|
[821f799] | 43 | <para>Assuming the Grub boot loader was set up as outlined earlier, the
|
---|
| 44 | default menu should be set to boot <emphasis>LFS &milestone;</emphasis>
|
---|
| 45 | automatically.</para>
|
---|
[5ba7054] | 46 |
|
---|
| 47 | <para>After you have rebooted, your LFS system is ready for use and you
|
---|
| 48 | can start adding your own software.</para>
|
---|
| 49 |
|
---|
| 50 | </sect1>
|
---|