/[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.5 Revision 1.6
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/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-alpha-disk.xml,v 1.5 2004/07/26 16:40:13 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml,v 1.6 2004/08/02 15:54:00 swift 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>
13<title>Block Devices</title> 13<title>Block Devices</title>
14<body> 14<body>
15 15
16<p> 16<p>
17We'll take a good look at disk-oriented aspects of Gentoo Linux 17We'll take a good look at disk-oriented aspects of Gentoo Linux
18and Linux in general, including Linux filesystems, partitions and block devices. 18and Linux in general, including Linux filesystems, partitions and block devices.
19Then, once you're familiar with the ins and outs of disks and filesystems, 19Then, once you're familiar with the ins and outs of disks and filesystems,
20you'll be guided through the process of setting up partitions and filesystems 20you'll be guided through the process of setting up partitions and filesystems
21for your Gentoo Linux installation. 21for your Gentoo Linux installation.
22</p> 22</p>
520create the necessary mount directories for every partition you created. As an 520create the necessary mount directories for every partition you created. As an
521example we mount the root and boot partition: 521example we mount the root and boot partition:
522</p> 522</p>
523 523
524<pre caption="Mounting partitions"> 524<pre caption="Mounting partitions">
525# <i>mount /dev/sda2 /mnt/gentoo</i> 525# <i>mount /dev/sda2 /mnt/gentoo</i>
526</pre> 526</pre>
527 527
528<note> 528<note>
529If you want your <path>/tmp</path> to reside on a separate partition, be sure to 529If you want your <path>/tmp</path> to reside on a separate partition, be sure to
530change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. This 530change its permissions after mounting: <c>chmod 1777 /mnt/gentoo/tmp</c>. This
531also holds for <path>/var/tmp</path>. 531also holds for <path>/var/tmp</path>.
532</note> 532</note>
533 533
534<p> 534<p>
535We also need to mount the proc filesystem (a virtual interface with the kernel) 535We will also have to mount the proc filesystem (a virtual interface with the
536on <path>/proc</path>. We first create the <path>/mnt/gentoo/proc</path> 536kernel) on <path>/proc</path>. But first we will need to place our files on the partitions.
537mountpoint and then mount the filesystem:
538</p>
539
540<pre caption="Creating the /mnt/gentoo/proc mountpoint">
541# <i>mkdir /mnt/gentoo/proc</i>
542# <i>mount -t proc none /mnt/gentoo/proc</i>
543</pre>
544
545<p> 537</p>
538
539<p>
546Now continue with <uri link="?part=1&amp;chap=5">Installing the Gentoo 540Continue with <uri link="?part=1&amp;chap=5">Installing the Gentoo
547Installation Files</uri>. 541Installation Files</uri>.
548</p> 542</p>
549 543
550</body> 544</body>
551</section> 545</section>
552</sections> 546</sections>

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20