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

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

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

Revision 1.8 Revision 1.9
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-hppa-disk.xml,v 1.8 2004/09/14 11:55:12 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-disk.xml,v 1.9 2004/09/30 03:14:57 vapier 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>
115<pre caption="Partitioning the disk"> 115<pre caption="Partitioning the disk">
116# <i>fdisk /dev/sda</i> 116# <i>fdisk /dev/sda</i>
117</pre> 117</pre>
118 118
119<p> 119<p>
120PALO needs a special partition to work. You have to create a partition of at 120HPPA machines use the PC standard DOS partition tables. To create a new
121least 16Mb at the beginning of your disk. The partition type must be of type 121DOS partition table, simply use the <c>o</c> command.
122<e>f0</e> (Linux/PA-RISC boot). 122</p>
123
124<pre caption="Creating a DOS partition table">
125# <i>fdisk /dev/sda</i>
126
127Command (m for help): <i>o</i>
128Building a new DOS disklabel.
129</pre>
130
131<p>
132PALO (the HPPA bootloader) needs a special partition to work. You have
133to create a partition of at least 16Mb at the beginning of your disk.
134The partition type must be of type <e>f0</e> (Linux/PA-RISC boot).
123</p> 135</p>
124 136
125<impo> 137<impo>
126If you ignore this and continue without a special PALO partition, your system 138If you ignore this and continue without a special PALO partition, your system
127will stop loving you and fail to start. Also, if your disk is larger than 2Gb, 139will stop loving you and fail to start. Also, if your disk is larger than 2Gb,
128make sure that the boot partition is in the first 2Gb of your disk. PALO is 140make sure that the boot partition is in the first 2Gb of your disk. PALO is
129unable to read a kernel after the 2Gb limit. 141unable to read a kernel after the 2Gb limit.
130</impo> 142</impo>
143
144<pre caption="A simple default partition schema">
145# <i>cat /etc/fstab</i>
146/dev/sda2 /boot ext3 noauto,noatime 1 1
147/dev/sda3 none swap sw 0 0
148/dev/sda4 / ext3 noatime 0 0
149
150# <i>fdisk /dev/sda</i>
151
152Command (m for help): <i>p</i>
153
154Disk /dev/sda: 4294 MB, 4294816768 bytes
155133 heads, 62 sectors/track, 1017 cylinders
156Units = cylinders of 8246 * 512 = 4221952 bytes
157
158 Device Boot Start End Blocks Id System
159/dev/sda1 1 8 32953 f0 Linux/PA-RISC boot
160/dev/sda2 9 20 49476 83 Linux
161/dev/sda3 21 70 206150 82 Linux swap
162/dev/sda4 71 1017 3904481 83 Linux
163</pre>
131 164
132<p> 165<p>
133Now that your partitions are created, you can now continue with <uri 166Now that your partitions are created, you can now continue with <uri
134link="#filesystems">Creating Filesystems</uri>. 167link="#filesystems">Creating Filesystems</uri>.
135</p> 168</p>

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20