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

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

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

Revision 1.1 Revision 1.2
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-hppa-disk.xml,v 1.1 2004/04/02 08:14:45 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-disk.xml,v 1.2 2004/05/22 14:31:25 dertobi123 Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>Introduction to Block Devices</title> 11<title>Introduction to Block Devices</title>
12<subsection> 12<subsection>
121<e>f0</e> (Linux/PA-RISC boot). 121<e>f0</e> (Linux/PA-RISC boot).
122</p> 122</p>
123 123
124<impo> 124<impo>
125If you ignore this and continue without a special PALO partition, your system 125If you ignore this and continue without a special PALO partition, your system
126will stop loving you and fail to start. 126will stop loving you and fail to start. Also, if your disk is larger than 2Gb,
127make sure that the boot partition is in the first 2Gb of your disk. PALO is
128unable to read a kernel after the 2Gb limit.
127</impo> 129</impo>
128
129<p>
130Also, if your disk is larger than 2Gb, make sure that the boot partition is in
131the first 2Gb of your disk. PALO is unable to read a kernel after the 2Gb limit.
132</p>
133 130
134<p> 131<p>
135Now that your partitions are created, you can now continue with <uri 132Now that your partitions are created, you can now continue with <uri
136link="#filesystems">Creating Filesystems</uri>. 133link="#filesystems">Creating Filesystems</uri>.
137</p> 134</p>
246 <ti><c>mkfs.jfs</c></ti> 243 <ti><c>mkfs.jfs</c></ti>
247</tr> 244</tr>
248</table> 245</table>
249 246
250<p> 247<p>
251For instance, to have the boot partition (<path>/dev/sda1</path> in our 248For instance, to have the boot partition (<path>/dev/sda2</path> in our
252example) in ext2 and the root partition (<path>/dev/sda3</path> in our example) 249example) in ext2 and the root partition (<path>/dev/sda4</path> in our example)
253in ext3 (as in our example), you would use: 250in ext3 (as in our example), you would use:
254</p> 251</p>
255 252
256<pre caption="Applying a filesystem on a partition"> 253<pre caption="Applying a filesystem on a partition">
257# <i>mke2fs /dev/sda1</i> 254# <i>mke2fs /dev/sda2</i>
258# <i>mke2fs -j /dev/sda3</i> 255# <i>mke2fs -j /dev/sda4</i>
259</pre> 256</pre>
260 257
261<p> 258<p>
262Now create the filesystems on your newly created partitions (or logical 259Now create the filesystems on your newly created partitions (or logical
263volumes). 260volumes).
272<p> 269<p>
273<c>mkswap</c> is the command that is used to initialize swap partitions: 270<c>mkswap</c> is the command that is used to initialize swap partitions:
274</p> 271</p>
275 272
276<pre caption="Creating a Swap signature"> 273<pre caption="Creating a Swap signature">
277# <i>mkswap /dev/sda2</i> 274# <i>mkswap /dev/sda3</i>
278</pre> 275</pre>
279 276
280<p> 277<p>
281To activate the swap partition, use <c>swapon</c>: 278To activate the swap partition, use <c>swapon</c>:
282</p> 279</p>
283 280
284<pre caption="Activating the swap partition"> 281<pre caption="Activating the swap partition">
285# <i>swapon /dev/sda2</i> 282# <i>swapon /dev/sda3</i>
286</pre> 283</pre>
287 284
288<p> 285<p>
289Create and activate the swap now. 286Create and activate the swap now.
290</p> 287</p>
302create the necessary mount directories for every partition you created. As an 299create the necessary mount directories for every partition you created. As an
303example we mount the root and boot partition: 300example we mount the root and boot partition:
304</p> 301</p>
305 302
306<pre caption="Mounting partitions"> 303<pre caption="Mounting partitions">
307# <i>mount /dev/sda3 /mnt/gentoo</i> 304# <i>mount /dev/sda4 /mnt/gentoo</i>
308# <i>mkdir /mnt/gentoo/boot</i> 305# <i>mkdir /mnt/gentoo/boot</i>
309# <i>mount /dev/sda1 /mnt/gentoo/boot</i> 306# <i>mount /dev/sda2 /mnt/gentoo/boot</i>
310</pre> 307</pre>
311 308
312<note> 309<note>
313If you want your <path>/tmp</path> to reside on a separate partition, be sure to 310If you want your <path>/tmp</path> to reside on a separate partition, be sure to
314change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. This 311change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. This

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20