/[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.34 Revision 1.35
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-ppc64-disk.xml,v 1.34 2009/01/26 08:04:26 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ppc64-disk.xml,v 1.35 2010/07/21 01:55:53 nightmorph Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract>
12To be able to install Gentoo, you must create the necessary partitions.
13This chapter describes how to partition a disk for future usage.
14</abstract>
15
11<version>9.0</version> 16<version>10.0</version>
12<date>2008-04-01</date> 17<date>2010-07-20</date>
13 18
14<section> 19<section>
15<title>Introduction to Block Devices</title> 20<title>Introduction to Block Devices</title>
16 21
17<subsection> 22<subsection>
306 311
307Command (m for help): 312Command (m for help):
308</pre> 313</pre>
309 314
310<p> 315<p>
311Don't worry, you can create a new empty dos partition table by pressing 316Don't worry, you can create a new empty DOS partition table by pressing
312<c>o</c>. 317<c>o</c>.
313</p> 318</p>
314 319
315<warn> 320<warn>
316This will destroy any installed AIX version 321This will destroy any installed AIX version!
317</warn> 322</warn>
318 323
319<p> 324<p>
320Type <c>p</c> to display your disk current partition configuration: 325Type <c>p</c> to display your disk current partition configuration:
321</p> 326</p>
322 327
323<pre caption="An example partition configuration"> 328<pre caption="An example partition configuration">
324Command (m for help): p 329Command (m for help): <i>p</i>
325 330
326Disk /dev/sda: 30.7 GB, 30750031872 bytes 331Disk /dev/sda: 30.7 GB, 30750031872 bytes
327141 heads, 63 sectors/track, 6761 cylinders 332141 heads, 63 sectors/track, 6761 cylinders
328Units = cylinders of 8883 * 512 = 4548096 bytes 333Units = cylinders of 8883 * 512 = 4548096 bytes
329 334
357<c>d</c> to delete a partition. For instance, to delete an existing 362<c>d</c> to delete a partition. For instance, to delete an existing
358<path>/dev/sda1</path>: 363<path>/dev/sda1</path>:
359</p> 364</p>
360 365
361<note> 366<note>
362If you don't want to delete all partitions just delete those you 367If you don't want to delete all partitions just delete those you want to delete.
363want to delete. At this point the author recommends a backup of your 368At this point you should create a backup of your data to avoid losing it.
364data to avoid the lose of it.
365</note> 369</note>
366 370
367<pre caption="Deleting a partition"> 371<pre caption="Deleting a partition">
368Command (m for help): <i>d</i> 372Command (m for help): <i>d</i>
369Partition number (1-4): <i>1</i> 373Partition number (1-4): <i>1</i>
371 375
372<p> 376<p>
373The partition has been scheduled for deletion. It will no longer show up 377The partition has been scheduled for deletion. It will no longer show up
374if you type <c>p</c>, but it will not be erased until your changes have 378if you type <c>p</c>, but it will not be erased until your changes have
375been saved. If you made a mistake and want to abort without saving your 379been saved. If you made a mistake and want to abort without saving your
376changes, type <c>q</c> immediately and hit enter and your partition will 380changes, type <c>q</c> immediately and hit Enter and your partition will
377not be deleted. 381not be deleted.
378</p> 382</p>
379 383
380<p> 384<p>
381Now, assuming that you do indeed want to wipe out all the partitions on 385Now, assuming that you do indeed want to wipe out all the partitions on
410<p> 414<p>
411We first create a small PReP boot partition. Type <c>n</c> to create a new 415We first create a small PReP boot partition. Type <c>n</c> to create a new
412partition, then <c>p</c> to select a primary partition, followed by 416partition, then <c>p</c> to select a primary partition, followed by
413<c>1</c> to select the first primary partition. When prompted for the 417<c>1</c> to select the first primary partition. When prompted for the
414first cylinder, hit enter. When prompted for the last cylinder, type 418first cylinder, hit enter. When prompted for the last cylinder, type
415<c>+7M</c> to create a partition 7 Mbyte in size. After you've done 419<c>+7M</c> to create a partition 7 MB in size. After you've done
416this, type <c>t</c> to set the partition type, <c>1</c> to select the 420this, type <c>t</c> to set the partition type, <c>1</c> to select the
417partition you just created and then type in <c>41</c> to set the 421partition you just created and then type in <c>41</c> to set the
418partition type to "PPC PReP Boot". Finally, you'll need to mark the PReP 422partition type to "PPC PReP Boot". Finally, you'll need to mark the PReP
419partition as bootable. 423partition as bootable.
420</p> 424</p>
421 425
422<note> 426<note>
423The PReP partition has to be smaller than 8 MByte! 427The PReP partition has to be smaller than 8 MB!
424</note> 428</note>
425 429
426<pre caption="Creating the PReP boot partition"> 430<pre caption="Creating the PReP boot partition">
427Command (m for help): <i>p</i> 431Command (m for help): <i>p</i>
428 432
518space on your disk. After completing these steps, typing <c>p</c> should 522space on your disk. After completing these steps, typing <c>p</c> should
519display a partition table that looks similar to this: 523display a partition table that looks similar to this:
520</p> 524</p>
521 525
522<pre caption="Partition listing after creating the root partition"> 526<pre caption="Partition listing after creating the root partition">
523Command (m for help): p 527Command (m for help): <i>p</i>
524 528
525Disk /dev/sda: 30.7 GB, 30750031872 bytes 529Disk /dev/sda: 30.7 GB, 30750031872 bytes
526141 heads, 63 sectors/track, 6761 cylinders 530141 heads, 63 sectors/track, 6761 cylinders
527Units = cylinders of 8883 * 512 = 4548096 bytes 531Units = cylinders of 8883 * 512 = 4548096 bytes
528 532

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

  ViewVC Help
Powered by ViewVC 1.1.20