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

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

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

Revision 1.4 Revision 1.6
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-alpha-disk.xml,v 1.4 2004/07/18 10:29:59 neysx Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml,v 1.6 2004/08/02 15:54:00 swift 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>
65<tr> 65<tr>
66 <th>Slice</th> 66 <th>Slice</th>
67 <th>Description</th> 67 <th>Description</th>
68</tr> 68</tr>
69<tr> 69<tr>
70 <ti><path>/dev/sdaa</path></ti> 70 <ti><path>/dev/sda1</path></ti>
71 <ti>Swap slice</ti> 71 <ti>Swap slice</ti>
72</tr> 72</tr>
73<tr> 73<tr>
74 <ti><path>/dev/sdab</path></ti> 74 <ti><path>/dev/sda2</path></ti>
75 <ti>Root slice</ti> 75 <ti>Root slice</ti>
76</tr> 76</tr>
77<tr> 77<tr>
78 <ti><path>/dev/sdac</path></ti> 78 <ti><path>/dev/sda3</path></ti>
79 <ti>Full disk (required)</ti> 79 <ti>Full disk (required)</ti>
80</tr> 80</tr>
81</table> 81</table>
82 82
83 83
152<tr> 152<tr>
153 <th>Slice</th> 153 <th>Slice</th>
154 <th>Description</th> 154 <th>Description</th>
155</tr> 155</tr>
156<tr> 156<tr>
157 <ti><path>/dev/sdaa</path></ti> 157 <ti><path>/dev/sda1</path></ti>
158 <ti>Swap slice</ti> 158 <ti>Swap slice</ti>
159</tr> 159</tr>
160<tr> 160<tr>
161 <ti><path>/dev/sdab</path></ti> 161 <ti><path>/dev/sda2</path></ti>
162 <ti>Root slice</ti> 162 <ti>Root slice</ti>
163</tr> 163</tr>
164<tr> 164<tr>
165 <ti><path>/dev/sdac</path></ti> 165 <ti><path>/dev/sda3</path></ti>
166 <ti>Full disk (required)</ti> 166 <ti>Full disk (required)</ti>
167</tr> 167</tr>
168</table> 168</table>
169 169
170<p> 170<p>
466 <ti><c>mkfs.jfs</c></ti> 466 <ti><c>mkfs.jfs</c></ti>
467</tr> 467</tr>
468</table> 468</table>
469 469
470<p> 470<p>
471For instance, to have the root partition (<path>/dev/sdab</path> in our example) 471For instance, to have the root partition (<path>/dev/sda2</path> in our example)
472in ext3, you would use: 472in ext3, you would use:
473</p> 473</p>
474 474
475<pre caption="Applying a filesystem on a partition"> 475<pre caption="Applying a filesystem on a partition">
476# <i>mke2fs -j /dev/sdab</i> 476# <i>mke2fs -j /dev/sda2</i>
477</pre> 477</pre>
478 478
479<p> 479<p>
480Now create the filesystems on your newly created partitions (or logical 480Now create the filesystems on your newly created partitions (or logical
481volumes). 481volumes).
490<p> 490<p>
491<c>mkswap</c> is the command that is used to initialize swap partitions: 491<c>mkswap</c> is the command that is used to initialize swap partitions:
492</p> 492</p>
493 493
494<pre caption="Creating a Swap signature"> 494<pre caption="Creating a Swap signature">
495# <i>mkswap /dev/sdaa</i> 495# <i>mkswap /dev/sda1</i>
496</pre> 496</pre>
497 497
498<p> 498<p>
499To activate the swap partition, use <c>swapon</c>: 499To activate the swap partition, use <c>swapon</c>:
500</p> 500</p>
501 501
502<pre caption="Activating the swap partition"> 502<pre caption="Activating the swap partition">
503# <i>swapon /dev/sdaa</i> 503# <i>swapon /dev/sda1</i>
504</pre> 504</pre>
505 505
506<p> 506<p>
507Create and activate the swap now. 507Create and activate the swap now.
508</p> 508</p>
520create the necessary mount directories for every partition you created. As an 520create the necessary mount directories for every partition you created. As an
521example we mount the root and boot partition: 521example we mount the root and boot partition:
522</p> 522</p>
523 523
524<pre caption="Mounting partitions"> 524<pre caption="Mounting partitions">
525# <i>mount /dev/sdab /mnt/gentoo</i> 525# <i>mount /dev/sda2 /mnt/gentoo</i>
526</pre> 526</pre>
527 527
528<note> 528<note>
529If you want your <path>/tmp</path> to reside on a separate partition, be sure to 529If you want your <path>/tmp</path> to reside on a separate partition, be sure to
530change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. This 530change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. This
531also holds for <path>/var/tmp</path>. 531also holds for <path>/var/tmp</path>.
532</note> 532</note>
533 533
534<p> 534<p>
535We also need to mount the proc filesystem (a virtual interface with the kernel) 535We will also have to mount the proc filesystem (a virtual interface with the
536on <path>/proc</path>. We first create the <path>/mnt/gentoo/proc</path> 536kernel) on <path>/proc</path>. But first we will need to place our files on the partitions.
537mountpoint and then mount the filesystem:
538</p>
539
540<pre caption="Creating the /mnt/gentoo/proc mountpoint">
541# <i>mkdir /mnt/gentoo/proc</i>
542# <i>mount -t proc none /mnt/gentoo/proc</i>
543</pre>
544
545<p> 537</p>
538
539<p>
546Now continue with <uri link="?part=1&amp;chap=5">Installing the Gentoo 540Continue with <uri link="?part=1&amp;chap=5">Installing the Gentoo
547Installation Files</uri>. 541Installation Files</uri>.
548</p> 542</p>
549 543
550</body> 544</body>
551</section> 545</section>

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20