[d784602] | 1 | <sect1 id="ch09-reboot">
|
---|
[5ba7054] | 2 | <title>Rebooting the system</title>
|
---|
[e12115e] | 3 | <?dbhtml filename="reboot.html" dir="chapter09"?>
|
---|
[5ba7054] | 4 |
|
---|
| 5 | <para>Now that all software has been installed, bootscripts have been created,
|
---|
[70364ce] | 6 | it's time to reboot the computer. Before we reboot let's unmount
|
---|
| 7 | $LFS/proc and the LFS partition itself by running:</para>
|
---|
[5ba7054] | 8 |
|
---|
[3ddb615] | 9 | <para><screen><userinput>umount $LFS/proc &&
|
---|
| 10 | umount $LFS</userinput></screen></para>
|
---|
| 11 |
|
---|
| 12 | <para>If you decided to create multiple partitions, you need to umount the
|
---|
| 13 | other partitions before you umount $LFS, like this:</para>
|
---|
| 14 |
|
---|
| 15 | <para><screen><userinput>umount $LFS/proc &&
|
---|
| 16 | umount $LFS/usr &&
|
---|
| 17 | umount $LFS/home &&
|
---|
| 18 | umount $LFS</userinput></screen></para>
|
---|
[5ba7054] | 19 |
|
---|
| 20 | <para>And you can reboot your system by running something like:</para>
|
---|
| 21 |
|
---|
| 22 | <para><screen><userinput>/sbin/shutdown -r now</userinput></screen></para>
|
---|
| 23 |
|
---|
| 24 | <para>At the LILO: prompt make sure that you tell it to boot
|
---|
| 25 | <emphasis>lfs</emphasis> and not the default entry which will boot your
|
---|
| 26 | host system again.</para>
|
---|
| 27 |
|
---|
| 28 | <para>After you have rebooted, your LFS system is ready for use and you
|
---|
| 29 | can start adding your own software.</para>
|
---|
| 30 |
|
---|
| 31 | <para>One final thing you may want to do is run lilo, now that you are
|
---|
| 32 | booted into LFS. This way you will put the LFS version of LILO in the MBR
|
---|
| 33 | rather than the one that's there right now from your host system.
|
---|
| 34 | Depending on how old your host distribution is, the LFS version may have
|
---|
| 35 | more advanced features you need/could use.</para>
|
---|
[de7df31] | 36 |
|
---|
[5ba7054] | 37 | <para>Either way, run the following to make the lilo version installed
|
---|
| 38 | on LFS active:</para>
|
---|
[de7df31] | 39 |
|
---|
[5ba7054] | 40 | <para><screen><userinput>/sbin/lilo</userinput></screen></para>
|
---|
[de7df31] | 41 |
|
---|
[fde5bc7] | 42 | <para>You may now remove the static directory. If you think you may
|
---|
[26e62aa] | 43 | need to redo Chapter 5, then you may wish to backup the directory before
|
---|
[fde5bc7] | 44 | removing it. To remove the static directory, type the following
|
---|
| 45 | command:</para>
|
---|
| 46 |
|
---|
| 47 | <para><screen><userinput>rm -rf /static</userinput></screen></para>
|
---|
| 48 |
|
---|
[de7df31] | 49 | <para>Now that you have finished installing your LFS system, you may
|
---|
| 50 | be wondering how to install additional software, such as a web browser.
|
---|
| 51 | Your first stop should be the Beyond Linux From Scratch project, which may
|
---|
| 52 | be found at <ulink url="&blfs-root;"/>. The LFS hints may also prove helpful,
|
---|
| 53 | and are located at <ulink url="&hints-index;"/>. On a similar note, if you
|
---|
| 54 | are not only a newbie to LFS, but also to Linux in general, you may
|
---|
| 55 | find the newbie hint at <ulink url="&hints-root;newbie.txt"/> very
|
---|
[d920fb0] | 56 | interesting.</para>
|
---|
[de7df31] | 57 |
|
---|
| 58 | <para>Remember that there are several LFS mailinglists you may subscribe
|
---|
| 59 | to if you are in need of help. See <xref linkend="ch01-maillists"/> for
|
---|
| 60 | more information.</para>
|
---|
[5ba7054] | 61 |
|
---|
| 62 | <para>Again, we thank you for using the LFS Book and hope you found this
|
---|
| 63 | book useful and worth your time.</para>
|
---|
| 64 |
|
---|
| 65 | </sect1>
|
---|