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

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

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

Revision 1.8 Revision 1.23
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-sparc-disk.xml,v 1.8 2004/09/14 11:55:12 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-disk.xml,v 1.23 2005/09/25 16:19:37 neysx Exp $ -->
8 8
9<sections> 9<sections>
10
11<version>2.4</version>
12<date>2005-08-25</date>
13
10<section> 14<section>
11<title>Introduction to Block Devices</title> 15<title>Introduction to Block Devices</title>
12<subsection> 16<subsection>
13<title>Block Devices</title> 17<title>Block Devices</title>
14<body> 18<body>
135 <ti>ext3</ti> 139 <ti>ext3</ti>
136 <ti>at least 2 GBytes</ti> 140 <ti>at least 2 GBytes</ti>
137 <ti>/usr</ti> 141 <ti>/usr</ti>
138 <ti> 142 <ti>
139 /usr partition. Applications are installed here. By default this partition 143 /usr partition. Applications are installed here. By default this partition
140 is also used for portage data. 144 is also used for Portage data (which takes around 500 Mbyte excluding
145 source code).
141 </ti> 146 </ti>
142</tr> 147</tr>
143<tr> 148<tr>
144 <ti>/dev/sda5</ti> 149 <ti>/dev/sda5</ti>
145 <ti>ext3</ti> 150 <ti>ext3</ti>
146 <ti>at least 1GByte</ti> 151 <ti>at least 1GByte</ti>
147 <ti>/var</ti> 152 <ti>/var</ti>
148 <ti> 153 <ti>
149 /var partition. Used for program-generated data. By default portage uses 154 /var partition. Used for program-generated data. By default Portage uses
150 this partition for temporary space whilst compiling. Certain larger 155 this partition for temporary space whilst compiling. Certain larger
151 applications such as Mozilla and OpenOffice.org can require over 1 GByte 156 applications such as Mozilla and OpenOffice.org can require over 1 GByte
152 of temporary space here when building. 157 of temporary space here when building.
153 </ti> 158 </ti>
154</tr> 159</tr>
355<subsection> 360<subsection>
356<title>Creating the Root Partition</title> 361<title>Creating the Root Partition</title>
357<body> 362<body>
358 363
359<p> 364<p>
360We're ready to create the root partition. To do this, type <c>n</c> to create a 365We're ready to create the root partition. To do this, type <c>n</c> to create a
361new partition, then type <c>1</c> to create the partition. When prompted for the 366new partition, then type <c>1</c> to create the partition. When prompted for
362first cylinder, hit enter. When prompted for the last cylinder, type <c>+512M</c> 367the first cylinder, hit enter. When prompted for the last cylinder, type
363to create a partition <c>512MBytes</c> in size. Make sure that the entire root 368<c>+512M</c> to create a partition <c>512MBytes</c> in size. Make sure that the
364partition must be contained entirely within the first 2GBytes of the disk. 369entire root partition fits within the first 2GBytes of the disk. You can see
365You can see output from these steps below: 370output from these steps below:
366</p> 371</p>
367 372
368<pre caption="Creating a root partition"> 373<pre caption="Creating a root partition">
369Command (m for help): <i>n</i> 374Command (m for help): <i>n</i>
370Partition number (1-8): <i>1</i> 375Partition number (1-8): <i>1</i>
508<p> 513<p>
509<b>ext3</b> is the journaled version of the ext2 filesystem. It provides 514<b>ext3</b> is the journaled version of the ext2 filesystem. It provides
510metadata journaling for fast recovery as well as other enhanced journaling 515metadata journaling for fast recovery as well as other enhanced journaling
511modes like full-data and ordered-data journaling. Ext3 has an additional hashed 516modes like full-data and ordered-data journaling. Ext3 has an additional hashed
512b-tree indexing option that enables high performance in almost all situations. 517b-tree indexing option that enables high performance in almost all situations.
518You can enable this indexing by adding <c>-O dir_index</c> to the <c>mke2fs</c>
513Ext3 makes an excellent and reliable alternative to ext2. 519command. Ext3 makes an excellent and reliable alternative to ext2.
514</p>
515
516<p>
517<b>ReiserFS</b> works only partially on sparc64 systems and is therefore not
518recommended for general use. <b>XFS</b> should be avoided, as it is known to
519have many problems on SPARCs and could ruin your data. Another journaling
520filesystem, <b>JFS</b>, is not supported. Regardless of your decision for
521filesystems, the bootloader requires that the root partition be either ext2 or
522ext3."
523</p> 520</p>
524 521
525</body> 522</body>
526</subsection> 523</subsection>
527<subsection id="filesystems-apply"> 524<subsection id="filesystems-apply">
547 <ti><c>mke2fs -j</c></ti> 544 <ti><c>mke2fs -j</c></ti>
548</tr> 545</tr>
549<tr> 546<tr>
550 <ti>ext3 with hashed b-tree indexing (2.6 kernels only)</ti> 547 <ti>ext3 with hashed b-tree indexing (2.6 kernels only)</ti>
551 <ti><c>mke2fs -j -O dir_index</c></ti> 548 <ti><c>mke2fs -j -O dir_index</c></ti>
552</tr>
553<tr>
554 <ti>reiserfs</ti>
555 <ti><c>mkreiserfs</c></ti>
556</tr> 549</tr>
557</table> 550</table>
558 551
559<p> 552<p>
560For instance, to create the root partition (<path>/dev/sda1</path> in our 553For instance, to create the root partition (<path>/dev/sda1</path> in our
591<pre caption="Activating the swap partition"> 584<pre caption="Activating the swap partition">
592# <i>swapon /dev/sda2</i> 585# <i>swapon /dev/sda2</i>
593</pre> 586</pre>
594 587
595<p> 588<p>
596Create and activate the swap now. 589Create and activate the swap with the commands mentioned above.
597</p> 590</p>
598 591
599</body> 592</body>
600</subsection> 593</subsection>
601</section> 594</section>

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.20