[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>
|
---|
| 36 |
|
---|
| 37 | <para>Either way, run the following to make the lilo version installed
|
---|
| 38 | on LFS active:</para>
|
---|
| 39 |
|
---|
| 40 | <para><screen><userinput>/sbin/lilo</userinput></screen></para>
|
---|
| 41 |
|
---|
[817c2d5] | 42 | <para>If you are wondering "what do i do now?", then you will be glad to
|
---|
| 43 | know that Max Schattauer has written a hint on this subject at <ulink
|
---|
[d920fb0] | 44 | url="&hints-root;afterlfs.txt"/>. On a similar note, if you are not
|
---|
| 45 | only a newbie to LFS, but also to Linux in general, you may
|
---|
| 46 | find the newbie hint at <ulink url="&hints-root;newbie.txt"/> very
|
---|
| 47 | interesting.</para>
|
---|
[5ba7054] | 48 |
|
---|
| 49 | <para>Don't forget there are several LFS mailinglists you can subscribe
|
---|
| 50 | to if you are in need of help, advice, etc. See
|
---|
[ea1302c] | 51 | <xref linkend="ch01-maillists"/> for more information.</para>
|
---|
[5ba7054] | 52 |
|
---|
| 53 | <para>Again, we thank you for using the LFS Book and hope you found this
|
---|
| 54 | book useful and worth your time.</para>
|
---|
| 55 |
|
---|
| 56 | </sect1>
|
---|
| 57 |
|
---|