~ubuntu-branches/ubuntu/vivid/installation-guide/vivid-proposed

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Frans Pop
  • Date: 2005-10-25 17:37:25 UTC
  • Revision ID: james.westby@ubuntu.com-20051025173725-aq0bm11be7bfd7rw
Tags: 20051025
* Mention in copyright that full GPL is included in the manual.
  Closes: #334925
* Register installed documents with doc-base.
* Minor updates in English text and translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- retain these comments for translator revision tracking -->
 
2
<!-- original version: 11648 untranslated -->
 
3
 
 
4
 
 
5
  <sect2 arch="ia64"><title>Partitioning for &arch-title;</title>
 
6
<para>
 
7
 
 
8
ia64 EFI firmware supports two partition table (or disk label)
 
9
formats, GPT and MS-DOS.  MS-DOS is the format typically used on i386
 
10
PCs, and is no longer recommended for ia64 systems.  The installer
 
11
provides two partitioning programs, 
 
12
<ulink url="cfdisk.txt"><command>cfdisk</command></ulink> and 
 
13
<ulink url="parted.txt"><command>parted</command></ulink>.
 
14
<command>parted</command> can manage both GPT and MS-DOS tables, while
 
15
<command>cfdisk</command> can only manage MS-DOS tables.  It is very
 
16
important to note that if your disk has previously been partitioned
 
17
with a GPT table, and you now want to use MS-DOS tables, you must use
 
18
<command>parted</command> to create the new partition table.  This is
 
19
because the two tables use different areas of a disk, and
 
20
<command>cfdisk</command> does not know how to remove a GPT table.
 
21
 
 
22
</para><para>
 
23
 
 
24
An important difference between <command>cfdisk</command> and
 
25
<command>parted</command> is the way they identify a partition
 
26
``type''.  <command>cfdisk</command> uses a byte in the partition
 
27
table (for example, 83 for a linux ext2 partition), while
 
28
<command>parted</command> identifies a partition ``type'' by examining
 
29
the data on that partition.  This means that <command>parted</command>
 
30
will not consider a partition to be a swap partition until you format
 
31
it as such.  Similarly, it won't consider a partition a linux ext2
 
32
partition until you create a file system on it.
 
33
<command>parted</command> does allow you to create file systems and
 
34
format swap space, and you should do that from within
 
35
<command>parted</command>.
 
36
 
 
37
</para><para>
 
38
 
 
39
Unfortunately, <command>parted</command> is a command line driven
 
40
program and so not as easy to use as <command>cfdisk</command>.
 
41
Assuming that you want to erase your whole disk and create a GPT table
 
42
and some partitions, then something similar to the following command
 
43
sequence could be used:
 
44
 
 
45
</para><para>
 
46
<informalexample><screen>
 
47
 
 
48
      mklabel gpt
 
49
      mkpartfs primary fat 0 50
 
50
      mkpartfs primary linux-swap 51 1000
 
51
      mkpartfs primary ext2 1001 3000
 
52
      set 1 boot on
 
53
      print
 
54
      quit
 
55
 
 
56
</screen></informalexample>
 
57
</para><para>
 
58
 
 
59
That creates a new partition table, and three partitions to be used as
 
60
an EFI boot partition, swap space, and a root file system.  Finally it
 
61
sets the boot flag on the EFI partition.  Partitions are specified in
 
62
Megabytes, with start and end offsets from the beginning of the disk.
 
63
So, for example, above we created a 1999MB ext2 file system starting
 
64
at offset 1001MB from the start of the disk.  Note that formatting swap
 
65
space with <command>parted</command> can take a few minutes to
 
66
complete, as it scans the partition for bad blocks.
 
67
 
 
68
</para>
 
69
  </sect2>
 
70
 
 
71
  <sect2 arch="ia64"><title>Boot Loader Partition Requirements</title>
 
72
 
 
73
<para>
 
74
 
 
75
ELILO, the ia64 boot loader, requires a partition containing a FAT
 
76
file system.  If you used GPT partition tables, then that partition
 
77
should have the <userinput>boot</userinput> flag set; if you used
 
78
MS-DOS partition tables, then that partition should be of type "EF".
 
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 16MB, but if you are likely to be doing development, or
 
82
experimenting with different kernels, then 128MB might be a better
 
83
size.
 
84
 
 
85
</para>
 
86
  </sect2>
 
 
b'\\ No newline at end of file'