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

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

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

Revision 1.17 Revision 1.18
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-ppc64-disk.xml,v 1.17 2005/03/28 18:38:18 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-disk.xml,v 1.18 2005/04/21 13:27:19 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>2.1</version> 11<version>2.2</version>
12<date>2005-03-28</date> 12<date>2005-04-20</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>
232</p> 232</p>
233 233
234</body> 234</body>
235</section> 235</section>
236<section id="fdisk"> 236<section id="fdisk">
237<title>IBM pSeries: using fdisk to Partition your Disk</title> 237<title>IBM pSeries, iSeries and OpenPower: using fdisk to Partition your Disk</title>
238<subsection> 238<subsection>
239<body> 239<body>
240
241<note>
242If you are planning to use a RAID disk array for your gentoo installation and
243you are using POWER5-based hardware, you should now run <c>iprutils</c> to
244format the disks to Advanced Function format and create the disk array.
245</note>
240 246
241<p> 247<p>
242The following parts explain how to create the example partition layout 248The following parts explain how to create the example partition layout
243described previously, namely: 249described previously, namely:
244</p> 250</p>
388<c>1</c> to select the first primary partition. When prompted for the 394<c>1</c> to select the first primary partition. When prompted for the
389first cylinder, hit enter. When prompted for the last cylinder, type 395first cylinder, hit enter. When prompted for the last cylinder, type
390<c>+7M</c> to create a partition 7 Mbyte in size. After you've done 396<c>+7M</c> to create a partition 7 Mbyte in size. After you've done
391this, type <c>t</c> to set the partition type, <c>1</c> to select the 397this, type <c>t</c> to set the partition type, <c>1</c> to select the
392partition you just created and then type in <c>41</c> to set the 398partition you just created and then type in <c>41</c> to set the
393partition type to "PPC PReP Boot". 399partition type to "PPC PReP Boot". Finally, you'll need to mark the PReP
400partition as bootable.
394</p> 401</p>
395 402
396<note> 403<note>
397The PReP partition has to be smaller than 8 MByte! 404The PReP partition has to be smaller than 8 MByte!
398</note> 405</note>
399 406
400<pre caption="Crating to PReP boot partition"> 407<pre caption="Creating the PReP boot partition">
401Command (m for help): <i>p</i> 408Command (m for help): <i>p</i>
402 409
403Disk /dev/sda: 30.7 GB, 30750031872 bytes 410Disk /dev/sda: 30.7 GB, 30750031872 bytes
404141 heads, 63 sectors/track, 6761 cylinders 411141 heads, 63 sectors/track, 6761 cylinders
405Units = cylinders of 8883 * 512 = 4548096 bytes 412Units = cylinders of 8883 * 512 = 4548096 bytes
420Command (m for help): <i>t</i> 427Command (m for help): <i>t</i>
421Selected partition 1 428Selected partition 1
422Hex code (type L to list codes): <i>41</i> 429Hex code (type L to list codes): <i>41</i>
423Changed system type of partition 1 to 41 (PPC PReP Boot) 430Changed system type of partition 1 to 41 (PPC PReP Boot)
424 431
432Command (m for help): <i>a</i>
433Partition number (1-4): <i>1</i>
425Command (m for help): 434Command (m for help):
426</pre> 435</pre>
427 436
428<p> 437<p>
429Now, when you type <c>p</c>, you should see the following partition 438Now, when you type <c>p</c>, you should see the following partition information:
430printout:
431</p> 439</p>
432 440
433<pre caption="Created boot partition"> 441<pre caption="Created boot partition">
434Command (m for help): <i>p</i> 442Command (m for help): <i>p</i>
435 443
436Disk /dev/sda: 30.7 GB, 30750031872 bytes 444Disk /dev/sda: 30.7 GB, 30750031872 bytes
437141 heads, 63 sectors/track, 6761 cylinders 445141 heads, 63 sectors/track, 6761 cylinders
438Units = cylinders of 8883 * 512 = 4548096 bytes 446Units = cylinders of 8883 * 512 = 4548096 bytes
439 447
440 Device Boot Start End Blocks Id System 448 Device Boot Start End Blocks Id System
441/dev/sda1 1 3 13293 41 PPC PReP Boot 449/dev/sda1 * 1 3 13293 41 PPC PReP Boot
442 450
443Command (m for help): 451Command (m for help):
444</pre> 452</pre>
445</body> 453</body>
446</subsection> 454</subsection>

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.20