/[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.28 Revision 1.30
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-alpha-disk.xml,v 1.28 2008/04/01 08:53:46 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml,v 1.30 2009/02/15 06:48:11 rane Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>9.0</version> 11<version>9.1</version>
12<date>2008-04-01</date> 12<date>2009-02-15</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>
254<subsection> 254<subsection>
255<title>Creating the Swap Slice</title> 255<title>Creating the Swap Slice</title>
256<body> 256<body>
257 257
258<p> 258<p>
259On Alpha based systems you don't need a separate boot partition. However, the 259On Alpha based systems you don't need a separate boot slice. However, the
260first cylinder cannot be used as the <c>aboot</c> image will be placed there. 260first cylinder cannot be used as the <c>aboot</c> image will be placed there.
261</p> 261</p>
262 262
263<p> 263<p>
264We will create a swap slice starting at the third cylinder, with a total 264We will create a swap slice starting at the third cylinder, with a total
297<body> 297<body>
298 298
299<p> 299<p>
300We will now create the root slice, starting from the first cylinder <e>after</e> 300We will now create the root slice, starting from the first cylinder <e>after</e>
301the swap slice. Use the <c>p</c> command to view where the swap slice ends. In 301the swap slice. Use the <c>p</c> command to view where the swap slice ends. In
302our example, this is at 1003, making the root partition start at 1004. 302our example, this is at 1003, making the root slice start at 1004.
303</p> 303</p>
304 304
305<p> 305<p>
306Another problem is that there is currently a bug in <c>fdisk</c> making it think 306Another problem is that there is currently a bug in <c>fdisk</c> making it think
307the number of available cylinders is one above the real number of cylinders. In 307the number of available cylinders is one above the real number of cylinders. In
308other words, when you are asked for the last cylinder, decrease the cylinder 308other words, when you are asked for the last cylinder, decrease the cylinder
309number (in this example: 5290) with one. 309number (in this example: 5290) with one.
310</p> 310</p>
311 311
312<p> 312<p>
313When the partition is created, we change the type to <c>8</c>, for <e>ext2</e>. 313When the slice is created, we change the type to <c>8</c>, for <e>ext2</e>.
314</p> 314</p>
315 315
316<pre caption="Creating the root slice"> 316<pre caption="Creating the root slice">
317D disklabel command (m for help): <i>n</i> 317D disklabel command (m for help): <i>n</i>
318Partition (a-p): <i>b</i> 318Partition (a-p): <i>b</i>
351<pre caption="Save and exit fdisk"> 351<pre caption="Save and exit fdisk">
352Command (m for help): <i>w</i> 352Command (m for help): <i>w</i>
353</pre> 353</pre>
354 354
355<p> 355<p>
356Now that your slices are created, you can now continue with <uri 356Now that your slices are created, you can continue with <uri
357link="#filesystems">Creating Filesystems</uri>. 357link="#filesystems">Creating Filesystems</uri>.
358</p> 358</p>
359 359
360</body> 360</body>
361</subsection> 361</subsection>
499<subsection> 499<subsection>
500<title>Creating the Swap Partition</title> 500<title>Creating the Swap Partition</title>
501<body> 501<body>
502 502
503<p> 503<p>
504We will create a swap partition starting at the third cylinder, with a total 504We will create a swap partition with a total size of 1 GB. Use <c>n</c> to
505size of 1 GB. Use <c>n</c> to create a new partition. 505create a new partition.
506</p> 506</p>
507 507
508<pre caption="Creating the swap partition"> 508<pre caption="Creating the swap partition">
509Command (m for help): <i>n</i> 509Command (m for help): <i>n</i>
510Command action 510Command action
588<pre caption="Save and exit fdisk"> 588<pre caption="Save and exit fdisk">
589Command (m for help): <i>w</i> 589Command (m for help): <i>w</i>
590</pre> 590</pre>
591 591
592<p> 592<p>
593Now that your partitions are created, you can now continue with <uri 593Now that your partitions are created, you can continue with <uri
594link="#filesystems">Creating Filesystems</uri>. 594link="#filesystems">Creating Filesystems</uri>.
595</p> 595</p>
596 596
597</body> 597</body>
598</subsection> 598</subsection>
703 703
704<p> 704<p>
705Now that your partitions are initialized and are housing a filesystem, it is 705Now that your partitions are initialized and are housing a filesystem, it is
706time to mount those partitions. Use the <c>mount</c> command. Don't forget to 706time to mount those partitions. Use the <c>mount</c> command. Don't forget to
707create the necessary mount directories for every partition you created. As an 707create the necessary mount directories for every partition you created. As an
708example we mount the root and boot partition: 708example we mount the root partition:
709</p> 709</p>
710 710
711<pre caption="Mounting partitions"> 711<pre caption="Mounting partitions">
712# <i>mount /dev/sda2 /mnt/gentoo</i> 712# <i>mount /dev/sda2 /mnt/gentoo</i>
713</pre> 713</pre>

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.30

  ViewVC Help
Powered by ViewVC 1.1.20