source: chapter09/theend.xml@ 8c74d8a

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v3_0 v3_1 v3_2 v3_3 v4_0 v4_1 v5_0 v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 8c74d8a was 8c74d8a, checked in by Gerard Beekmans <gerard@…>, 23 years ago

Changed locations to the hints on archive.linuxfromscratch.org (some
hints have been renamed into all lowercase)

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@761 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

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