/[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.36 Revision 1.37
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/2.5 --> 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.36 2011/09/04 14:34:01 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-disk.xml,v 1.37 2013/02/23 18:38:22 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>7</version> 11<version>8</version>
12<date>2011-09-04</date> 12<date>2013-02-23</date>
13 13
14<section> 14<section>
15<title>Introduction to Block Devices</title> 15<title>Introduction to Block Devices</title>
16 16
17<subsection> 17<subsection>
18<include href="hb-install-blockdevices.xml"/> 18<include href="hb-install-blockdevices.xml"/>
19</subsection> 19</subsection>
20 20
21<subsection> 21<subsection>
22<title>Partitions</title> 22<title>Partitions</title>
23<body> 23<body>
24 24
25<p> 25<p>
26Although it is theoretically possible to use the entire disk to house your Linux 26Although it is theoretically possible to use the entire disk to house your Linux
27system, this is almost never done in practice. Instead, full disk block devices 27system, this is almost never done in practice. Instead, full disk block devices
63<p> 63<p>
64Note that a separate <path>/boot</path> partition is generally <e>not</e> 64Note that a separate <path>/boot</path> partition is generally <e>not</e>
65recommended on SPARC, as it complicates the bootloader configuration. 65recommended on SPARC, as it complicates the bootloader configuration.
66</p> 66</p>
67 67
68<table> 68<table>
69<tr> 69<tr>
70 <th>Partition</th> 70 <th>Partition</th>
71 <th>Filesystem</th> 71 <th>Filesystem</th>
72 <th>Size</th> 72 <th>Size</th>
73 <th>Mount Point</th> 73 <th>Mount Point</th>
74 <th>Description</th> 74 <th>Description</th>
75</tr> 75</tr>
76<tr> 76<tr>
77 <ti>/dev/sda1</ti> 77 <ti>/dev/sda1</ti>
78 <ti>ext3</ti> 78 <ti>ext4</ti>
79 <ti>&lt;2 GB</ti> 79 <ti>&lt;2 GB</ti>
80 <ti>/</ti> 80 <ti>/</ti>
81 <ti> 81 <ti>
82 Root partition. For SPARC64 systems with older OBP versions, this 82 Root partition. For SPARC64 systems with older OBP versions, this
83 <e>must</e> be less than 2 GB in size, and the first partition on the 83 <e>must</e> be less than 2 GB in size, and the first partition on the
84 disk. 84 disk.
85 </ti> 85 </ti>
86</tr> 86</tr>
87<tr> 87<tr>
88 <ti>/dev/sda2</ti> 88 <ti>/dev/sda2</ti>
89 <ti>swap</ti> 89 <ti>swap</ti>
90 <ti>512 MB</ti> 90 <ti>512 MB</ti>
91 <ti>none</ti> 91 <ti>none</ti>
92 <ti> 92 <ti>
93 Swap partition. For bootstrap and certain larger compiles, at least 512 93 Swap partition. For bootstrap and certain larger compiles, at least 512
94 MB of RAM (including swap) is required. 94 MB of RAM (including swap) is required.
95 </ti> 95 </ti>
96</tr> 96</tr>
97<tr> 97<tr>
98 <ti>/dev/sda3</ti> 98 <ti>/dev/sda3</ti>
99 <ti>none</ti> 99 <ti>none</ti>
100 <ti>Whole disk</ti> 100 <ti>Whole disk</ti>
101 <ti>none</ti> 101 <ti>none</ti>
102 <ti>Whole disk partition. This is required on SPARC systems.</ti> 102 <ti>Whole disk partition. This is required on SPARC systems.</ti>
103</tr> 103</tr>
104<tr> 104<tr>
105 <ti>/dev/sda4</ti> 105 <ti>/dev/sda4</ti>
106 <ti>ext3</ti> 106 <ti>ext4</ti>
107 <ti>at least 2 GB</ti> 107 <ti>at least 2 GB</ti>
108 <ti>/usr</ti> 108 <ti>/usr</ti>
109 <ti> 109 <ti>
110 /usr partition. Applications are installed here. By default this partition 110 /usr partition. Applications are installed here. By default this partition
111 is also used for Portage data (which takes around 500 MB excluding 111 is also used for Portage data (which takes around 500 MB excluding
112 source code). 112 source code).
113 </ti> 113 </ti>
114</tr> 114</tr>
115<tr> 115<tr>
116 <ti>/dev/sda5</ti> 116 <ti>/dev/sda5</ti>
117 <ti>ext3</ti> 117 <ti>ext4</ti>
118 <ti>at least 1 GB</ti> 118 <ti>at least 1 GB</ti>
119 <ti>/var</ti> 119 <ti>/var</ti>
120 <ti> 120 <ti>
121 /var partition. Used for program-generated data. By default Portage uses 121 /var partition. Used for program-generated data. By default Portage uses
122 this partition for temporary space whilst compiling. Certain larger 122 this partition for temporary space whilst compiling. Certain larger
123 applications such as Mozilla and OpenOffice.org can require over 1 GB 123 applications such as Mozilla and OpenOffice.org can require over 1 GB
124 of temporary space here when building. 124 of temporary space here when building.
125 </ti> 125 </ti>
126</tr> 126</tr>
127<tr> 127<tr>
128 <ti>/dev/sda6</ti> 128 <ti>/dev/sda6</ti>
129 <ti>ext3</ti> 129 <ti>ext4</ti>
130 <ti>remaining space</ti> 130 <ti>remaining space</ti>
131 <ti>/home</ti> 131 <ti>/home</ti>
132 <ti>/home partition. Used for users' home directories.</ti> 132 <ti>/home partition. Used for users' home directories.</ti>
133</tr> 133</tr>
134</table> 134</table>
135 135
136</body> 136</body>
137</subsection> 137</subsection>
138</section> 138</section>
139 139
140<section id="fdisk"> 140<section id="fdisk">
141<title>Using fdisk to Partition your Disk</title> 141<title>Using fdisk to Partition your Disk</title>
142<subsection> 142<subsection>
143<body> 143<body>
144 144
482</tr> 482</tr>
483<tr> 483<tr>
484 <ti>ext3</ti> 484 <ti>ext3</ti>
485 <ti><c>mkfs.ext3</c></ti> 485 <ti><c>mkfs.ext3</c></ti>
486</tr> 486</tr>
487<tr> 487<tr>
488 <ti>ext4</ti> 488 <ti>ext4</ti>
489 <ti><c>mkfs.ext4</c></ti> 489 <ti><c>mkfs.ext4</c></ti>
490</tr> 490</tr>
491</table> 491</table>
492 492
493<p> 493<p>
494For instance, to create the root partition (<path>/dev/sda1</path> in our 494For instance, to create the root partition (<path>/dev/sda1</path> in our
495example) as ext2, and the <path>/usr</path>, <path>/var</path>, and 495example) as ext2, and the <path>/usr</path>, <path>/var</path>, and
496<path>/home</path> partitions (<path>/dev/sda4</path>, <path>5</path> 496<path>/home</path> partitions (<path>/dev/sda4</path>, <path>5</path>
497and <path>6</path> in our example, respectively) as ext3, you would use: 497and <path>6</path> in our example, respectively) as ext4, you would use:
498</p> 498</p>
499 499
500<pre caption="Applying a filesystem on a partition"> 500<pre caption="Applying a filesystem on a partition">
501# <i>mkfs.ext2 /dev/sda1</i> 501# <i>mkfs.ext2 /dev/sda1</i>
502# <i>mkfs.ext3 /dev/sda4</i> 502# <i>mkfs.ext4 /dev/sda4</i>
503# <i>mkfs.ext3 /dev/sda5</i> 503# <i>mkfs.ext4 /dev/sda5</i>
504# <i>mkfs.ext3 /dev/sda6</i> 504# <i>mkfs.ext4 /dev/sda6</i>
505</pre> 505</pre>
506 506
507</body> 507</body>
508</subsection> 508</subsection>
509<subsection> 509<subsection>
510<title>Activating the Swap Partition</title> 510<title>Activating the Swap Partition</title>
511<body> 511<body>
512 512
513<p> 513<p>
514<c>mkswap</c> is the command used to initialize swap partitions: 514<c>mkswap</c> is the command used to initialize swap partitions:
515</p> 515</p>
516 516
517<pre caption="Creating a Swap signature"> 517<pre caption="Creating a Swap signature">
518# <i>mkswap /dev/sda2</i> 518# <i>mkswap /dev/sda2</i>
519</pre> 519</pre>

Legend:
Removed from v.1.36  
changed lines
  Added in v.1.37

  ViewVC Help
Powered by ViewVC 1.1.20