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

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

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

Revision 1.83 Revision 1.84
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-stage.xml,v 1.83 2005/03/25 09:29:11 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-stage.xml,v 1.84 2005/03/28 11:30:53 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>1.76</version> 11<version>2.00</version>
12<date>2005-03-25</date> 12<date>2005-03-28</date>
13 13
14<section> 14<section>
15<title>Installing a Stage Tarball</title> 15<title>Installing a Stage Tarball</title>
16<subsection> 16<subsection>
17<title>Setting the Date/Time Right</title> 17<title>Setting the Date/Time Right</title>
26To verify the current date/time, run <c>date</c>: 26To verify the current date/time, run <c>date</c>:
27</p> 27</p>
28 28
29<pre caption="Verifying the date/time"> 29<pre caption="Verifying the date/time">
30# <i>date</i> 30# <i>date</i>
31Fri Oct 29 16:21:18 CEST 2004 31Fri Mar 29 16:21:18 CEST 2005
32</pre> 32</pre>
33 33
34<p> 34<p>
35If the date/time displayed is wrong, update it using the <c>date 35If the date/time displayed is wrong, update it using the <c>date
36MMDDhhmmYYYY</c> syntax (<b>M</b>onth, <b>D</b>ay, <b>h</b>our, <b>m</b>inute 36MMDDhhmmYYYY</c> syntax (<b>M</b>onth, <b>D</b>ay, <b>h</b>our, <b>m</b>inute
37and <b>Y</b>ear). For instance, to set the date to October 29th, 16:21 in the 37and <b>Y</b>ear). For instance, to set the date to March 29th, 16:21 in the
38year 2004: 38year 2005:
39</p> 39</p>
40 40
41<pre caption="Setting the date/time"> 41<pre caption="Setting the date/time">
42# <i>date 102916212004</i> 42# <i>date 032916212005</i>
43</pre> 43</pre>
44 44
45</body> 45</body>
46</subsection> 46</subsection>
47<subsection> 47<subsection>
50 50
51<p> 51<p>
52The next step you need to perform is to install the <e>stage</e> tarball of 52The next step you need to perform is to install the <e>stage</e> tarball of
53your choice onto your system. You have the option of downloading the required 53your choice onto your system. You have the option of downloading the required
54tarball from the Internet or, if you are booted from one of the Gentoo 54tarball from the Internet or, if you are booted from one of the Gentoo
55Universal LiveCDs, copy it over from the CD itself. If you have a Universal CD 55Universal Installation CDs, copy it over from the CD itself. If you have a
56and the stage you want to use is on the CD, downloading it from the Internet is 56Universal CD and the stage you want to use is on the CD, downloading it from
57just a waste of bandwidth as the stage files are the same. In most cases, the 57the Internet is just a waste of bandwidth as the stage files are the same. In
58command <c>uname -m</c> can be used to help you decide which stage file to 58most cases, the command <c>uname -m</c> can be used to help you decide which
59download. 59stage file to download.
60</p> 60</p>
61 61
62<ul> 62<ul>
63<li><uri link="#doc_chap2">Default: Using a Stage from the Internet</uri></li> 63<li><uri link="#doc_chap2">Default: Using a Stage from the Internet</uri></li>
64<li>
64<li><uri link="#doc_chap3">Alternative: Using a Stage from the LiveCD</uri></li> 65 <uri link="#doc_chap3">Alternative: Using a Stage from the Installation CD</uri>
66</li>
65</ul> 67</ul>
66 68
67</body> 69</body>
68</subsection> 70</subsection>
69</section> 71</section>
104We will now assume that you have <c>links2</c> at your disposal. 106We will now assume that you have <c>links2</c> at your disposal.
105</p> 107</p>
106 108
107<p> 109<p>
108Pick the <path>releases/</path> directory, followed by your architecture (for 110Pick the <path>releases/</path> directory, followed by your architecture (for
109instance <path>x86/</path>) and the Gentoo version (<path>2004.3/</path>) 111instance <path>x86/</path>) and the Gentoo version (<path>2005.0/</path>)
110to finish up with the <path>stages/</path> directory. There you should see all 112to finish up with the <path>stages/</path> directory. There you should see all
111available stage files for your architecture (they might be stored within 113available stage files for your architecture (they might be stored within
112subdirectories named to the individual sub architectures). Select one and 114subdirectories named to the individual sub architectures). Select one and
113press <c>D</c> to download. When you're finished, press <c>Q</c> to quit the 115press <c>D</c> to download. When you're finished, press <c>Q</c> to quit the
114browser. 116browser.
126<c>md5sum</c> and compare the output with the MD5 checksum provided on the 128<c>md5sum</c> and compare the output with the MD5 checksum provided on the
127mirror. For instance, to check the validity of the x86 stage tarball: 129mirror. For instance, to check the validity of the x86 stage tarball:
128</p> 130</p>
129 131
130<pre caption="Example checking integrity of a stage tarball"> 132<pre caption="Example checking integrity of a stage tarball">
131# <i>md5sum -c stage1-x86-2004.3.tar.bz2.md5</i> 133# <i>md5sum -c stage1-x86-2005.0.tar.bz2.md5</i>
132stage1-x86-2004.3.tar.bz2: OK 134stage1-x86-2005.0.tar.bz2: OK
133</pre> 135</pre>
134 136
135</body> 137</body>
136</subsection> 138</subsection>
137<subsection> 139<subsection>
155permissions</e> and the <c>f</c> to denote that we want to extract a file, not 157permissions</e> and the <c>f</c> to denote that we want to extract a file, not
156standard input. 158standard input.
157</p> 159</p>
158 160
159<note> 161<note>
160Some architectures (e.g. MIPS) Live CDs and boot images rely upon the 162Some architectures (e.g. MIPS) Installation CDs and boot images rely upon the
161<c>tar</c> built into BusyBox which doesn't currently support the <c>-v</c> 163<c>tar</c> built into BusyBox which doesn't currently support the <c>-v</c>
162option. Therefore it may not work. 164option. Therefore it may not work.
163</note> 165</note>
164 166
165<p> 167<p>
169 171
170</body> 172</body>
171</subsection> 173</subsection>
172</section> 174</section>
173<section> 175<section>
174<title>Alternative: Using a Stage from the LiveCD</title> 176<title>Alternative: Using a Stage from the Installation CD</title>
175<subsection> 177<subsection>
176<title>Extracting the Stage Tarball</title> 178<title>Extracting the Stage Tarball</title>
177<body> 179<body>
178 180
179<p> 181<p>
207<p> 209<p>
208We will now extract the stage tarball of your choice. We will do this with the 210We will now extract the stage tarball of your choice. We will do this with the
209GNU <c>tar</c> tool. Make sure you use the same options (<c>-xvjpf</c>)! Again, 211GNU <c>tar</c> tool. Make sure you use the same options (<c>-xvjpf</c>)! Again,
210the <c>v</c> argument is optional and not supported in some <c>tar</c> versions. 212the <c>v</c> argument is optional and not supported in some <c>tar</c> versions.
211In the next example, we extract the stage tarball 213In the next example, we extract the stage tarball
212<path>stage3-&lt;subarch&gt;-2004.3.tar.bz2</path>. 214<path>stage3-&lt;subarch&gt;-2005.0.tar.bz2</path>.
213Be sure to substitute the tarball filename with your stage. 215Be sure to substitute the tarball filename with your stage.
214</p> 216</p>
215 217
216<pre caption="Extracting the stage tarball"> 218<pre caption="Extracting the stage tarball">
217# <i>tar -xvjpf /mnt/cdrom/stages/stage3-&lt;subarch&gt;-2004.3.tar.bz2</i> 219# <i>tar -xvjpf /mnt/cdrom/stages/stage3-&lt;subarch&gt;-2005.0.tar.bz2</i>
218</pre> 220</pre>
219 221
220<p> 222<p>
221Now that the stage is installed, continue with <uri 223Now that the stage is installed, continue with <uri
222link="#installing_portage">Installing Portage</uri>. 224link="#installing_portage">Installing Portage</uri>.

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

  ViewVC Help
Powered by ViewVC 1.1.20