/[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.3 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.3 2004/04/06 11:29:32 bennyc 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>
206</tr> 211</tr>
207</table> 212</table>
208 213
209<p> 214<p>
210Change the partition layout as required. Remember to keep the root partition 215Change the partition layout as required. Remember to keep the root partition
211entirely within the first 2 GBytes of the disk for older systems. 216entirely within the first 2 GBytes of the disk for older systems. There is also
217a 15-partition limit for SCSI and SATA.
212</p> 218</p>
213 219
214</body> 220</body>
215</subsection> 221</subsection>
216<subsection> 222<subsection>
354<subsection> 360<subsection>
355<title>Creating the Root Partition</title> 361<title>Creating the Root Partition</title>
356<body> 362<body>
357 363
358<p> 364<p>
359We'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
360new 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
361first 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
362to 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
363partition 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
364You can see output from these steps below: 370output from these steps below:
365</p> 371</p>
366 372
367<pre caption="Creating a root partition"> 373<pre caption="Creating a root partition">
368Command (m for help): <i>n</i> 374Command (m for help): <i>n</i>
369Partition number (1-8): <i>1</i> 375Partition number (1-8): <i>1</i>
487<subsection> 493<subsection>
488<title>Filesystems?</title> 494<title>Filesystems?</title>
489<body> 495<body>
490 496
491<p> 497<p>
492Several filesystems are available, a few of which are known to be stable on the 498Several filesystems are available, some are known to be stable on the
493SPARC architecture. Ext2 and ext3, for example, are known to work well. 499SPARC architecture. Ext2 and ext3, for example, are known to work well.
494Alternate filesystems may not function correctly. 500Alternate filesystems may not function correctly.
495</p> 501</p>
496 502
497<p> 503<p>
507<p> 513<p>
508<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
509metadata journaling for fast recovery as well as other enhanced journaling 515metadata journaling for fast recovery as well as other enhanced journaling
510modes 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
511b-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>
512Ext3 makes an excellent and reliable alternative to ext2. 519command. Ext3 makes an excellent and reliable alternative to ext2.
513</p>
514
515<p>
516<b>ReiserFS</b> works only partially on sparc64 systems and is therefore not
517recommended for general use. <b>XFS</b> should be avoided, as it is known to
518have many problems on SPARCs and could ruin your data. Another journaling
519filesystem, <b>JFS</b>, is not supported. Regardless of your decision for
520filesystems, the bootloader requires that the root partition be either ext2 or
521ext3."
522</p> 520</p>
523 521
524</body> 522</body>
525</subsection> 523</subsection>
526<subsection id="filesystems-apply"> 524<subsection id="filesystems-apply">
586<pre caption="Activating the swap partition"> 584<pre caption="Activating the swap partition">
587# <i>swapon /dev/sda2</i> 585# <i>swapon /dev/sda2</i>
588</pre> 586</pre>
589 587
590<p> 588<p>
591Create and activate the swap now. 589Create and activate the swap with the commands mentioned above.
592</p> 590</p>
593 591
594</body> 592</body>
595</subsection> 593</subsection>
596</section> 594</section>
620to change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. 618to change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>.
621This also holds for <path>/var/tmp</path>. 619This also holds for <path>/var/tmp</path>.
622</note> 620</note>
623 621
624<p> 622<p>
625We also need to mount the proc filesystem (a virtual interface with the kernel) 623We will also have to mount the proc filesystem (a virtual interface with the
626on <path>/proc</path>. We first create the <path>/mnt/gentoo/proc</path> 624kernel) on <path>/proc</path>. But first we will need to place our files on the partitions.
627mount point and then mount the filesystem:
628</p>
629
630<pre caption="Creating the /mnt/gentoo/proc mount point">
631# <i>mkdir /mnt/gentoo/proc</i>
632# <i>mount -t proc none /mnt/gentoo/proc</i>
633</pre>
634
635<p> 625</p>
626
627<p>
636Now continue with <uri link="?part=1&amp;chap=5">Installing the Gentoo 628Continue with <uri link="?part=1&amp;chap=5">Installing the Gentoo
637Installation Files</uri>. 629Installation Files</uri>.
638</p> 630</p>
639 631
640</body> 632</body>
641</section> 633</section>

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

  ViewVC Help
Powered by ViewVC 1.1.20