| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 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/2.5 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.30 2005/04/04 19:58:22 neysx Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.54 2011/02/27 07:05:54 nightmorph Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>2.2</version> |
11 | <version>12</version> |
| 12 | <date>2005-04-04</date> |
12 | <date>2011-02-26</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> |
| … | |
… | |
| 51 | </table> |
51 | </table> |
| 52 | |
52 | |
| 53 | </body> |
53 | </body> |
| 54 | </subsection> |
54 | </subsection> |
| 55 | </section> |
55 | </section> |
| 56 | <!-- Copy/paste from the hb-install-x86-medium.xml file. --> |
56 | |
| 57 | <!-- START --> |
|
|
| 58 | <section> |
57 | <section> |
| 59 | <title>The Gentoo Installation Approaches</title> |
|
|
| 60 | <subsection> |
|
|
| 61 | <title>Introduction</title> |
|
|
| 62 | <body> |
|
|
| 63 | |
|
|
| 64 | <p> |
|
|
| 65 | Gentoo Linux can be installed using one of three <e>stage</e> tarball files. |
|
|
| 66 | A stage file is a tarball (compressed archive) that contains a minimal |
|
|
| 67 | environment. |
|
|
| 68 | </p> |
|
|
| 69 | |
|
|
| 70 | <ul> |
|
|
| 71 | <li> |
|
|
| 72 | A stage1 file contains nothing more than a compiler, Portage (Gentoo's |
|
|
| 73 | software management system) and a couple of packages on which the compiler |
|
|
| 74 | or Portage depends. |
|
|
| 75 | </li> |
|
|
| 76 | <li> |
|
|
| 77 | A stage2 file contains a so-called bootstrapped system, a minimal |
|
|
| 78 | environment from which one can start building all other necessary |
|
|
| 79 | applications that make a Gentoo environment complete. |
|
|
| 80 | </li> |
|
|
| 81 | <li> |
|
|
| 82 | A stage3 file contains a prebuilt minimal system which is almost fully |
|
|
| 83 | deployable. It only lacks a few applications where you, the Gentoo user, |
|
|
| 84 | needs to choose which one you want to install. |
|
|
| 85 | </li> |
|
|
| 86 | </ul> |
|
|
| 87 | |
|
|
| 88 | <p> |
|
|
| 89 | To help you decide what stage file you want to use, we have written down the |
|
|
| 90 | major advantages and disadvantages of each stage file. |
|
|
| 91 | </p> |
|
|
| 92 | |
|
|
| 93 | </body> |
|
|
| 94 | </subsection> |
|
|
| 95 | <subsection> |
|
|
| 96 | <title>A Stage1 Approach</title> |
|
|
| 97 | <body> |
|
|
| 98 | |
|
|
| 99 | <p> |
|
|
| 100 | A <e>stage1</e> is used when you want to bootstrap and build the entire system |
|
|
| 101 | from scratch. |
|
|
| 102 | </p> |
|
|
| 103 | |
|
|
| 104 | <p> |
|
|
| 105 | Starting from a stage1 allows you to have total control over the |
|
|
| 106 | optimization settings and optional build-time functionality that is |
|
|
| 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 |
|
|
| 110 | inner workings of Gentoo Linux. |
|
|
| 111 | </p> |
|
|
| 112 | |
|
|
| 113 | <table> |
|
|
| 114 | <tr> |
|
|
| 115 | <th>Stage1</th> |
|
|
| 116 | <th>Pros and Cons</th> |
|
|
| 117 | </tr> |
|
|
| 118 | <tr> |
|
|
| 119 | <th>+</th> |
|
|
| 120 | <ti> |
|
|
| 121 | Allows you to have total control over the optimization settings and optional |
|
|
| 122 | build-time functionality that is initially enabled on your system |
|
|
| 123 | </ti> |
|
|
| 124 | </tr> |
|
|
| 125 | <tr> |
|
|
| 126 | <th>+</th> |
|
|
| 127 | <ti>Suitable for powerusers that know what they are doing</ti> |
|
|
| 128 | </tr> |
|
|
| 129 | <tr> |
|
|
| 130 | <th>+</th> |
|
|
| 131 | <ti>Allows you to learn more about the inner workings of Gentoo</ti> |
|
|
| 132 | </tr> |
|
|
| 133 | <tr> |
|
|
| 134 | <th>-</th> |
|
|
| 135 | <ti>Takes a long time to finish the installation</ti> |
|
|
| 136 | </tr> |
|
|
| 137 | <tr> |
|
|
| 138 | <th>-</th> |
|
|
| 139 | <ti> |
|
|
| 140 | If you don't intend to tweak the settings, it is a waste of time |
|
|
| 141 | </ti> |
|
|
| 142 | </tr> |
|
|
| 143 | </table> |
|
|
| 144 | |
|
|
| 145 | </body> |
|
|
| 146 | </subsection> |
|
|
| 147 | <subsection> |
|
|
| 148 | <title>A Stage2 Approach</title> |
|
|
| 149 | <body> |
|
|
| 150 | |
|
|
| 151 | <p> |
|
|
| 152 | A <e>stage2</e> is used for building the entire system from a bootstrapped |
|
|
| 153 | "semi-compiled" state. |
|
|
| 154 | </p> |
|
|
| 155 | |
|
|
| 156 | <p> |
|
|
| 157 | Stage2 installs allow you to skip the bootstrap process; doing this |
|
|
| 158 | is fine if you are happy with the optimization settings that we chose |
|
|
| 159 | for your particular stage2 tarball. |
|
|
| 160 | </p> |
|
|
| 161 | |
|
|
| 162 | <table> |
|
|
| 163 | <tr> |
|
|
| 164 | <th>Stage2</th> |
|
|
| 165 | <th>Pros and Cons</th> |
|
|
| 166 | </tr> |
|
|
| 167 | <tr> |
|
|
| 168 | <th>+</th> |
|
|
| 169 | <ti>You don't need to bootstrap</ti> |
|
|
| 170 | </tr> |
|
|
| 171 | <tr> |
|
|
| 172 | <th>+</th> |
|
|
| 173 | <ti>Faster than starting with stage1</ti> |
|
|
| 174 | </tr> |
|
|
| 175 | <tr> |
|
|
| 176 | <th>+</th> |
|
|
| 177 | <ti>You can still tweak your settings</ti> |
|
|
| 178 | </tr> |
|
|
| 179 | <tr> |
|
|
| 180 | <th>-</th> |
|
|
| 181 | <ti>You cannot tweak as much as with a stage1</ti> |
|
|
| 182 | </tr> |
|
|
| 183 | <tr> |
|
|
| 184 | <th>-</th> |
|
|
| 185 | <ti>It's still not the fastest way to install Gentoo</ti> |
|
|
| 186 | </tr> |
|
|
| 187 | <tr> |
|
|
| 188 | <th>-</th> |
|
|
| 189 | <ti>You have to accept the optimizations we chose for the bootstrap</ti> |
|
|
| 190 | </tr> |
|
|
| 191 | </table> |
|
|
| 192 | |
|
|
| 193 | </body> |
|
|
| 194 | </subsection> |
|
|
| 195 | <subsection> |
|
|
| 196 | <title>A Stage3 Approach</title> |
|
|
| 197 | <body> |
|
|
| 198 | |
|
|
| 199 | <p> |
|
|
| 200 | A <e>stage3</e> installation contains a basic Gentoo Linux system that has been |
|
|
| 201 | built for you. You will only need to build a few packages of which we can't |
|
|
| 202 | decide for you which one to choose. |
|
|
| 203 | </p> |
|
|
| 204 | |
|
|
| 205 | <p> |
|
|
| 206 | Choosing to go with a stage3 allows for the fastest install of Gentoo |
|
|
| 207 | Linux, but also means that your base system will have the optimization |
|
|
| 208 | settings that we chose for you (which to be honest, are good settings |
|
|
| 209 | and were carefully chosen to enhance performance while maintaining |
|
|
| 210 | stability). Stage3 is also required if you want to install Gentoo using |
|
|
| 211 | prebuilt packages or without a network connection. |
|
|
| 212 | </p> |
|
|
| 213 | |
|
|
| 214 | <table> |
|
|
| 215 | <tr> |
|
|
| 216 | <th>Stage3</th> |
|
|
| 217 | <th>Pros and Cons</th> |
|
|
| 218 | </tr> |
|
|
| 219 | <tr> |
|
|
| 220 | <th>+</th> |
|
|
| 221 | <ti>Fastest way to get a Gentoo base system</ti> |
|
|
| 222 | </tr> |
|
|
| 223 | <tr> |
|
|
| 224 | <th>-</th> |
|
|
| 225 | <ti>You cannot tweak the base system - it's built already</ti> |
|
|
| 226 | </tr> |
|
|
| 227 | </table> |
|
|
| 228 | |
|
|
| 229 | <p> |
|
|
| 230 | You might be interested to know that, if you decide to use different |
|
|
| 231 | optimization settings after having installed Gentoo, you will be able to |
|
|
| 232 | recompile your entire system with the new optimization settings. |
|
|
| 233 | </p> |
|
|
| 234 | |
|
|
| 235 | </body> |
|
|
| 236 | </subsection> |
|
|
| 237 | </section> |
|
|
| 238 | <section> |
|
|
| 239 | <title>The Gentoo Installation CDs</title> |
58 | <title>The Gentoo Installation CD</title> |
| 240 | <subsection> |
59 | <subsection> |
| 241 | <title>Introduction</title> |
60 | <title>Introduction</title> |
| 242 | <body> |
61 | <body> |
| 243 | |
62 | |
| 244 | <p> |
63 | <p> |
| … | |
… | |
| 248 | are loaded. They are maintained by Gentoo developers. |
67 | are loaded. They are maintained by Gentoo developers. |
| 249 | </p> |
68 | </p> |
| 250 | |
69 | |
| 251 | <p> |
70 | <p> |
| 252 | All Installation CDs allow you to boot, set up networking, initialize your |
71 | All Installation CDs allow you to boot, set up networking, initialize your |
| 253 | partitions and start installing Gentoo from the Internet. We currently provide |
72 | partitions and start installing Gentoo from the Internet. |
| 254 | two Installation CDs which are equaly suitable to install Gentoo from, as long |
|
|
| 255 | as you're planning on performing an Internet-based installation using the |
|
|
| 256 | latest version of the available packages. |
|
|
| 257 | </p> |
|
|
| 258 | |
|
|
| 259 | <p> |
73 | </p> |
|
|
74 | |
|
|
75 | <!-- |
|
|
76 | <impo> |
| 260 | If you wish to install Gentoo without a working Internet connection, please use |
77 | If you wish to install Gentoo without a working Internet connection, please use |
| 261 | the installation instructions described in the <uri |
78 | the installation instructions described in the <uri |
| 262 | link="2005.0/index.xml">Gentoo 2005.0 Handbooks</uri>. |
79 | link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>. |
| 263 | </p> |
80 | </impo> |
| 264 | |
81 | |
| 265 | <p> |
82 | <p> |
| 266 | The two Installation CDs we currently provide are: |
83 | The two Installation CDs we currently provide are: |
| 267 | </p> |
84 | </p> |
| 268 | |
85 | |
| … | |
… | |
| 272 | sole purpose is to boot the system, prepare the networking and continue |
89 | sole purpose is to boot the system, prepare the networking and continue |
| 273 | with the Gentoo installation. |
90 | with the Gentoo installation. |
| 274 | </li> |
91 | </li> |
| 275 | <li> |
92 | <li> |
| 276 | The Gentoo Universal Installation CD, a bootable CD with the same abilities |
93 | The Gentoo Universal Installation CD, a bootable CD with the same abilities |
| 277 | as the Minimal Installation CD. Additionally, it contains a stage1 and |
94 | as the Minimal Installation CD. Additionally, it contains several stage3 |
| 278 | several stage3 tarballs (optimized for the individual subarchitectures). |
95 | tarballs (optimized for the individual subarchitectures). |
| 279 | </li> |
96 | </li> |
| 280 | </ul> |
97 | </ul> |
| 281 | |
98 | |
| 282 | <p> |
99 | <p> |
| 283 | To help you decide which Installation CD you need, we have written down the |
100 | To help you decide which Installation CD you need, we have written down the |
| 284 | major advantages and disadvantages of each Installation CD. |
101 | major advantages and disadvantages of each Installation CD. |
| 285 | </p> |
102 | </p> |
|
|
103 | --> |
| 286 | |
104 | |
| 287 | </body> |
105 | </body> |
| 288 | </subsection> |
|
|
| 289 | <subsection> |
106 | </subsection> |
|
|
107 | <subsection> |
| 290 | <title>Gentoo's Minimal Installation CD</title> |
108 | <title>Gentoo Minimal Installation CD</title> |
| 291 | <body> |
109 | <body> |
| 292 | |
110 | |
| 293 | <p> |
|
|
| 294 | The Minimal Installation CD is called <c>install-alpha-minimal-2005.0.iso</c> |
|
|
| 295 | and takes up only 54 MB of diskspace. You can use this Installation CD to |
|
|
| 296 | install Gentoo, but always with a working Internet connection only. |
|
|
| 297 | </p> |
111 | <p> |
| 298 | |
112 | The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and |
|
|
113 | takes up only <keyval id="min-cd-size"/> MB of diskspace. You can use this |
|
|
114 | Installation CD to install Gentoo, but <e>only</e> with a working Internet |
|
|
115 | connection. |
|
|
116 | </p> |
|
|
117 | <!-- |
| 299 | <table> |
118 | <table> |
| 300 | <tr> |
119 | <tr> |
| 301 | <th>Minimal Installation CD</th> |
120 | <th>Minimal Installation CD</th> |
| 302 | <th>Pros and Cons</th> |
121 | <th>Pros and Cons</th> |
| 303 | </tr> |
122 | </tr> |
| 304 | <tr> |
123 | <tr> |
| 305 | <th>+</th> |
124 | <th>+</th> |
| 306 | <ti>Smallest download</ti> |
125 | <ti>Smallest download</ti> |
| 307 | </tr> |
126 | </tr> |
| 308 | <tr> |
127 | <tr> |
| 309 | <th>+</th> |
|
|
| 310 | <ti> |
|
|
| 311 | You can do a stage1, stage2 or stage3 by getting the stage tarball off the |
|
|
| 312 | net |
|
|
| 313 | </ti> |
|
|
| 314 | </tr> |
|
|
| 315 | <tr> |
|
|
| 316 | <th>-</th> |
128 | <th>-</th> |
| 317 | <ti> |
129 | <ti> |
| 318 | Contains no stages, no Portage snapshot, no prebuilt packages and is |
130 | Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is |
| 319 | therefore not suitable for networkless installation |
131 | therefore not suitable for networkless installation |
| 320 | </ti> |
132 | </ti> |
| 321 | </tr> |
133 | </tr> |
| 322 | </table> |
134 | </table> |
| 323 | |
135 | |
| … | |
… | |
| 326 | <subsection> |
138 | <subsection> |
| 327 | <title>Gentoo's Universal Installation CD</title> |
139 | <title>Gentoo's Universal Installation CD</title> |
| 328 | <body> |
140 | <body> |
| 329 | |
141 | |
| 330 | <p> |
142 | <p> |
| 331 | The Universal Installation CD is called <c>install-alpha-universal-2005.0.iso</c> |
143 | The Universal Installation CD is called <c>install-alpha-universal-2008.0.iso</c> |
| 332 | and consumes the entire surface of a 650 MB CD. You can use this Installation CD |
144 | and consumes about 316 MB on a CD. You can use this Installation CD to install |
| 333 | to install Gentoo, and you can even use it to install Gentoo without a working |
145 | Gentoo, and you can even use it to install Gentoo without a working internet |
| 334 | internet connection, just in case you want to bring Gentoo to another PC than |
146 | connection. |
| 335 | the one you are currently installing Gentoo on :) |
|
|
| 336 | </p> |
147 | </p> |
| 337 | |
148 | |
| 338 | <table> |
149 | <table> |
| 339 | <tr> |
150 | <tr> |
| 340 | <th>Universal Installation CD</th> |
151 | <th>Universal Installation CD</th> |
| … | |
… | |
| 355 | </tr> |
166 | </tr> |
| 356 | </table> |
167 | </table> |
| 357 | |
168 | |
| 358 | </body> |
169 | </body> |
| 359 | </subsection> |
170 | </subsection> |
|
|
171 | |
| 360 | <subsection> |
172 | <subsection> |
| 361 | <title>Other CDs</title> |
173 | <title>Other CDs</title> |
| 362 | <body> |
174 | <body> |
| 363 | |
175 | |
| 364 | <p> |
176 | <p> |
| 365 | You might find a so-called Package CD on one of our mirrors. This CD is no |
177 | You might find a Package CD on one of our mirrors. This CD is not an |
| 366 | Installation CD but an additional resource that can be exploited during a |
178 | Installation CD but an additional resource that can be exploited during a |
| 367 | networkless installation. It contains prebuilt packages (the so-called GRP set) |
179 | networkless installation. It contains prebuilt packages (also known as the GRP |
| 368 | that allows you to easily and quickly install additional applications (such as |
180 | set) that allow you to easily and quickly install additional applications |
| 369 | OpenOffice.org, KDE, GNOME, ...) immediately after the networkless Gentoo |
181 | (such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless |
| 370 | installation. |
182 | Gentoo installation. |
|
|
183 | </p> |
|
|
184 | |
|
|
185 | <p> |
|
|
186 | If you intend to use the Packages CD to quickly install additional software, |
|
|
187 | make sure that you use the same subarchitecture as the stage3 tarball you use. |
|
|
188 | </p> |
|
|
189 | --> |
|
|
190 | </body> |
|
|
191 | </subsection> |
|
|
192 | <subsection> |
|
|
193 | <title>The Stage3 Tarball</title> |
|
|
194 | <body> |
|
|
195 | |
|
|
196 | <p> |
|
|
197 | A stage3 tarball is an archive containing a minimal Gentoo environment, suitable |
|
|
198 | to continue the Gentoo installation using the instructions in this manual. |
|
|
199 | Previously, the Gentoo Handbook described the installation using one of three |
|
|
200 | stage tarballs. While Gentoo still offers stage1 and stage2 tarballs, the |
|
|
201 | official installation method uses the stage3 tarball. If you are interested in |
|
|
202 | performing a Gentoo installation using a stage1 or stage2 tarball, please read |
|
|
203 | the Gentoo FAQ on <uri link="/doc/en/faq.xml#stage12">How do I Install Gentoo |
|
|
204 | Using a Stage1 or Stage2 Tarball?</uri> |
|
|
205 | </p> |
|
|
206 | |
|
|
207 | <p> |
|
|
208 | Stage3 tarballs can be downloaded from <path><keyval |
|
|
209 | id="release-dir"/>current-stage3/</path> on any of the <uri |
|
|
210 | link="/main/en/mirrors.xml">Official Gentoo Mirrors</uri> and are not provided |
|
|
211 | on the LiveCD. |
| 371 | </p> |
212 | </p> |
| 372 | |
213 | |
| 373 | </body> |
214 | </body> |
| 374 | </subsection> |
215 | </subsection> |
| 375 | </section> |
216 | </section> |
| … | |
… | |
| 385 | downloading and burning the chosen Installation CD. We previously discussed |
226 | downloading and burning the chosen Installation CD. We previously discussed |
| 386 | the several available Installation CDs, but where can you find them? |
227 | the several available Installation CDs, but where can you find them? |
| 387 | </p> |
228 | </p> |
| 388 | |
229 | |
| 389 | <p> |
230 | <p> |
| 390 | You can download any of the Installation CDs (and, if you want to, a Packages |
231 | You can download any of the Installation CDs from one of our <uri |
| 391 | CD as well) from one of our <uri link="/main/en/mirrors.xml">mirrors</uri>. The |
232 | link="/main/en/mirrors.xml">mirrors</uri>. The Installation CDs are located in |
| 392 | Installation CDs are located in the <path>releases/alpha/2005.0/installcd</path> |
233 | the <path><keyval id="release-dir"/>current-iso/</path> directory. |
| 393 | directory. |
|
|
| 394 | </p> |
|
|
| 395 | |
|
|
| 396 | <p> |
234 | </p> |
|
|
235 | |
|
|
236 | <p> |
| 397 | Inside that directory you'll find so-called ISO-files. Those are full CD images |
237 | Inside that directory you'll find ISO files. Those are full CD images which you |
| 398 | which you can write on a CD-R. |
238 | can write on a CD-R. |
| 399 | </p> |
|
|
| 400 | |
|
|
| 401 | <p> |
239 | </p> |
|
|
240 | |
|
|
241 | <p> |
| 402 | In case you wonder if your downloaded file is corrupted or not, you can |
242 | In case you wonder if your downloaded file is corrupted or not, you can check |
| 403 | check its MD5 checksum and compare it with the MD5 checksum we provide (such as |
243 | its MD5 checksum and compare it with the MD5 checksum we provide (such as |
| 404 | <path>install-alpha-minimal-2005.0.iso.md5</path>). You can check the MD5 |
244 | <path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the MD5 checksum |
| 405 | checksum with the <c>md5sum</c> tool under Linux/Unix or <uri |
245 | with the <c>md5sum</c> tool under Linux/Unix or <uri |
| 406 | link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. |
246 | link="http://www.etree.org/md5com.html">md5sum</uri> for Windows. |
| 407 | </p> |
247 | </p> |
| 408 | |
248 | |
| 409 | <p> |
249 | <p> |
| 410 | Another way to check the validity of the downloaded file is to use GnuPG to |
250 | Another way to check the validity of the downloaded file is to use GnuPG to |
| 411 | verify the cryptographic signature that we provide (the file ending with |
251 | verify the cryptographic signature that we provide (the file ending with |
| 412 | <path>.asc</path>). Download the signature file and obtain the public key: |
252 | <path>.asc</path>). Download the signature file and obtain the public key: |
| 413 | </p> |
253 | </p> |
| 414 | |
254 | |
| 415 | <pre caption="Obtaining the public key"> |
255 | <pre caption="Obtaining the public key"> |
| 416 | $ <i>gpg --keyserver pgp.mit.edu --recv-keys 17072058</i> |
256 | $ <i>gpg --keyserver subkeys.pgp.net --recv-keys 2D182910</i> |
| 417 | </pre> |
257 | </pre> |
| 418 | |
258 | |
| 419 | <p> |
259 | <p> |
| 420 | Now verify the signature: |
260 | Now verify the signature: |
| 421 | </p> |
261 | </p> |
| 422 | |
262 | |
| 423 | <pre caption="Verify the cryptographic signature"> |
263 | <pre caption="Verify the files"> |
| 424 | $ <i>gpg --verify <signature file> <downloaded iso></i> |
264 | <comment>(Verify the cryptographic signature)</comment> |
|
|
265 | $ <i>gpg --verify <downloaded iso.DIGESTS.asc></i> |
|
|
266 | <comment>(Verify the checksum)</comment> |
|
|
267 | $ <i>sha1sum -c <downloaded iso.DIGESTS.asc></i> |
| 425 | </pre> |
268 | </pre> |
| 426 | |
269 | |
| 427 | <p> |
270 | <p> |
| 428 | To burn the downloaded ISO(s), you have to select raw-burning. How you |
271 | To burn the downloaded ISO(s), you have to select raw-burning. How you |
| 429 | do this is highly program-dependent. We will discuss <c>cdrecord</c> and |
272 | do this is highly program-dependent. We will discuss <c>cdrecord</c> and |
| … | |
… | |
| 436 | With cdrecord, you simply type <c>cdrecord dev=/dev/hdc <downloaded iso |
279 | With cdrecord, you simply type <c>cdrecord dev=/dev/hdc <downloaded iso |
| 437 | file></c> (replace <path>/dev/hdc</path> with your CD-RW drive's |
280 | file></c> (replace <path>/dev/hdc</path> with your CD-RW drive's |
| 438 | device path). |
281 | device path). |
| 439 | </li> |
282 | </li> |
| 440 | <li> |
283 | <li> |
| 441 | With K3B, select <c>Tools</c> > <c>CD</c> > <c>Burn Image</c>. Then |
284 | With K3B, select <c>Tools</c> > <c>Burn CD Image</c>. Then you can locate |
| 442 | you can locate your ISO file within the 'Image to Burn' area. Finally click |
285 | your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>. |
| 443 | <c>Start</c>. |
|
|
| 444 | </li> |
286 | </li> |
| 445 | </ul> |
287 | </ul> |
| 446 | |
288 | |
| 447 | </body> |
289 | </body> |
| 448 | </subsection> |
290 | </subsection> |
| … | |
… | |
| 473 | are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you |
315 | are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you |
| 474 | will need to choose <c>MILO</c> later on when we are talking about bootloaders. |
316 | will need to choose <c>MILO</c> later on when we are talking about bootloaders. |
| 475 | </p> |
317 | </p> |
| 476 | |
318 | |
| 477 | <p> |
319 | <p> |
| 478 | Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the |
320 | Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the |
| 479 | system. You can use SRM to boot the Installation CD. If you cannot do that, you |
321 | system. You can use SRM to boot the Installation CD. If you cannot do that, you |
| 480 | will have to use <c>MILO</c>. If you don't have <c>MILO</c> installed already, |
322 | will have to use <c>MILO</c>. |
| 481 | use one of the precompiled <c>MILO</c> images available on <uri |
|
|
| 482 | link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>. |
|
|
| 483 | </p> |
323 | </p> |
| 484 | |
324 | |
| 485 | <pre caption="Booting a CD-ROM using SRM"> |
325 | <pre caption="Booting a CD-ROM using SRM"> |
| 486 | <comment>(List available hardware drives)</comment> |
326 | <comment>(List available hardware drives)</comment> |
| 487 | >>> <i>show device</i> |
327 | >>> <i>show device</i> |
| 488 | dkb0.0.1.4.0 DKB0 TOSHIBA CDROM |
328 | dkb0.0.1.4.0 DKB0 TOSHIBA CDROM |
| 489 | <comment>(...)</comment> |
329 | <comment>(...)</comment> |
| 490 | <comment>(Substitute dkb0 with your CD-ROM drive device)</comment> |
330 | <comment>(Substitute dkb0 with your CD-ROM drive device)</comment> |
| 491 | >>> <i>boot dkb0 -flags 0</i> |
331 | >>> <i>boot dkb0 -flags 0</i> |
|
|
332 | <comment>(This flag will use serial port ttyS0 as the default console)</comment> |
|
|
333 | >>> <i>boot dkb0 -flags 2</i> |
| 492 | </pre> |
334 | </pre> |
| 493 | |
335 | |
| 494 | <pre caption="Booting a CD-ROM using MILO"> |
336 | <pre caption="Booting a CD-ROM using MILO"> |
| 495 | <comment>(Substitute hdb with your CD-ROM drive device)</comment> |
337 | <comment>(Substitute sdb with your CD-ROM drive device)</comment> |
| 496 | MILO> <i>boot hdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=zisofs loop=/zisofs cdroot</i> |
338 | MILO> <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot</i> |
|
|
339 | <comment>(Using serial port ttyS0 as the default console)</comment> |
|
|
340 | MILO> <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs console=ttyS0 cdroot</i> |
| 497 | </pre> |
341 | </pre> |
| 498 | |
342 | |
| 499 | <p> |
343 | <p> |
| 500 | You should have a root ("#") prompt on the current console and can also switch |
344 | You should have a root ("#") prompt on the current console and can also switch |
| 501 | to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you |
345 | to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you |
| … | |
… | |
| 506 | Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
350 | Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
| 507 | </p> |
351 | </p> |
| 508 | |
352 | |
| 509 | </body> |
353 | </body> |
| 510 | </subsection> |
354 | </subsection> |
| 511 | <subsection id="hardware"> |
|
|
| 512 | <title>Extra Hardware Configuration</title> |
|
|
| 513 | <body> |
|
|
| 514 | |
355 | |
| 515 | <p> |
|
|
| 516 | When the Installation CD boots, it tries to detect all your hardware devices and |
|
|
| 517 | loads the appropriate kernel modules to support your hardware. In the |
|
|
| 518 | vast majority of cases, it does a very good job. However, in some cases it may |
|
|
| 519 | not auto-load the kernel |
|
|
| 520 | modules you need. If the PCI auto-detection missed some of your system's |
|
|
| 521 | hardware, you will have to load the appropriate kernel modules manually. |
|
|
| 522 | </p> |
|
|
| 523 | |
|
|
| 524 | <p> |
|
|
| 525 | In the next example we try to load the <c>8139too</c> module (support for |
|
|
| 526 | certain kinds of network interfaces): |
|
|
| 527 | </p> |
|
|
| 528 | |
|
|
| 529 | <pre caption="Loading kernel modules"> |
|
|
| 530 | # <i>modprobe 8139too</i> |
|
|
| 531 | </pre> |
|
|
| 532 | |
|
|
| 533 | </body> |
|
|
| 534 | </subsection> |
356 | <subsection> |
|
|
357 | <include href="hb-install-bootconfig.xml"/> |
| 535 | <subsection> |
358 | </subsection> |
| 536 | <title>Optional: Tweaking Hard Disk Performance</title> |
|
|
| 537 | <body> |
|
|
| 538 | |
359 | |
| 539 | <p> |
|
|
| 540 | If you are an advanced user, you might want to tweak the IDE hard disk |
|
|
| 541 | performance using <c>hdparm</c>. With the <c>-tT</c> options you can |
|
|
| 542 | test the performance of your disk (execute it several times to get a |
|
|
| 543 | more precise impression): |
|
|
| 544 | </p> |
|
|
| 545 | |
|
|
| 546 | <pre caption="Testing disk performance"> |
|
|
| 547 | # <i>hdparm -tT /dev/hda</i> |
|
|
| 548 | </pre> |
|
|
| 549 | |
|
|
| 550 | <p> |
|
|
| 551 | To tweak, you can use any of the following examples (or experiment |
|
|
| 552 | yourself) which use <path>/dev/hda</path> as disk (substitute with your |
|
|
| 553 | disk): |
|
|
| 554 | </p> |
|
|
| 555 | |
|
|
| 556 | <pre caption="Tweaking hard disk performance"> |
|
|
| 557 | <comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i> |
|
|
| 558 | <comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
|
|
| 559 | </pre> |
|
|
| 560 | |
|
|
| 561 | </body> |
|
|
| 562 | </subsection> |
|
|
| 563 | <subsection id="useraccounts"> |
|
|
| 564 | <title>Optional: User Accounts</title> |
|
|
| 565 | <body> |
|
|
| 566 | |
|
|
| 567 | <p> |
|
|
| 568 | If you plan on giving other people access to your installation |
|
|
| 569 | environment or you want to chat using <c>irssi</c> without root privileges (for |
|
|
| 570 | security reasons), you need to create the necessary user accounts and change |
|
|
| 571 | the root password. |
|
|
| 572 | </p> |
|
|
| 573 | |
|
|
| 574 | <p> |
|
|
| 575 | To change the root password, use the <c>passwd</c> utility: |
|
|
| 576 | </p> |
|
|
| 577 | |
|
|
| 578 | <pre caption="Changing the root password"> |
|
|
| 579 | # <i>passwd</i> |
|
|
| 580 | New password: <comment>(Enter your new password)</comment> |
|
|
| 581 | Re-enter password: <comment>(Re-enter your password)</comment> |
|
|
| 582 | </pre> |
|
|
| 583 | |
|
|
| 584 | <p> |
|
|
| 585 | To create a user account, we first enter their credentials, followed by |
|
|
| 586 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
|
|
| 587 | In the next example, we create a user called "john". |
|
|
| 588 | </p> |
|
|
| 589 | |
|
|
| 590 | <pre caption="Creating a user account"> |
|
|
| 591 | # <i>useradd -m -G users john</i> |
|
|
| 592 | # <i>passwd john</i> |
|
|
| 593 | New password: <comment>(Enter john's password)</comment> |
|
|
| 594 | Re-enter password: <comment>(Re-enter john's password)</comment> |
|
|
| 595 | </pre> |
|
|
| 596 | |
|
|
| 597 | <p> |
|
|
| 598 | You can change your user id from root to the newly created user by using |
|
|
| 599 | <c>su</c>: |
|
|
| 600 | </p> |
|
|
| 601 | |
|
|
| 602 | <pre caption="Changing user id"> |
|
|
| 603 | # <i>su - john</i> |
|
|
| 604 | </pre> |
|
|
| 605 | |
|
|
| 606 | </body> |
|
|
| 607 | </subsection> |
|
|
| 608 | <subsection> |
|
|
| 609 | <title>Optional: Viewing Documentation while Installing</title> |
|
|
| 610 | <body> |
|
|
| 611 | |
|
|
| 612 | <p> |
|
|
| 613 | If you want to view the Gentoo Handbook (either from-CD or online) during the |
|
|
| 614 | installation, make sure you have created a user account (see <uri |
|
|
| 615 | link="#useraccounts">Optional: User Accounts</uri>). Then press <c>Alt-F2</c> to |
|
|
| 616 | go to a new terminal and log in. |
|
|
| 617 | </p> |
|
|
| 618 | |
|
|
| 619 | <p> |
|
|
| 620 | If you want to view the documentation on the CD you can immediately run |
|
|
| 621 | <c>lynx</c> to read it: |
|
|
| 622 | </p> |
|
|
| 623 | |
|
|
| 624 | <pre caption="Viewing the on-CD documentation"> |
|
|
| 625 | # <i>lynx /mnt/cdrom/docs/html/index.html</i> |
|
|
| 626 | </pre> |
|
|
| 627 | |
|
|
| 628 | <p> |
|
|
| 629 | However, it is preferred that you use the online Gentoo Handbook as it will be |
|
|
| 630 | more recent than the one provided on the CD. You can view it using <c>lynx</c> |
|
|
| 631 | as well, but only after having completed the <e>Configuring your Network</e> |
|
|
| 632 | chapter (otherwise you won't be able to go on the Internet to view the |
|
|
| 633 | document): |
|
|
| 634 | </p> |
|
|
| 635 | |
|
|
| 636 | <pre caption="Viewing the Online Documentation"> |
|
|
| 637 | # <i>lynx http://www.gentoo.org/doc/en/handbook/handbook-alpha.xml</i> |
|
|
| 638 | </pre> |
|
|
| 639 | |
|
|
| 640 | <p> |
|
|
| 641 | You can go back to your original terminal by pressing <c>Alt-F1</c>. |
|
|
| 642 | </p> |
|
|
| 643 | |
|
|
| 644 | </body> |
|
|
| 645 | </subsection> |
|
|
| 646 | <subsection> |
|
|
| 647 | <title>Optional: Starting the SSH Daemon</title> |
|
|
| 648 | <body> |
|
|
| 649 | |
|
|
| 650 | <p> |
|
|
| 651 | If you want to allow other users to access your computer during the |
|
|
| 652 | Gentoo installation (perhaps because those users are going to help you |
|
|
| 653 | install Gentoo, or even do it for you), you need to create a user |
|
|
| 654 | account for them and perhaps even provide them with your root password |
|
|
| 655 | (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
|
|
| 656 | </p> |
|
|
| 657 | |
|
|
| 658 | <p> |
|
|
| 659 | To fire up the SSH daemon, execute the following command: |
|
|
| 660 | </p> |
|
|
| 661 | |
|
|
| 662 | <pre caption="Starting the SSH daemon"> |
|
|
| 663 | # <i>/etc/init.d/sshd start</i> |
|
|
| 664 | </pre> |
|
|
| 665 | |
|
|
| 666 | <p> |
|
|
| 667 | To be able to use sshd, you first need to set up your networking. Continue with |
|
|
| 668 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
|
|
| 669 | </p> |
|
|
| 670 | |
|
|
| 671 | </body> |
|
|
| 672 | </subsection> |
|
|
| 673 | </section> |
360 | </section> |
| 674 | </sections> |
361 | </sections> |