/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-system.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-system.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.82 Revision 1.83
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-system.xml,v 1.82 2005/07/30 11:31:02 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.83 2005/08/09 09:43:58 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.9</version> 11<version>2.10</version>
12<date>2005-07-30</date> 12<date>2005-08-09</date>
13 13
14<section> 14<section>
15<title>Chrooting</title> 15<title>Chrooting</title>
16<subsection> 16<subsection>
17<title>Optional: Selecting Mirrors</title> 17<title>Optional: Selecting Mirrors</title>
171 171
172<p> 172<p>
173Previously, such a profile was barely touched by the user. However, x86, hppa 173Previously, such a profile was barely touched by the user. However, x86, hppa
174and alpha users can choose between two profiles, one for a 2.4 kernel and one 174and alpha users can choose between two profiles, one for a 2.4 kernel and one
175for a 2.6 kernel. This requirement has been imposed to improve the integration 175for a 2.6 kernel. This requirement has been imposed to improve the integration
176of the 2.6 kernels. 176of the 2.6 kernels. The ppc and ppc64 architectures have several profiles
177available as well. We will talk about those later.
177</p> 178</p>
178 179
179<p> 180<p>
180You can see what profile you are currently using with the following command: 181You can see what profile you are currently using with the following command:
181</p> 182</p>
182 183
183<pre caption="Verifying system profile"> 184<pre caption="Verifying system profile">
184# <i>ls -FGg /etc/make.profile</i> 185# <i>ls -FGg /etc/make.profile</i>
185lrwxrwxrwx 1 48 Apr 8 18:51 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2005.0/ 186lrwxrwxrwx 1 48 Apr 8 18:51 /etc/make.profile -> ../usr/portage/profiles/default-linux/x86/2005.1/
186</pre> 187</pre>
187 188
188<p> 189<p>
189If you are using one of the aforementioned three architectures, the default 190If you are using one of the aforementioned three architectures, the default
190profile will provide you with a Linux 2.6-based system. This is the recommended 191profile will provide you with a Linux 2.6-based system. This is the recommended
196If you have good reason to do this, then you should first check that an 197If you have good reason to do this, then you should first check that an
197additional profile exists. On x86, we can do this with the following command: 198additional profile exists. On x86, we can do this with the following command:
198</p> 199</p>
199 200
200<pre caption="Finding out if an additional profile exists"> 201<pre caption="Finding out if an additional profile exists">
201# <i>ls -d /usr/portage/profiles/default-linux/x86/2005.0/2.4</i> 202# <i>ls -d /usr/portage/profiles/default-linux/x86/2005.1/2.4</i>
202/usr/portage/profiles/default-linux/x86/2005.0/2.4 203/usr/portage/profiles/default-linux/x86/2005.1/2.4
203</pre> 204</pre>
204 205
205<p> 206<p>
206The above example shows that the additional 2.4 profile exists (i.e. it didn't 207The above example shows that the additional 2.4 profile exists (i.e. it didn't
207complain about missing file or directory). It is recommended that you stay with 208complain about missing file or directory). It is recommended that you stay with
208the default, but if you wish to switch, you can do so with as follows: 209the default, but if you wish to switch, you can do so with as follows:
209</p> 210</p>
210 211
211<pre caption="Switching to a 2.4 profile"> 212<pre caption="Switching to a 2.4 profile">
212<comment>(Make sure you use the right architecture, the example below is for x86)</comment> 213<comment>(Make sure you use the right architecture, the example below is for x86)</comment>
213# <i>ln -snf /usr/portage/profiles/default-linux/x86/2005.0/2.4 /etc/make.profile</i> 214# <i>ln -snf /usr/portage/profiles/default-linux/x86/2005.1/2.4 /etc/make.profile</i>
214<comment>(List the files in the 2.4 profile)</comment> 215<comment>(List the files in the 2.4 profile)</comment>
215# <i>ls -FGg /etc/make.profile/</i> 216# <i>ls -FGg /etc/make.profile/</i>
216total 12 217total 12
217-rw-r--r-- 1 939 Dec 10 14:06 packages 218-rw-r--r-- 1 939 Dec 10 14:06 packages
218-rw-r--r-- 1 347 Dec 3 2004 parent 219-rw-r--r-- 1 347 Dec 3 2004 parent
219-rw-r--r-- 1 573 Dec 3 2004 virtuals 220-rw-r--r-- 1 573 Dec 3 2004 virtuals
221</pre>
222
223<p>
224For ppc, there are a number of new profiles provided with 2005.1.
225</p>
226
227<pre caption="PPC Profiles">
228<comment>(Generic PPC profile, for all PPC machines)</comment>
229# <i>ln -snf /usr/portage/profiles/default-linux/ppc/2005.1/ppc /etc/make.profile</i>
230<comment>(G3 profile)</comment>
231# <i>ln -snf /usr/portage/profiles/default-linux/ppc/2005.1/ppc/G3 /etc/make.profile</i>
232<comment>(G3 Pegasos profile)</comment>
233# <i>ln -snf /usr/portage/profiles/default-linux/ppc/2005.1/ppc/G3/Pegasos/ /etc/make.profile</i>
234<comment>(G4 (Altivec) profile)</comment>
235# <i>ln -snf /usr/portage/profiles/default-linux/ppc/2005.1/ppc/G4 /etc/make.profile</i>
236<comment>(G4 Pegasos profile)</comment>
237# <i>ln -snf /usr/portage/profiles/default-linux/ppc/2005.1/ppc/G4/Pegasos/ /etc/make.profile</i>
238</pre>
239
240<p>
241For ppc64, there are a number of new profiles provided with 2005.1.
242</p>
243
244<pre caption="PPC64 Profiles">
245<comment>(Generic 64bit userland PPC64 profile, for all PPC64 machines)</comment>
246# <i>ln -snf /usr/portage/profiles/default-linux/ppc/2005.1/ppc64/64bit-userland /etc/make.profile</i>
247<comment>(Generic 32bit userland PPC64 profile, for all PPC64 machines)</comment>
248# <i>ln -snf /usr/portage/profiles/default-linux/ppc/2005.1/ppc64/32bit-userland /etc/make.profile</i>
249<comment>(Each type of userland has sub profiles as follows, with (userland) replaced with the chosen userland from above)</comment>
250<comment>(970 profile for JS20)</comment>
251# <i>ln -snf /usr/portage/profiles/default-linux/ppc/2005.1/ppc64/(userland)/970 /etc/make.profile</i>
252<comment>(G5 profile)</comment>
253# <i>ln -snf /usr/portage/profiles/default-linux/ppc/2005.1/ppc64/(userland)/970/pmac /etc/make.profile</i>
254<comment>(POWER3 profile)</comment>
255# <i>ln -snf /usr/portage/profiles/default-linux/ppc/2005.1/ppc64/(userland)/power3 /etc/make.profile</i>
256<comment>(POWER4 profile)</comment>
257# <i>ln -snf /usr/portage/profiles/default-linux/ppc/2005.1/ppc64/(userland)/power4 /etc/make.profile</i>
258<comment>(POWER5 profile)</comment>
259# <i>ln -snf /usr/portage/profiles/default-linux/ppc/2005.1/ppc64/(userland)/power5 /etc/make.profile</i>
260<comment>(The multilib profile is not stable as of this release.)</comment>
220</pre> 261</pre>
221 262
222</body> 263</body>
223</subsection> 264</subsection>
224<subsection id="configure_USE"> 265<subsection id="configure_USE">
352<li> 393<li>
353 If you chose <e>stage2</e> you only can skip the first step 394 If you chose <e>stage2</e> you only can skip the first step
354 and immediately start with the second one (<uri link="#doc_chap4">Progressing 395 and immediately start with the second one (<uri link="#doc_chap4">Progressing
355 from Stage2 to Stage3</uri>) 396 from Stage2 to Stage3</uri>)
356</li> 397</li>
357<!-- Keep this for 2005.1
358<li> 398<li>
359 If you chose <e>stage3</e> then you can skip both 399 If you chose <e>stage3</e> then you can skip both
360 steps and continue with <uri link="?part=1&amp;chap=7">Configuring the 400 steps and continue with <uri link="?part=1&amp;chap=7">Configuring the
361 Kernel</uri> 401 Kernel</uri>
362</li>
363-->
364<li>
365 If you chose <e>stage3</e> then you should <uri
366 link="#upgrade-baselayout">upgrade the baselayout package</uri>.
367</li> 402</li>
368</ul> 403</ul>
369 404
370</body> 405</body>
371</section> 406</section>
536</p> 571</p>
537 572
538</body> 573</body>
539</subsection> 574</subsection>
540</section> 575</section>
541<section id="upgrade-baselayout">
542<title>Upgrading baselayout</title>
543<subsection>
544<body>
545
546<p>
547The <c>baselayout</c> package has been significantly updated after the release
548of Gentoo 2005.0. Some configuration files have been moved and others use a new
549syntax. This handbook now uses the new configuration files. It is therefore
550highly recommended that you upgrade it before moving on to the next section.
551</p>
552
553<pre caption="Upgrading baselayout">
554# <i>rm /etc/conf.d/net</i>
555<comment>(Make sure we keep the nsswitch.conf file)</comment>
556# <i>touch /etc/nsswitch.conf</i>
557# <i>CONFIG_PROTECT="-*" emerge baselayout</i>
558</pre>
559
560<p>
561Please continue with <uri link="?part=1&amp;chap=7">Configuring the
562Kernel</uri>.
563</p>
564
565</body>
566</subsection>
567</section>
568 576
569</sections> 577</sections>

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83

  ViewVC Help
Powered by ViewVC 1.1.20