[e0f737f] | 1 | <sect1 id="ch09-theend">
|
---|
[6acc848] | 2 | <title>The End</title>
|
---|
| 3 |
|
---|
[b822811] | 4 | <para>Well done! You have finished installing your LFS system. It may have
|
---|
[6acc848] | 5 | been a long process but it was well worth it. We wish you a lot of fun
|
---|
[b822811] | 6 | with your new shiny custom built Linux system.</para>
|
---|
[6acc848] | 7 |
|
---|
[b822811] | 8 | <para>Now would be a good time to strip all debug symbols from
|
---|
[e3a1c58] | 9 | the binaries on your LFS system. If you are not a programmer and don't plan
|
---|
| 10 | on debugging your software, then you will be happy to know that you can
|
---|
| 11 | reclaim a few tens of megs by removing debug symbols. This process causes
|
---|
| 12 | no inconvenience other than not being able to debug the software fully
|
---|
| 13 | anymore, which is not an issue if you don't know how to debug. You can
|
---|
[b822811] | 14 | remove the symbols by executing the following command:</para>
|
---|
[921d418f] | 15 |
|
---|
[b822811] | 16 | <para>Disclaimer: 98% of the people who use the command mentioned below don't
|
---|
[f76811f] | 17 | experience any problems. But do make a backup of your LFS system before
|
---|
| 18 | you run this command. There's a slight chance it may backfire on you and
|
---|
| 19 | render your system unusable (mostly by destroying your kernel modules
|
---|
[b822811] | 20 | and dynamic & shared libraries).</para>
|
---|
[f76811f] | 21 |
|
---|
[b822811] | 22 | <para>Having that said, the --strip-debug option to strip is quite harmless
|
---|
[f76811f] | 23 | under normal circumstances. It doesn't strip anything vital from the
|
---|
| 24 | files. It also is quite safe to use --strip-all on regular programs
|
---|
| 25 | (don't use that on libraries - they will be destroyed) but it's not as
|
---|
| 26 | safe and the space you gain is not all that much. But if you're tight on
|
---|
| 27 | disk space every little bit helps, so decide yourself. Please refer to
|
---|
| 28 | the strip man page for other strip options you can use. The general idea
|
---|
| 29 | is to not run strip on libraries (other than --strip-debug) just to be
|
---|
[b822811] | 30 | on the safe side.</para>
|
---|
[f76811f] | 31 |
|
---|
[b822811] | 32 | <para><screen><userinput>find / -type f -exec strip --strip-debug '{}' ';'</userinput></screen></para>
|
---|
[921d418f] | 33 |
|
---|
[b822811] | 34 | <para>If you plan to ever upgrade to a newer LFS version in the future it
|
---|
[6acc848] | 35 | will be a good idea to create the /etc/lfs-&version; file. By having
|
---|
| 36 | this file it is very easy for you (and for us if you are going to ask
|
---|
| 37 | for help with something at some point) to find out which LFS version
|
---|
| 38 | you have installed on your system. This can just be a null-byte file by
|
---|
[b822811] | 39 | running:</para>
|
---|
[6acc848] | 40 |
|
---|
[b822811] | 41 | <para><screen><userinput>touch /etc/lfs-&version;</userinput></screen></para>
|
---|
[5a01e43] | 42 |
|
---|
[b822811] | 43 | <para>One final thing you may want to do is run lilo now that you are booted
|
---|
[e0f737f] | 44 | into LFS. This way you will put the LFS version of LILO in the MBR
|
---|
| 45 | rather than the one that's there right now from your host system.
|
---|
| 46 | Depending on how old your host distribution is, the LFS version may have
|
---|
[b822811] | 47 | more advanced features you need/could use.</para>
|
---|
[e0f737f] | 48 |
|
---|
[b822811] | 49 | <para>Either way, run the following to make the lilo version installed on LFS
|
---|
| 50 | active:</para>
|
---|
[e0f737f] | 51 |
|
---|
[b822811] | 52 | <para><screen><userinput>/sbin/lilo</userinput></screen></para>
|
---|
[e0f737f] | 53 |
|
---|
[b822811] | 54 | <para>If you are wondering: "Well, where to go now?" you'll be glad to hear that
|
---|
[b4ffa369] | 55 | someone has written an LFS hint on the subject at <ulink
|
---|
[b822811] | 56 | url="http://archive.linuxfromscratch.org/lfs-hints/afterlfs.txt">http://archive.linuxfromscratch.org/lfs-hints/afterlfs.txt</ulink>.
|
---|
[b4ffa369] | 57 | On a same note, if you are not only newbie to LFS, but also
|
---|
| 58 | newbie to Linux in general, you may find the newbie hint at <ulink
|
---|
[b822811] | 59 | url="http://archive.linuxfromscratch.org/lfs-hints/newbie.txt">http://archive.linuxfromscratch.org/lfs-hints/newbie.txt</ulink>
|
---|
| 60 | very interesting.</para>
|
---|
[9a0cfdf] | 61 |
|
---|
[b822811] | 62 | <para>Don't forget there are several LFS mailinglists you can subscribe to if
|
---|
[6acc848] | 63 | you are in need of help, advice, etc. See
|
---|
| 64 | <ulink url="ch01-maillists.html">Chapter 1 - Mailinglists</ulink> for
|
---|
[b822811] | 65 | more information.</para>
|
---|
[6acc848] | 66 |
|
---|
[b822811] | 67 | <para>Again, we thank you for using the LFS Book and hope you found this book
|
---|
| 68 | useful and worth your time.</para>
|
---|
[6acc848] | 69 |
|
---|
| 70 | </sect1>
|
---|
| 71 |
|
---|