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

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

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

Revision 1.1 Revision 1.2
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-sparc-disk.xml,v 1.1 2004/04/05 09:11:03 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-sparc-disk.xml,v 1.2 2004/04/05 13:59:53 neysx 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>
349 349
350<p> 350<p>
351We're ready to create the root partition. To do this, type <c>n</c> to create a 351We're ready to create the root partition. To do this, type <c>n</c> to create a
352new partition, then type <c>1</c> to create the partition. When prompted for the 352new partition, then type <c>1</c> to create the partition. When prompted for the
353first cylinder, hit enter. When prompted for the last cylinder, type <c>+512M</c> 353first cylinder, hit enter. When prompted for the last cylinder, type <c>+512M</c>
354to create a partition <c>512MBytes</c> in size. Make sure that the entire boot 354to create a partition <c>512MBytes</c> in size. Make sure that the entire root
355partition must be contained entirely within the first 2GBytes of the disk. 355partition must be contained entirely within the first 2GBytes of the disk.
356You can see output from these steps below: 356You can see output from these steps below:
357</p> 357</p>
358 358
359<pre caption="Creating a boot partition"> 359<pre caption="Creating a root partition">
360Command (m for help): <i>n</i> 360Command (m for help): <i>n</i>
361Partition number (1-8): <i>1</i> 361Partition number (1-8): <i>1</i>
362First cylinder (0-8635): <i>(press Enter)</i> 362First cylinder (0-8635): <i>(press Enter)</i>
363Last cylinder or +size or +sizeM or +sizeK (0-8635, default 8635): <i>+512M</i> 363Last cylinder or +size or +sizeM or +sizeK (0-8635, default 8635): <i>+512M</i>
364</pre> 364</pre>
375 375
376 Device Flag Start End Blocks Id System 376 Device Flag Start End Blocks Id System
377/dev/sda1 0 488 499712 83 Linux native 377/dev/sda1 0 488 499712 83 Linux native
378/dev/sda3 0 8635 8842240 5 Whole disk 378/dev/sda3 0 8635 8842240 5 Whole disk
379</pre> 379</pre>
380
380</body> 381</body>
381</subsection> 382</subsection>
382<subsection> 383<subsection>
383<title>Creating a swap partition</title> 384<title>Creating a swap partition</title>
384<body> 385<body>
599<pre caption="Mounting partitions"> 600<pre caption="Mounting partitions">
600# <i>mount /dev/sda1 /mnt/gentoo</i> 601# <i>mount /dev/sda1 /mnt/gentoo</i>
601# <i>mkdir /mnt/gentoo/usr</i> 602# <i>mkdir /mnt/gentoo/usr</i>
602# <i>mount /dev/sda4 /mnt/gentoo/usr</i> 603# <i>mount /dev/sda4 /mnt/gentoo/usr</i>
603# <i>mkdir /mnt/gentoo/var</i> 604# <i>mkdir /mnt/gentoo/var</i>
604# <i>mount /dev/sda4 /mnt/gentoo/var</i> 605# <i>mount /dev/sda5 /mnt/gentoo/var</i>
605# <i>mkdir /mnt/gentoo/home</i> 606# <i>mkdir /mnt/gentoo/home</i>
606# <i>mount /dev/sda4 /mnt/gentoo/home</i> 607# <i>mount /dev/sda6 /mnt/gentoo/home</i>
607</pre> 608</pre>
608 609
609<note> 610<note>
610If you want your <path>/tmp</path> to reside on a separate partition, be sure 611If you want your <path>/tmp</path> to reside on a separate partition, be sure
611to change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. 612to change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>.

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20