~qbalazs/installation-guide/lp1030336

« back to all changes in this revision

Viewing changes to fi/partitioning/partition/ia64.xml

  • Committer: joeyh
  • Date: 2005-10-07 19:51:38 UTC
  • Revision ID: vcs-imports@canonical.com-20051007195138-c3d57b2617a79a4f
move manual to top-level directory, split out of debian-installer package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- retain these comments for translator revision tracking -->
 
2
<!-- original version: 28672 untranslated -->
 
3
 
 
4
 
 
5
  <sect2 arch="ia64"><title>Partitioning for &arch-title;</title>
 
6
 
 
7
<para>
 
8
 
 
9
The <command>partman</command> disk partitioner is the default
 
10
partitioning tool for the installer.
 
11
It manages the set of partitions and their mount points to ensure
 
12
that the disks and filesystems is properly configured for a successful
 
13
installation.  It actually uses the <command>parted</command> to
 
14
do the on-disk partitioning.
 
15
 
 
16
</para>
 
17
 
 
18
   <note>
 
19
   <title>EFI Recognized Formats</title>
 
20
<para>
 
21
 
 
22
The IA64 EFI firmware supports two partition table (or disk label)
 
23
formats, GPT and MS-DOS.  MS-DOS, the format typically used on i386
 
24
PCs, is no longer recommended for IA64 systems.  Although
 
25
the installer also provides the <command>cfdisk</command>,
 
26
you should only use the <ulink url="parted.txt">
 
27
<command>parted</command></ulink> because only it can manage both GPT
 
28
and MS-DOS tables correctly.
 
29
 
 
30
</para></note>
 
31
 
 
32
<para>
 
33
 
 
34
The automatic partitioning recipes for <command>partman</command>
 
35
allocate an EFI partition as the first partition on the disk.
 
36
You can also set up the partition under the <guimenuitem>Guided
 
37
partitioning</guimenuitem> from the main menu in a manner similar to
 
38
setting up a <emphasis>swap</emphasis> partition.
 
39
 
 
40
</para><para>
 
41
 
 
42
The <command>partman</command> partitioner will handle most disk
 
43
layouts.
 
44
For those rare cases where it is necessary to manually set up a disk,
 
45
you can use the shell as described above and run the
 
46
<command>parted</command> utility directly using its command line interface.
 
47
Assuming that you want to erase your whole disk and create a GPT table
 
48
and some partitions, then something similar to the following command
 
49
sequence could be used:
 
50
 
 
51
<informalexample><screen>
 
52
      mklabel gpt
 
53
      mkpartfs primary fat 0 50
 
54
      mkpartfs primary linux-swap 51 1000
 
55
      mkpartfs primary ext2 1001 3000
 
56
      set 1 boot on
 
57
      print
 
58
      quit
 
59
</screen></informalexample>
 
60
 
 
61
This creates a new partition table, and three partitions to be used as
 
62
an EFI boot partition, swap space, and a root file system.  Finally it
 
63
sets the boot flag on the EFI partition.  Partitions are specified in
 
64
Megabytes, with start and end offsets from the beginning of the disk.
 
65
So, for example, above we created a 1999MB ext2 file system starting
 
66
at offset 1001MB from the start of the disk.  Note that formatting swap
 
67
space with <command>parted</command> can take a few minutes to
 
68
complete, as it scans the partition for bad blocks.
 
69
 
 
70
</para>
 
71
  </sect2>
 
72
 
 
73
  <sect2 arch="ia64"><title>Boot Loader Partition Requirements</title>
 
74
 
 
75
<para>
 
76
 
 
77
ELILO, the ia64 boot loader, requires a partition containing a FAT
 
78
file system with the <userinput>boot</userinput> flag set.
 
79
The partition must be big enough to hold the boot loader and any
 
80
kernels or RAMdisks you may wish to boot.  A minimum size would be
 
81
about 20MB, but if you expect to run with multiple kernels, then
 
82
128MB might be a better size.
 
83
 
 
84
</para><para>
 
85
 
 
86
The EFI Boot Manager and the EFI Shell fully support the GPT table
 
87
so the boot partition does not necessarily have to be the first
 
88
partition or even on the same disk.
 
89
This is convenient if you should forget to allocate the partition and
 
90
only find out after you have formatted the other partitions on your disk(s).
 
91
The <command>partman</command> partitioner checks for an EFI partition
 
92
at the same time it checks for a properly set up <emphasis>root</emphasis>
 
93
partition.
 
94
This gives you an opportunity to correct the disk layout before the
 
95
package install begins.
 
96
The easiest way to correct this omission is to shrink the last partition
 
97
of the disk to make enough free space for adding an EFI partition.
 
98
 
 
99
</para><para>
 
100
 
 
101
It is strongly recommended that you allocate the EFI boot partition
 
102
on the same disk as the <emphasis>root</emphasis> filesystem.
 
103
 
 
104
</para>
 
105
 
 
106
  </sect2>
 
107
 
 
108
  <sect2 arch="ia64"><title>EFI Diagnostic Partitions</title>
 
109
 
 
110
<para>
 
111
 
 
112
The EFI firmware is significantly more sophisticated than the usual
 
113
BIOS seen on most x86 PCs.
 
114
Some system vendors take advantage of the ability of the EFI to
 
115
access files and run programs from a hard disk filesystem to store diagnostics
 
116
and EFI based system management utilities on the hard disk.
 
117
This is a separate FAT format filesystem on the system disk.
 
118
Consult the system documentation and accessories that come with the
 
119
system for details.
 
120
The easiest time to set up a diagnostics partition is at the same time you
 
121
set up the EFI boot partition.
 
122
 
 
123
</para>
 
124
 
 
125
   </sect2>