| … | |
… | |
| 2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
| 3 | |
3 | |
| 4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 5 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.35 2005/08/25 19:53:25 neysx Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.36 2005/10/09 16:33:54 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>2.7</version> |
11 | <version>2.8</version> |
| 12 | <date>2005-08-25</date> |
12 | <date>2005-10-09</date> |
| 13 | |
13 | |
| 14 | <section> |
14 | <section> |
| 15 | <title>Hardware Requirements</title> |
15 | <title>Hardware Requirements</title> |
| 16 | <subsection> |
16 | <subsection> |
| 17 | <title>Introduction</title> |
17 | <title>Introduction</title> |
| … | |
… | |
| 100 | A <e>stage1</e> is used when you want to bootstrap and build the entire system |
100 | A <e>stage1</e> is used when you want to bootstrap and build the entire system |
| 101 | from scratch. |
101 | from scratch. |
| 102 | </p> |
102 | </p> |
| 103 | |
103 | |
| 104 | <p> |
104 | <p> |
| 105 | Starting from a stage1 allows you to have total control over the |
105 | This approach builds core system packages that are vital to your system and is |
| 106 | optimization settings and optional build-time functionality that is |
106 | used by Gentoo developers to prepare the Gentoo release media. It is a great |
| 107 | initially enabled on your system. This makes <e>stage1</e> installs good for |
|
|
| 108 | power users who know what they are doing. It is also a great |
|
|
| 109 | installation method for those who would like to know more about the |
107 | installation method for those who would like to learn more about the inner |
| 110 | inner workings of Gentoo Linux. |
108 | workings of bootstrapping, toolchains and the like. |
|
|
109 | </p> |
|
|
110 | |
|
|
111 | <p> |
|
|
112 | However, if you do not plan to tweak the bootstrapping instructions in the |
|
|
113 | <path>bootstrap.sh</path> script written by the Gentoo developers, then a |
|
|
114 | stage1 approach has no benefits for you. |
| 111 | </p> |
115 | </p> |
| 112 | |
116 | |
| 113 | <table> |
117 | <table> |
| 114 | <tr> |
118 | <tr> |
| 115 | <th>Stage1</th> |
119 | <th>Stage1</th> |
| 116 | <th>Pros and Cons</th> |
120 | <th>Pros and Cons</th> |
| 117 | </tr> |
121 | </tr> |
| 118 | <tr> |
122 | <tr> |
| 119 | <th>+</th> |
123 | <th>+</th> |
| 120 | <ti> |
124 | <ti> |
| 121 | Allows you to have total control over the optimization settings and optional |
125 | Allows you to have total control over the installation routine, bootstrap |
| 122 | build-time functionality that is initially enabled on your system |
126 | sequence, etc. |
| 123 | </ti> |
127 | </ti> |
| 124 | </tr> |
|
|
| 125 | <tr> |
128 | </tr> |
| 126 | <th>+</th> |
|
|
| 127 | <ti>Suitable for powerusers that know what they are doing</ti> |
|
|
| 128 | </tr> |
129 | <tr> |
| 129 | <tr> |
|
|
| 130 | <th>+</th> |
130 | <th>+</th> |
| 131 | <ti>Allows you to learn more about the inner workings of Gentoo</ti> |
131 | <ti>Suitable for powerusers and developers who know what they are doing</ti> |
| 132 | </tr> |
132 | </tr> |
| 133 | <tr> |
133 | <tr> |
| 134 | <th>-</th> |
134 | <th>-</th> |
| 135 | <ti>Takes a long time to finish the installation</ti> |
135 | <ti> |
|
|
136 | Takes a long time to finish the installation (it is the lengthiest approach) |
|
|
137 | </ti> |
| 136 | </tr> |
138 | </tr> |
| 137 | <tr> |
139 | <tr> |
| 138 | <th>-</th> |
140 | <th>-</th> |
| 139 | <ti> |
141 | <ti> |
| 140 | If you don't intend to tweak the settings, it is a waste of time |
142 | If you don't intend to tweak the settings, it is a waste of time |
| … | |
… | |
| 158 | A <e>stage2</e> is used for building the entire system from a bootstrapped |
160 | A <e>stage2</e> is used for building the entire system from a bootstrapped |
| 159 | "semi-compiled" state. |
161 | "semi-compiled" state. |
| 160 | </p> |
162 | </p> |
| 161 | |
163 | |
| 162 | <p> |
164 | <p> |
| 163 | Stage2 installs allow you to skip the bootstrap process; doing this |
165 | When you perform a stage2 installation approach, you will build all system |
| 164 | is fine if you are happy with the optimization settings that we chose |
166 | packages (core packages, including toolchain) using your specific <c>USE</c>, |
| 165 | for your particular stage2 tarball. |
167 | <c>CFLAGS</c> and <c>CXXFLAGS</c> settings. Any package build will therefore be |
|
|
168 | optimized to your preference. |
|
|
169 | </p> |
|
|
170 | |
|
|
171 | <p> |
|
|
172 | However, this installation takes some time and if you do not intend to change |
|
|
173 | the <c>CFLAGS</c> and <c>CXXFLAGS</c> settings that we have defined as a "good |
|
|
174 | default", using this approach only makes sense if your <c>USE</c> variable is |
|
|
175 | sufficiently different from the default <c>USE</c> we provide. |
| 166 | </p> |
176 | </p> |
| 167 | |
177 | |
| 168 | <table> |
178 | <table> |
| 169 | <tr> |
179 | <tr> |
| 170 | <th>Stage2</th> |
180 | <th>Stage2</th> |
| … | |
… | |
| 182 | <th>+</th> |
192 | <th>+</th> |
| 183 | <ti>You can still tweak your settings</ti> |
193 | <ti>You can still tweak your settings</ti> |
| 184 | </tr> |
194 | </tr> |
| 185 | <tr> |
195 | <tr> |
| 186 | <th>-</th> |
196 | <th>-</th> |
| 187 | <ti>You cannot tweak as much as with a stage1</ti> |
197 | <ti>It's still not the fastest way to install Gentoo</ti> |
| 188 | </tr> |
198 | </tr> |
| 189 | <tr> |
199 | <tr> |
| 190 | <th>-</th> |
200 | <th>-</th> |
| 191 | <ti>It's still not the fastest way to install Gentoo</ti> |
|
|
| 192 | </tr> |
|
|
| 193 | <tr> |
|
|
| 194 | <th>-</th> |
|
|
| 195 | <ti>You have to accept the optimizations we chose for the bootstrap</ti> |
|
|
| 196 | </tr> |
|
|
| 197 | <tr> |
|
|
| 198 | <th>-</th> |
|
|
| 199 | <ti> |
201 | <ti> |
| 200 | Requires a working Internet connection during the installation |
202 | Requires a working Internet connection during the installation |
| 201 | </ti> |
203 | </ti> |
| 202 | </tr> |
204 | </tr> |
| 203 | </table> |
205 | </table> |
| … | |
… | |
| 208 | <title>A Stage3 Approach</title> |
210 | <title>A Stage3 Approach</title> |
| 209 | <body> |
211 | <body> |
| 210 | |
212 | |
| 211 | <p> |
213 | <p> |
| 212 | A <e>stage3</e> installation contains a basic Gentoo Linux system that has been |
214 | A <e>stage3</e> installation contains a basic Gentoo Linux system that has been |
| 213 | built for you. You will only need to build a few packages of which we can't |
215 | built for you. You will only need to build a few packages (such as system |
| 214 | decide for you which one to choose. |
216 | logger, networking tools, ...) before you can boot into a base Gentoo |
|
|
217 | installation. |
| 215 | </p> |
218 | </p> |
| 216 | |
219 | |
| 217 | <p> |
220 | <p> |
| 218 | Choosing to go with a stage3 allows for the fastest install of Gentoo |
221 | Choosing to go with a stage3 allows for the fastest install of Gentoo |
| 219 | Linux, but also means that your base system will have the optimization |
222 | Linux, but also means that your base system will have the optimization |
| … | |
… | |
| 231 | <tr> |
234 | <tr> |
| 232 | <th>+</th> |
235 | <th>+</th> |
| 233 | <ti>Fastest way to get a Gentoo base system</ti> |
236 | <ti>Fastest way to get a Gentoo base system</ti> |
| 234 | </tr> |
237 | </tr> |
| 235 | <tr> |
238 | <tr> |
| 236 | <th>-</th> |
239 | <th>+</th> |
| 237 | <ti>You cannot tweak the base system - it's built already</ti> |
240 | <ti> |
|
|
241 | You can still tweak your system |
|
|
242 | </ti> |
| 238 | </tr> |
243 | </tr> |
| 239 | </table> |
244 | </table> |
| 240 | |
245 | |
| 241 | <p> |
246 | <p> |
| 242 | You might be interested to know that, if you decide to use different |
247 | You might be interested to know that, if you decide to use different |
| 243 | optimization settings after having installed Gentoo, you will be able to |
248 | optimization settings after having installed Gentoo, you will be able to |
| 244 | recompile your entire system with the new optimization settings. |
249 | recompile your entire system with the new optimization settings. The same goes |
|
|
250 | for any <c>USE</c> flag changes: Portage is intelligent enough to know what |
|
|
251 | packages need to be rebuild. |
| 245 | </p> |
252 | </p> |
| 246 | |
253 | |
| 247 | </body> |
254 | </body> |
| 248 | </subsection> |
255 | </subsection> |
| 249 | </section> |
256 | </section> |
|
|
257 | |
| 250 | <section> |
258 | <section> |
| 251 | <title>The Gentoo Installation CDs</title> |
259 | <title>The Gentoo Installation CDs</title> |
| 252 | <subsection> |
260 | <subsection> |
| 253 | <title>Introduction</title> |
261 | <title>Introduction</title> |
| 254 | <body> |
262 | <body> |
| … | |
… | |
| 380 | that allows you to easily and quickly install additional applications (such as |
388 | that allows you to easily and quickly install additional applications (such as |
| 381 | OpenOffice.org, KDE, GNOME, ...) immediately after the networkless Gentoo |
389 | OpenOffice.org, KDE, GNOME, ...) immediately after the networkless Gentoo |
| 382 | installation. |
390 | installation. |
| 383 | </p> |
391 | </p> |
| 384 | |
392 | |
|
|
393 | <p> |
|
|
394 | If you intend to use the Packages CD to quickly install additional software, |
|
|
395 | make sure that you use the same subarchitecture as the stage-3 tarball you use. |
|
|
396 | </p> |
|
|
397 | |
| 385 | </body> |
398 | </body> |
| 386 | </subsection> |
399 | </subsection> |
| 387 | </section> |
400 | </section> |
| 388 | <!-- STOP --> |
401 | <!-- STOP --> |
| 389 | <section> |
402 | <section> |