/[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.26 Revision 1.27
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-alpha-disk.xml,v 1.26 2007/06/26 07:07:27 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml,v 1.27 2008/01/04 17:36:52 neysx Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>8.1</version> 11<version>8.2</version>
12<date>2007-06-26</date> 12<date>2008-01-04</date>
13 13
14<section> 14<section>
15<title>Introduction to Block Devices</title> 15<title>Introduction to Block Devices</title>
16<subsection> 16<subsection>
17<title>Block Devices</title> 17<title>Block Devices</title>
18<body> 18<body>
19 19
20<p> 20<p>
21We'll take a good look at disk-oriented aspects of Gentoo Linux 21We'll take a good look at disk-oriented aspects of Gentoo Linux
22and Linux in general, including Linux filesystems, partitions and block devices. 22and Linux in general, including Linux filesystems, partitions and block devices.
23Then, once you're familiar with the ins and outs of disks and filesystems, 23Then, once you're familiar with the ins and outs of disks and filesystems,
24you'll be guided through the process of setting up partitions and filesystems 24you'll be guided through the process of setting up partitions and filesystems
25for your Gentoo Linux installation. 25for your Gentoo Linux installation.
26</p> 26</p>
27 27
527We will create a swap partition starting at the third cylinder, with a total 527We will create a swap partition starting at the third cylinder, with a total
528size of 1 GB. Use <c>n</c> to create a new partition. 528size of 1 GB. Use <c>n</c> to create a new partition.
529</p> 529</p>
530 530
531<pre caption="Creating the swap partition"> 531<pre caption="Creating the swap partition">
532Command (m for help): <i>n</i> 532Command (m for help): <i>n</i>
533Command action 533Command action
534 e extended 534 e extended
535 p primary partition (1-4) 535 p primary partition (1-4)
536<i>p</i> 536<i>p</i>
537Partition number (1-4): <i>2</i> 537Partition number (1-4): <i>2</i>
538First cylinder (17-8727, default 17): <i>17</i> 538First cylinder (17-8727, default 17): <i>17</i>
539Last cylinder or +size or +sizeM or +sizeK (17-8727, default 8727): <i>+1000M</i> 539Last cylinder or +size or +sizeM or +sizeK (17-8727, default 8727): <i>+1000M</i>
540 540
541Command (m for help): <i>t</i> 541Command (m for help): <i>t</i>
542Partition number (1-4): <i>1</i> 542Partition number (1-4): <i>2</i>
543Hex code (type L to list codes): <i>82</i> 543Hex code (type L to list codes): <i>82</i>
544Changed system type of partition 2 to 82 (Linux swap) 544Changed system type of partition 2 to 82 (Linux swap)
545</pre> 545</pre>
546 546
547<p> 547<p>
548After these steps you should see a layout similar to the following: 548After these steps you should see a layout similar to the following:
549</p> 549</p>
550 550
551<pre caption="Partition listing after creating a swap partition"> 551<pre caption="Partition listing after creating a swap partition">
552Command (m for help): <i>p</i> 552Command (m for help): <i>p</i>
553 553
554Disk /dev/sda: 9150 MB, 9150996480 bytes 554Disk /dev/sda: 9150 MB, 9150996480 bytes
55564 heads, 32 sectors/track, 8727 cylinders 55564 heads, 32 sectors/track, 8727 cylinders
556Units = cylinders of 2048 * 512 = 1048576 bytes 556Units = cylinders of 2048 * 512 = 1048576 bytes
557 557

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.20