| 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.4 2004/04/15 11:59:45 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-medium.xml,v 1.59 2012/11/12 21:04:16 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
|
|
10 | |
|
|
11 | <version>17</version> |
|
|
12 | <date>2012-11-12</date> |
|
|
13 | |
| 10 | <section> |
14 | <section> |
| 11 | <title>Hardware Requirements</title> |
15 | <title>Hardware Requirements</title> |
| 12 | <subsection> |
16 | <subsection> |
| 13 | <title>Introduction</title> |
17 | <title>Introduction</title> |
| 14 | <body> |
18 | <body> |
| 15 | |
19 | |
| 16 | <p> |
20 | <p> |
| 17 | Before we start, we first list what hardware requirements you need to |
21 | Before we start, we first list what hardware requirements you need to |
| 18 | successfully install Gentoo on your box. This of course depends on your |
22 | successfully install Gentoo on your box. |
| 19 | architecture. |
|
|
| 20 | </p> |
23 | </p> |
| 21 | |
24 | |
| 22 | </body> |
25 | </body> |
| 23 | </subsection> |
|
|
| 24 | <subsection> |
26 | </subsection> |
| 25 | <title>The Alpha Architecture</title> |
27 | <subsection> |
|
|
28 | <title>Hardware Requirements</title> |
|
|
29 | <body> |
|
|
30 | |
|
|
31 | <table> |
|
|
32 | <tr> |
|
|
33 | <th>CPU</th> |
|
|
34 | <ti> |
|
|
35 | Please check with the <uri |
|
|
36 | link="http://www.alphalinux.org/faq/FAQ-5.html">Alpha/Linux FAQ</uri> |
|
|
37 | </ti> |
|
|
38 | </tr> |
|
|
39 | <tr> |
|
|
40 | <th>Memory</th> |
|
|
41 | <ti>64 MB</ti> |
|
|
42 | </tr> |
|
|
43 | <tr> |
|
|
44 | <th>Diskspace</th> |
|
|
45 | <ti>1.5 GB (excluding swap space)</ti> |
|
|
46 | </tr> |
|
|
47 | <tr> |
|
|
48 | <th>Swap space</th> |
|
|
49 | <ti>At least 256 MB</ti> |
|
|
50 | </tr> |
|
|
51 | </table> |
|
|
52 | |
| 26 | <body> |
53 | </body> |
|
|
54 | </subsection> |
|
|
55 | </section> |
| 27 | |
56 | |
|
|
57 | <section> |
|
|
58 | <title>The Gentoo Installation CD</title> |
|
|
59 | <subsection> |
|
|
60 | <title>Introduction</title> |
|
|
61 | <body> |
|
|
62 | |
|
|
63 | <p> |
|
|
64 | The <e>Gentoo Installation CDs</e> are bootable CDs which contain a |
|
|
65 | self-sustained Gentoo environment. They allow you to boot Linux from the CD. |
|
|
66 | During the boot process your hardware is detected and the appropriate drivers |
|
|
67 | are loaded. They are maintained by Gentoo developers. |
| 28 | <p> |
68 | </p> |
| 29 | Check the following requirements before you |
69 | |
| 30 | continue with the Gentoo installation: |
70 | <p> |
|
|
71 | All Installation CDs allow you to boot, set up networking, initialize your |
|
|
72 | partitions and start installing Gentoo from the Internet. |
|
|
73 | </p> |
|
|
74 | |
|
|
75 | <!-- |
|
|
76 | <impo> |
|
|
77 | If you wish to install Gentoo without a working Internet connection, please use |
|
|
78 | the installation instructions described in the <uri |
|
|
79 | link="2008.0/index.xml">Gentoo 2008.0 Handbooks</uri>. |
|
|
80 | </impo> |
|
|
81 | |
|
|
82 | <p> |
|
|
83 | The two Installation CDs we currently provide are: |
| 31 | </p> |
84 | </p> |
| 32 | |
85 | |
| 33 | <ul> |
86 | <ul> |
| 34 | <li> |
87 | <li> |
| 35 | You need at least 1 Gb of free disk space |
88 | The Gentoo Minimal Installation CD, a small, no-nonsense, bootable CD which |
|
|
89 | sole purpose is to boot the system, prepare the networking and continue |
|
|
90 | with the Gentoo installation. |
| 36 | </li> |
91 | </li> |
| 37 | <li> |
92 | <li> |
| 38 | For the <e>Alpha architecture</e>, you should check with the <uri |
93 | The Gentoo Universal Installation CD, a bootable CD with the same abilities |
| 39 | link="http://www.alphalinux.org/faq/FAQ-5.html">Alpha/Linux FAQ</uri> |
94 | as the Minimal Installation CD. Additionally, it contains several stage3 |
|
|
95 | tarballs (optimized for the individual subarchitectures). |
| 40 | </li> |
96 | </li> |
| 41 | </ul> |
97 | </ul> |
| 42 | |
98 | |
|
|
99 | <p> |
|
|
100 | To help you decide which Installation CD you need, we have written down the |
|
|
101 | major advantages and disadvantages of each Installation CD. |
|
|
102 | </p> |
|
|
103 | --> |
|
|
104 | |
| 43 | </body> |
105 | </body> |
| 44 | </subsection> |
|
|
| 45 | </section> |
|
|
| 46 | <section> |
|
|
| 47 | <title>Make your Choice</title> |
|
|
| 48 | <subsection> |
106 | </subsection> |
| 49 | <title>Introduction</title> |
|
|
| 50 | <body> |
|
|
| 51 | |
|
|
| 52 | <p> |
|
|
| 53 | Still interested in trying out Gentoo? Well, then it is now time to |
|
|
| 54 | choose the installation medium you want to use. Yes, you have the |
|
|
| 55 | choice, no, they are not all equal, and yes, the result is always the same: a |
|
|
| 56 | Gentoo base system. |
|
|
| 57 | </p> |
|
|
| 58 | |
|
|
| 59 | <p> |
|
|
| 60 | The installation media we will describe are: |
|
|
| 61 | </p> |
|
|
| 62 | |
|
|
| 63 | <ul> |
|
|
| 64 | <li>The Gentoo Alpha LiveCD</li> |
|
|
| 65 | </ul> |
|
|
| 66 | |
|
|
| 67 | <p> |
|
|
| 68 | Before we continue, let's explain our three-stage installation. |
|
|
| 69 | </p> |
|
|
| 70 | |
|
|
| 71 | </body> |
|
|
| 72 | </subsection> |
107 | <subsection> |
| 73 | <subsection> |
108 | <title>Gentoo Minimal Installation CD</title> |
| 74 | <title>The Three Stages</title> |
|
|
| 75 | <body> |
109 | <body> |
| 76 | |
110 | |
| 77 | <p> |
|
|
| 78 | Gentoo Linux can be installed using one of three <e>stage</e> tarball files. |
|
|
| 79 | The one you choose depends on how much of the system you want to compile |
|
|
| 80 | yourself. The <e>stage1</e> tarball is used when you want to bootstrap and |
|
|
| 81 | build the entire system from scratch. The <e>stage2</e> tarball is used for |
|
|
| 82 | building the entire system from a bootstrapped "semi-compiled" state. |
|
|
| 83 | The <e>stage3</e> tarball already contains a basic Gentoo Linux system that has |
|
|
| 84 | been built for you. |
|
|
| 85 | </p> |
111 | <p> |
| 86 | |
112 | The Minimal Installation CD is called <c><keyval id="min-cd-name"/></c> and |
|
|
113 | takes up around <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. |
| 87 | <p> |
116 | </p> |
| 88 | Now what stage do you have to choose? |
117 | <!-- |
| 89 | </p> |
|
|
| 90 | |
|
|
| 91 | <p> |
|
|
| 92 | Starting from a <e>stage1</e> allows you to have total control over the |
|
|
| 93 | optimization settings and optional build-time functionality that is |
|
|
| 94 | initially enabled on your system. This makes <e>stage1</e> installs good for |
|
|
| 95 | power users who know what they are doing. It is also a great |
|
|
| 96 | installation method for those who would like to know more about the |
|
|
| 97 | inner workings of Gentoo Linux. |
|
|
| 98 | </p> |
|
|
| 99 | |
|
|
| 100 | <table> |
118 | <table> |
| 101 | <tr> |
119 | <tr> |
| 102 | <th>Stage1</th> |
120 | <th>Minimal Installation CD</th> |
| 103 | <th>Pros and Cons</th> |
121 | <th>Pros and Cons</th> |
| 104 | </tr> |
122 | </tr> |
| 105 | <tr> |
123 | <tr> |
| 106 | <th>+</th> |
124 | <th>+</th> |
| 107 | <ti> |
125 | <ti>Smallest download</ti> |
| 108 | Allows you to have total control over the optimization settings and optional |
|
|
| 109 | build-time functionality that is initially enabled on your system |
|
|
| 110 | </ti> |
|
|
| 111 | </tr> |
|
|
| 112 | <tr> |
|
|
| 113 | <th>+</th> |
|
|
| 114 | <ti>Suitable for powerusers that know what they are doing</ti> |
|
|
| 115 | </tr> |
|
|
| 116 | <tr> |
|
|
| 117 | <th>+</th> |
|
|
| 118 | <ti>Allows you to learn more about the inner workings of Gentoo</ti> |
|
|
| 119 | </tr> |
|
|
| 120 | <tr> |
|
|
| 121 | <th>-</th> |
|
|
| 122 | <ti>Takes a long time to finish the installation</ti> |
|
|
| 123 | </tr> |
126 | </tr> |
| 124 | <tr> |
127 | <tr> |
| 125 | <th>-</th> |
128 | <th>-</th> |
| 126 | <ti> |
129 | <ti> |
| 127 | If you don't intend to tweak the settings, it is probably a waste of time |
130 | Contains no stage3 tarball, no Portage snapshot, no prebuilt packages and is |
|
|
131 | therefore not suitable for networkless installation |
| 128 | </ti> |
132 | </ti> |
| 129 | </tr> |
133 | </tr> |
| 130 | </table> |
134 | </table> |
| 131 | |
135 | |
|
|
136 | </body> |
|
|
137 | </subsection> |
|
|
138 | <subsection> |
|
|
139 | <title>Gentoo's Universal Installation CD</title> |
|
|
140 | <body> |
|
|
141 | |
| 132 | <p> |
142 | <p> |
| 133 | <e>Stage2</e> installs allow you to skip the bootstrap process and doing this |
143 | The Universal Installation CD is called <c>install-alpha-universal-2008.0.iso</c> |
| 134 | is fine if you are happy with the optimization settings that we chose |
144 | and consumes about 316 MB on a CD. You can use this Installation CD to install |
| 135 | for your particular <e>stage2</e> tarball. |
145 | Gentoo, and you can even use it to install Gentoo without a working internet |
|
|
146 | connection. |
| 136 | </p> |
147 | </p> |
| 137 | |
148 | |
| 138 | <table> |
149 | <table> |
| 139 | <tr> |
150 | <tr> |
| 140 | <th>Stage2</th> |
151 | <th>Universal Installation CD</th> |
| 141 | <th>Pros and Cons</th> |
152 | <th>Pros and Cons</th> |
| 142 | </tr> |
153 | </tr> |
| 143 | <tr> |
154 | <tr> |
| 144 | <th>+</th> |
155 | <ti>+</ti> |
| 145 | <ti>You don't need to bootstrap</ti> |
156 | <ti> |
| 146 | </tr> |
157 | Contains everything you need. You can even install without a network |
|
|
158 | connection. |
|
|
159 | </ti> |
| 147 | <tr> |
160 | </tr> |
| 148 | <th>+</th> |
|
|
| 149 | <ti>Faster than starting with stage1</ti> |
|
|
| 150 | </tr> |
161 | <tr> |
| 151 | <tr> |
|
|
| 152 | <th>+</th> |
|
|
| 153 | <ti>You can still tweak your settings</ti> |
|
|
| 154 | </tr> |
|
|
| 155 | <tr> |
|
|
| 156 | <th>-</th> |
162 | <ti>-</ti> |
| 157 | <ti>You cannot tweak as much as with a stage1</ti> |
163 | <ti> |
| 158 | </tr> |
164 | Huge download |
| 159 | <tr> |
165 | </ti> |
| 160 | <th>-</th> |
|
|
| 161 | <ti>It's not the fastest way to install Gentoo</ti> |
|
|
| 162 | </tr> |
|
|
| 163 | <tr> |
|
|
| 164 | <th>-</th> |
|
|
| 165 | <ti>You have to accept the optimizations we chose for the bootstrap</ti> |
|
|
| 166 | </tr> |
166 | </tr> |
| 167 | </table> |
167 | </table> |
| 168 | |
168 | |
| 169 | <p> |
|
|
| 170 | Choosing to go with a <e>stage3</e> allows for the fastest install of Gentoo |
|
|
| 171 | Linux, but also means that your base system will have the optimization |
|
|
| 172 | settings that we chose for you (which to be honest, are good settings |
|
|
| 173 | and were carefully chosen to enhance performance while maintaining |
|
|
| 174 | stability). <e>stage3</e> is also required if you want to install Gentoo using |
|
|
| 175 | prebuilt packages. |
|
|
| 176 | </p> |
|
|
| 177 | |
|
|
| 178 | <table> |
|
|
| 179 | <tr> |
|
|
| 180 | <th>Stage3</th> |
|
|
| 181 | <th>Pros and Cons</th> |
|
|
| 182 | </tr> |
|
|
| 183 | <tr> |
|
|
| 184 | <th>+</th> |
|
|
| 185 | <ti>Fastest way to get a Gentoo base system</ti> |
|
|
| 186 | </tr> |
|
|
| 187 | <tr> |
|
|
| 188 | <th>-</th> |
|
|
| 189 | <ti>You cannot tweak the base system - it's built already</ti> |
|
|
| 190 | </tr> |
|
|
| 191 | <tr> |
|
|
| 192 | <th>-</th> |
|
|
| 193 | <ti>You cannot brag about having used stage1 or stage2</ti> |
|
|
| 194 | </tr> |
|
|
| 195 | </table> |
|
|
| 196 | |
|
|
| 197 | <p> |
|
|
| 198 | Write down (or remember) what stage you want to use. You need this later when |
|
|
| 199 | you decide what LiveCD (or other installation medium) you want to use. You might |
|
|
| 200 | be interested to know that, if you decide to use different optimization settings |
|
|
| 201 | after having installed Gentoo, you will be able to recompile your entire system |
|
|
| 202 | with the new optimization settings. |
|
|
| 203 | </p> |
|
|
| 204 | |
|
|
| 205 | <p> |
|
|
| 206 | Now take a look at the available installation media. |
|
|
| 207 | </p> |
|
|
| 208 | |
|
|
| 209 | </body> |
169 | </body> |
| 210 | </subsection> |
|
|
| 211 | <subsection> |
170 | </subsection> |
| 212 | <title>The Gentoo Alpha LiveCD</title> |
171 | |
|
|
172 | <subsection> |
|
|
173 | <title>Other CDs</title> |
|
|
174 | <body> |
|
|
175 | |
|
|
176 | <p> |
|
|
177 | You might find a Package CD on one of our mirrors. This CD is not an |
|
|
178 | Installation CD but an additional resource that can be exploited during a |
|
|
179 | networkless installation. It contains prebuilt packages (also known as the GRP |
|
|
180 | set) that allow you to easily and quickly install additional applications |
|
|
181 | (such as OpenOffice.org, KDE, GNOME, ...) immediately after the networkless |
|
|
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 | --> |
| 213 | <body> |
190 | </body> |
|
|
191 | </subsection> |
|
|
192 | <subsection> |
|
|
193 | <title>The Stage3 Tarball</title> |
|
|
194 | <body> |
| 214 | |
195 | |
| 215 | <p> |
|
|
| 216 | The <e>Gentoo Alpha LiveCD</e> is a bootable CD which contain a |
|
|
| 217 | self-sustained Gentoo environment. It allows you to boot Linux from the CD. |
|
|
| 218 | During the boot process your hardware is detected and the appropriate drivers |
|
|
| 219 | are loaded. It is maintained by Gentoo developers. |
|
|
| 220 | </p> |
196 | <p> |
| 221 | |
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> |
| 222 | <p> |
205 | </p> |
| 223 | The <e>Gentoo Alpha LiveCD</e> is a small, no-nonsense, bootable CD which sole |
206 | |
| 224 | purpose is to boot the system, prepare the networking and continue with the |
207 | <p> |
| 225 | Gentoo installation. It does not contain any stages (or, in some cases, a |
208 | Stage3 tarballs can be downloaded from <path><keyval |
| 226 | single stage1 file), source code or precompiled packages. For example the |
209 | id="release-dir"/>current-stage3/</path> on any of the <uri |
| 227 | alpha variant of this LiveCD can be found in the |
210 | link="/main/en/mirrors.xml">Official Gentoo Mirrors</uri> and are not provided |
| 228 | <path>releases/1.4_rc1/alpha</path> subdirectory and is called |
211 | on the LiveCD. |
| 229 | <c>gentoo-alpha-1.4rc1-test3.iso.bz2</c>. |
|
|
| 230 | </p> |
212 | </p> |
| 231 | |
213 | |
| 232 | </body> |
214 | </body> |
| 233 | </subsection> |
215 | </subsection> |
| 234 | </section> |
216 | </section> |
|
|
217 | <!-- STOP --> |
| 235 | <section> |
218 | <section> |
| 236 | <title>Download, Burn and Boot the Gentoo LiveCD</title> |
219 | <title>Download, Burn and Boot a Gentoo Installation CD</title> |
| 237 | <subsection> |
220 | <subsection> |
| 238 | <title>Downloading and Burning the LiveCDs</title> |
221 | <title>Downloading and Burning the Installation CDs</title> |
| 239 | <body> |
222 | <body> |
| 240 | |
223 | |
| 241 | <p> |
|
|
| 242 | You have chosen to use a Gentoo LiveCD (if not, then you are reading the |
|
|
| 243 | wrong document). We'll first start by downloading and burning the chosen |
|
|
| 244 | LiveCD. |
|
|
| 245 | </p> |
224 | <p> |
| 246 | |
225 | You have chosen to use a Gentoo Installation CD. We'll first start by |
|
|
226 | downloading and burning the chosen Installation CD. We previously discussed |
|
|
227 | the several available Installation CDs, but where can you find them? |
| 247 | <p> |
228 | </p> |
| 248 | Visit one of our <uri |
229 | |
| 249 | link="/main/en/mirrors.xml">mirrors</uri> and go to |
|
|
| 250 | <path>releases/1.4rc1/alpha</path> which is where the LiveCD(s) of your choice |
|
|
| 251 | are located. Inside that directory you'll find so-called ISO-files. Those are |
|
|
| 252 | full CD images which you can write on a CD-R. |
|
|
| 253 | </p> |
230 | <p> |
| 254 | |
231 | You can download any of the Installation CDs from one of our <uri |
|
|
232 | link="/main/en/mirrors.xml">mirrors</uri>. The Installation CDs are located in |
|
|
233 | the <path><keyval id="release-dir"/>current-iso/</path> directory. |
| 255 | <p> |
234 | </p> |
|
|
235 | |
|
|
236 | <p> |
|
|
237 | Inside that directory you'll find ISO files. Those are full CD images which you |
|
|
238 | can write on a CD-R. |
|
|
239 | </p> |
|
|
240 | |
|
|
241 | <p> |
| 256 | 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 |
| 257 | check its MD5 checksum and compare it with the MD5 checksum we provide (such as |
243 | its SHA-2 checksum and compare it with the SHA-2 checksum we provide (such as |
| 258 | <path>gentoo-alpha-1.4rc1-test3.iso.bz2.md5sum</path>). You can check the MD5 |
244 | <path><keyval id="min-cd-name"/>.DIGESTS</path>). You can check the SHA-2 checksum |
| 259 | checksum with the <c>md5sum</c> tool under Linux/Unix or <uri |
245 | with the <c>sha512sum</c> tool under Linux/Unix or <uri |
| 260 | link="http://www.md5summer.org">md5summer</uri> for Windows. |
246 | link="http://www.krylack.com/file-checksum-tool/">File Checksum Tool</uri> for Windows. |
| 261 | </p> |
|
|
| 262 | |
|
|
| 263 | <p> |
247 | </p> |
| 264 | Once downloaded, decompress the ISO file (as it is stored in a compressed format |
248 | |
| 265 | using the Burrows-Wheeler text compression algorithm) using <c>bunzip2</c> (on |
|
|
| 266 | Unix/Linux systems): |
|
|
| 267 | </p> |
249 | <p> |
|
|
250 | Another way to check the validity of the downloaded file is to use GnuPG to |
|
|
251 | verify the cryptographic signature that we provide (the file ending with |
|
|
252 | <path>.asc</path>). Download the signature file and obtain the public keys whose |
|
|
253 | key ids can be found on the <uri link="/proj/en/releng/index.xml">release |
|
|
254 | engineering project site</uri>. |
|
|
255 | </p> |
| 268 | |
256 | |
| 269 | <pre caption="Decompressing the iso.bz2 file"> |
257 | <pre caption="Obtaining the public key"> |
| 270 | # <i>bunzip2 gentoo-alpha-1.4rc1-test3.iso.bz2</i> |
258 | <comment>(... Substitute the key ids with those mentioned on the release engineering site ...)</comment> |
|
|
259 | $ <i>gpg --keyserver subkeys.pgp.net --recv-keys 96D8BF6D 2D182910 17072058</i> |
| 271 | </pre> |
260 | </pre> |
| 272 | |
261 | |
| 273 | <p> |
262 | <p> |
|
|
263 | Now verify the signature: |
|
|
264 | </p> |
|
|
265 | |
|
|
266 | <pre caption="Verify the files"> |
|
|
267 | <comment>(Verify the cryptographic signature)</comment> |
|
|
268 | $ <i>gpg --verify <downloaded iso.DIGESTS.asc></i> |
|
|
269 | <comment>(Verify the checksum)</comment> |
|
|
270 | $ <i>sha1sum -c <downloaded iso.DIGESTS.asc></i> |
|
|
271 | </pre> |
|
|
272 | |
|
|
273 | <p> |
| 274 | To burn the downloaded ISO(s), you have to select raw-burning. How you |
274 | To burn the downloaded ISO(s), you have to select raw-burning. How you |
| 275 | do this is highly program-dependent. We will discuss a couple of popular |
275 | do this is highly program-dependent. We will discuss <c>cdrecord</c> and |
| 276 | tools on how to do this. |
276 | <c>K3B</c> here; more information can be found in our <uri |
|
|
277 | link="/doc/en/faq.xml#isoburning">Gentoo FAQ</uri>. |
| 277 | </p> |
278 | </p> |
| 278 | |
279 | |
| 279 | <ul> |
280 | <ul> |
| 280 | <li> |
281 | <li> |
| 281 | With EasyCD Creator you select <c>File</c>, <c>Record CD |
282 | With cdrecord, you simply type <c>cdrecord dev=/dev/hdc <downloaded iso |
| 282 | from CD image</c>. Then you change the <c>Files of type</c> to <c>ISO image |
283 | file></c> (replace <path>/dev/hdc</path> with your CD-RW drive's |
| 283 | file</c>. Then locate the ISO file and click <c>Open</c>. When you click on |
284 | device path). |
| 284 | <c>Start recording</c> the ISO image will be burned correctly onto the CD-R. |
|
|
| 285 | </li> |
285 | </li> |
| 286 | <li> |
286 | <li> |
| 287 | With Nero Burning ROM, select <c>File</c>, <c>Burn CD image</c>. Set the |
|
|
| 288 | type of file to <c>*.*</c> and select the ISO file. Older versions of Nero |
|
|
| 289 | will tell you they don't recognize the format -- confirm here, it does |
|
|
| 290 | recognize it but doesn't know it yet :) In the next dialog, set the |
|
|
| 291 | following parameters: |
|
|
| 292 | <ul> |
|
|
| 293 | <li>Type of image: <c>Data Mode 1</c></li> |
|
|
| 294 | <li>Block size: <c>2048 bytes</c></li> |
|
|
| 295 | <li>File precursor and length of the image trailer: <c>0 bytes</c></li> |
|
|
| 296 | <li>Scrambled: <c>no</c></li> |
|
|
| 297 | <li>Swapped: <c>no</c></li> |
|
|
| 298 | </ul> |
|
|
| 299 | Now click on <c>OK</c> and then <c>Burn</c> (the CD-R) |
|
|
| 300 | </li> |
|
|
| 301 | <li> |
|
|
| 302 | With cdrecord, you simply type <c>cdrecord dev=/dev/hdc</c> (replace |
|
|
| 303 | <path>/dev/hdc</path> with your CD-RW drive's device path) followed |
|
|
| 304 | by the path to the ISO file :) |
|
|
| 305 | </li> |
|
|
| 306 | <li> |
|
|
| 307 | With K3B, select <c>Tools</c> > <c>CD</c> > <c>Burn Image</c>. The |
287 | With K3B, select <c>Tools</c> > <c>Burn CD Image</c>. Then you can locate |
| 308 | under the 'Image to Burn' area, locate the ISO file. Finally click |
288 | your ISO file within the 'Image to Burn' area. Finally click <c>Start</c>. |
| 309 | <c>Start</c>. |
|
|
| 310 | </li> |
289 | </li> |
| 311 | </ul> |
290 | </ul> |
| 312 | |
291 | |
| 313 | </body> |
292 | </body> |
| 314 | </subsection> |
293 | </subsection> |
| 315 | <subsection> |
294 | <subsection> |
| 316 | <title>Booting the Alpha LiveCD(s)</title> |
295 | <title>Booting the Installation CD</title> |
| 317 | <body> |
296 | <body> |
| 318 | |
297 | |
| 319 | <p> |
298 | <p> |
| 320 | When your Alpha is powered on, the first thing that gets started is the |
299 | When your Alpha is powered on, the first thing that gets started is the |
| 321 | firmware. It is loosely synonymous with the BIOS software on PC systems. There |
300 | firmware. It is loosely synonymous with the BIOS software on PC systems. There |
| … | |
… | |
| 323 | Manual</e>) and ARC (<e>Advanced Risc Console</e>). |
302 | Manual</e>) and ARC (<e>Advanced Risc Console</e>). |
| 324 | </p> |
303 | </p> |
| 325 | |
304 | |
| 326 | <p> |
305 | <p> |
| 327 | SRM is based on the Alpha Console Subsystem specification, which provides an |
306 | SRM is based on the Alpha Console Subsystem specification, which provides an |
| 328 | operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARM |
307 | operating environment for OpenVMS, Tru64 UNIX, and Linux operating systems. ARC |
| 329 | is based on the Advanced RISC Computing (ARC) specification, which provides |
308 | is based on the Advanced RISC Computing (ARC) specification, which provides |
| 330 | an operating environment for Windows NT. |
309 | an operating environment for Windows NT. You can find a |
| 331 | </p> |
310 | <uri link="http://www.alphalinux.org/faq/SRM-HOWTO/">detailed guide</uri> on |
| 332 | |
311 | using SRM over at the Alpha Linux website. |
| 333 | <p> |
312 | </p> |
|
|
313 | |
|
|
314 | <p> |
| 334 | If your Alpha system supports both SRC and ARCs (ARC, AlphaBIOS, ARCSBIOS) you |
315 | If your Alpha system supports both SRM and ARCs (ARC, AlphaBIOS, ARCSBIOS) you |
| 335 | should follow <uri link="http://www.alphalinux.org/faq/x31.html">these |
316 | should follow <uri link="http://www.alphalinux.org/faq/x31.html">these |
| 336 | instructions</uri> for switching to SRM. If your system already uses SRM, you |
317 | instructions</uri> for switching to SRM. If your system already uses SRM, you |
| 337 | are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you |
318 | are all set. If your system can only use ARCs (Ruffian, nautilus, xl, etc.) you |
| 338 | will need to choose <c>MILO</c> later on when we are talking about bootloaders. |
319 | will need to choose <c>MILO</c> later on when we are talking about bootloaders. |
| 339 | </p> |
320 | </p> |
| 340 | |
321 | |
| 341 | <p> |
322 | <p> |
| 342 | Now to boot an Alpha LiveCD, put the CD-ROM in the tray and reboot the system. |
323 | Now to boot an Alpha Installation CD, put the CD-ROM in the tray and reboot the |
| 343 | You can use SRM to boot the LiveCD. If you cannot do that, you will have to use |
324 | system. You can use SRM to boot the Installation CD. If you cannot do that, you |
| 344 | <c>MILO</c>. If you don't have <c>MILO</c> installed already, use one of the |
325 | will have to use <c>MILO</c>. |
| 345 | precompiled <c>MILO</c> images available on <uri |
|
|
| 346 | link="http://dev.gentoo.org/~taviso/milo/">taviso's homepage</uri>. |
|
|
| 347 | </p> |
326 | </p> |
| 348 | |
327 | |
| 349 | <pre caption="Booting a CD-ROM using SRM"> |
328 | <pre caption="Booting a CD-ROM using SRM"> |
| 350 | <comment>(List available hardware drives)</comment> |
329 | <comment>(List available hardware drives)</comment> |
| 351 | >>> <i>show device</i> |
330 | >>> <i>show device</i> |
| 352 | dkb0.0.1.4.0 DKB0 TOSHIBA CDROM |
331 | dkb0.0.1.4.0 DKB0 TOSHIBA CDROM |
| 353 | <comment>(...)</comment> |
332 | <comment>(...)</comment> |
| 354 | <comment>(Substitute dkb0 with your CD-ROM drive device)</comment> |
333 | <comment>(Substitute dkb0 with your CD-ROM drive device)</comment> |
| 355 | >>> <i>boot dkb0 -flags 0</i> |
334 | >>> <i>boot dkb0 -flags 0</i> |
|
|
335 | <comment>(This flag will use serial port ttyS0 as the default console)</comment> |
|
|
336 | >>> <i>boot dkb0 -flags 2</i> |
| 356 | </pre> |
337 | </pre> |
| 357 | |
338 | |
| 358 | <pre caption="Booting a CD-ROM using MILO"> |
339 | <pre caption="Booting a CD-ROM using MILO"> |
| 359 | <comment>(Substitute hdb with your CD-ROM drive device)</comment> |
340 | <comment>(Substitute sdb with your CD-ROM drive device)</comment> |
| 360 | MILO> <i>boot hdb:boot/vmlinuz initrd=initrd.img root=/dev/ram0 init=/linuxrc</i> |
341 | MILO> <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs cdroot</i> |
|
|
342 | <comment>(Using serial port ttyS0 as the default console)</comment> |
|
|
343 | MILO> <i>boot sdb:/boot/gentoo initrd=/boot/gentoo.igz root=/dev/ram0 init=/linuxrc looptype=squashfs loop=/image.squashfs console=ttyS0 cdroot</i> |
| 361 | </pre> |
344 | </pre> |
| 362 | |
345 | |
| 363 | <p> |
346 | <p> |
| 364 | You should have a root ("#") prompt on the current console and can also switch |
347 | You should have a root ("#") prompt on the current console and can also switch |
| 365 | to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you |
348 | to other consoles by pressing Alt-F2, Alt-F3 and Alt-F4. Get back to the one you |
| … | |
… | |
| 370 | Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
353 | Now continue with <uri link="#hardware">Extra Hardware Configuration</uri>. |
| 371 | </p> |
354 | </p> |
| 372 | |
355 | |
| 373 | </body> |
356 | </body> |
| 374 | </subsection> |
357 | </subsection> |
| 375 | <subsection id="hardware"> |
|
|
| 376 | <title>Extra Hardware Configuration</title> |
|
|
| 377 | <body> |
|
|
| 378 | |
358 | |
| 379 | <p> |
|
|
| 380 | When the Live CD boots, it tries to detect all your hardware devices and |
|
|
| 381 | loads the appropriate kernel modules to support your hardware. In the |
|
|
| 382 | vast majority of cases, it does a very good job. However, in some cases (the |
|
|
| 383 | SPARC LiveCDs don't even do autodetection), it may not auto-load the kernel |
|
|
| 384 | modules you need. If the PCI auto-detection missed some of your system's |
|
|
| 385 | hardware, you will have to load the appropriate kernel modules manually. |
|
|
| 386 | </p> |
|
|
| 387 | |
|
|
| 388 | <p> |
|
|
| 389 | In the next example we try to load the <c>8139too</c> module (support for |
|
|
| 390 | certain kinds of network interfaces): |
|
|
| 391 | </p> |
|
|
| 392 | |
|
|
| 393 | <pre caption="Loading kernel modules"> |
|
|
| 394 | # <i>modprobe 8139too</i> |
|
|
| 395 | </pre> |
|
|
| 396 | |
|
|
| 397 | </body> |
|
|
| 398 | </subsection> |
359 | <subsection> |
|
|
360 | <include href="hb-install-bootconfig.xml"/> |
| 399 | <subsection> |
361 | </subsection> |
| 400 | <title>Optional: Tweaking Hard Disk Performance</title> |
|
|
| 401 | <body> |
|
|
| 402 | |
362 | |
| 403 | <p> |
|
|
| 404 | If you are an advanced user, you might want to tweak the IDE hard disk |
|
|
| 405 | performance using <c>hdparm</c>. With the <c>-tT</c> options you can |
|
|
| 406 | test the performance of your disk (execute it several times to get a |
|
|
| 407 | more precise impression): |
|
|
| 408 | </p> |
|
|
| 409 | |
|
|
| 410 | <pre caption="Testing disk performance"> |
|
|
| 411 | # <i>hdparm -tT /dev/hda</i> |
|
|
| 412 | </pre> |
|
|
| 413 | |
|
|
| 414 | <p> |
|
|
| 415 | To tweak, you can use any of the following examples (or experiment |
|
|
| 416 | yourself) which use <path>/dev/hda</path> as disk (substitute with your |
|
|
| 417 | disk): |
|
|
| 418 | </p> |
|
|
| 419 | |
|
|
| 420 | <pre caption="Tweaking hard disk performance"> |
|
|
| 421 | <comment>Activate DMA:</comment> # <i>hdparm -d 1 /dev/hda</i> |
|
|
| 422 | <comment>Activate DMA + Safe Performance-enhancing Options:</comment> # <i>hdparm -d 1 -A 1 -m 16 -u 1 -a 64 /dev/hda</i> |
|
|
| 423 | </pre> |
|
|
| 424 | |
|
|
| 425 | </body> |
|
|
| 426 | </subsection> |
|
|
| 427 | <subsection> |
|
|
| 428 | <title>Optional: User Accounts</title> |
|
|
| 429 | <body> |
|
|
| 430 | |
|
|
| 431 | <p> |
|
|
| 432 | If you plan on giving other people access to your installation |
|
|
| 433 | environment or you want to chat using <c>irssi</c> without root privileges (for |
|
|
| 434 | security reasons), you need to create the necessary user accounts and change |
|
|
| 435 | the root password. |
|
|
| 436 | </p> |
|
|
| 437 | |
|
|
| 438 | <p> |
|
|
| 439 | To change the root password, use the <c>passwd</c> utility: |
|
|
| 440 | </p> |
|
|
| 441 | |
|
|
| 442 | <pre caption="Changing the root password"> |
|
|
| 443 | # <i>passwd</i> |
|
|
| 444 | New password: <comment>(Enter your new password)</comment> |
|
|
| 445 | Re-enter password: <comment>(Re-enter your password)</comment> |
|
|
| 446 | </pre> |
|
|
| 447 | |
|
|
| 448 | <p> |
|
|
| 449 | To create a user account, we first enter their credentials, followed by |
|
|
| 450 | its password. We use <c>useradd</c> and <c>passwd</c> for these tasks. |
|
|
| 451 | In the next example, we create a user called "john". |
|
|
| 452 | </p> |
|
|
| 453 | |
|
|
| 454 | <pre caption="Creating a user account"> |
|
|
| 455 | # <i>useradd john</i> |
|
|
| 456 | # <i>passwd john</i> |
|
|
| 457 | New password: <comment>(Enter john's password)</comment> |
|
|
| 458 | Re-enter password: <comment>(Re-enter john's password)</comment> |
|
|
| 459 | </pre> |
|
|
| 460 | |
|
|
| 461 | <p> |
|
|
| 462 | You can change your user id from root to the newly created user by using |
|
|
| 463 | <c>su</c>: |
|
|
| 464 | </p> |
|
|
| 465 | |
|
|
| 466 | <pre caption="Changing user id"> |
|
|
| 467 | # <i>su john -</i> |
|
|
| 468 | </pre> |
|
|
| 469 | |
|
|
| 470 | </body> |
|
|
| 471 | </subsection> |
|
|
| 472 | <subsection> |
|
|
| 473 | <title>Optional: Starting the SSH Daemon</title> |
|
|
| 474 | <body> |
|
|
| 475 | |
|
|
| 476 | <p> |
|
|
| 477 | If you want to allow other users to access your computer during the |
|
|
| 478 | Gentoo installation (perhaps because those users are going to help you |
|
|
| 479 | install Gentoo, or even do it for you), you need to create a user |
|
|
| 480 | account for them and perhaps even provide them with your root password |
|
|
| 481 | (<e>only</e> do that <e>if</e> you <b>fully trust</b> that user). |
|
|
| 482 | </p> |
|
|
| 483 | |
|
|
| 484 | <p> |
|
|
| 485 | To fire up the SSH daemon, execute the following command: |
|
|
| 486 | </p> |
|
|
| 487 | |
|
|
| 488 | <pre caption="Starting the SSH daemon"> |
|
|
| 489 | # <i>/etc/init.d/sshd start</i> |
|
|
| 490 | </pre> |
|
|
| 491 | |
|
|
| 492 | <p> |
|
|
| 493 | To be able to use sshd, you first need to setup your networking. Continue with |
|
|
| 494 | the chapter on <uri link="?part=1&chap=3">Configuring your Network</uri>. |
|
|
| 495 | </p> |
|
|
| 496 | |
|
|
| 497 | </body> |
|
|
| 498 | </subsection> |
|
|
| 499 | </section> |
363 | </section> |
| 500 | </sections> |
364 | </sections> |