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