~qbalazs/installation-guide/lp1030336

« back to all changes in this revision

Viewing changes to fi/partitioning/partition-programs.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: 28997 untranslated -->
 
3
 
 
4
 <sect1 id="partition-programs">
 
5
 <title>Debian Partitioning Programs</title>
 
6
<para>
 
7
 
 
8
Several varieties of partitioning programs have been adapted by Debian
 
9
developers to work on various types of hard disks and computer
 
10
architectures. Following is a list of the program(s) applicable for
 
11
your architecture.
 
12
 
 
13
</para>
 
14
 
 
15
<variablelist>
 
16
 
 
17
<varlistentry>
 
18
<term><command>partman</command></term>
 
19
<listitem><para>
 
20
 
 
21
Recommended partitioning tool in Debian. This swiss army knife can
 
22
also resize partitions, create filesystems
 
23
<phrase arch="i386"> (<quote>format</quote> in Windows speak)</phrase>
 
24
and assign them to the mountpoints.
 
25
 
 
26
</para></listitem>
 
27
</varlistentry>
 
28
 
 
29
<varlistentry condition="fdisk.txt">
 
30
<term><command>fdisk</command></term>
 
31
<listitem><para>
 
32
 
 
33
The original Linux disk partitioner, good for gurus.
 
34
 
 
35
</para><para>
 
36
 
 
37
Be careful if you have existing FreeBSD partitions on your machine.
 
38
The installation kernels include support for these partitions, but the
 
39
way that <command>fdisk</command> represents them (or not) can make the
 
40
device names differ.  See the
 
41
<ulink url="&url-linux-freebsd;">Linux+FreeBSD HOWTO</ulink>
 
42
 
 
43
</para></listitem>
 
44
</varlistentry>
 
45
 
 
46
<varlistentry condition="cfdisk.txt">
 
47
<term><command>cfdisk</command></term>
 
48
<listitem><para>
 
49
 
 
50
A simple-to-use, full-screen disk partitioner for the rest of us.
 
51
 
 
52
</para><para>
 
53
 
 
54
Note that <command>cfdisk</command> doesn't understand FreeBSD
 
55
partitions at all, and, again, device names may differ as a result.
 
56
 
 
57
</para></listitem>
 
58
</varlistentry>
 
59
 
 
60
<varlistentry condition="atari-fdisk.txt">
 
61
<term><command>atari-fdisk</command></term>
 
62
<listitem><para>
 
63
 
 
64
Atari-aware version of <command>fdisk</command>.
 
65
 
 
66
</para></listitem>
 
67
</varlistentry>
 
68
 
 
69
<varlistentry condition="amiga-fdisk.txt">
 
70
<term><command>amiga-fdisk</command></term>
 
71
<listitem><para>
 
72
 
 
73
Amiga-aware version of <command>fdisk</command>.
 
74
 
 
75
</para></listitem>
 
76
</varlistentry>
 
77
 
 
78
<varlistentry condition="mac-fdisk.txt">
 
79
<term><command>mac-fdisk</command></term>
 
80
<listitem><para>
 
81
 
 
82
Mac-aware version of <command>fdisk</command>.
 
83
 
 
84
</para></listitem>
 
85
</varlistentry>
 
86
 
 
87
<varlistentry condition="pmac-fdisk.txt">
 
88
<term><command>pmac-fdisk</command></term>
 
89
<listitem><para>
 
90
 
 
91
PowerMac-aware version of <command>fdisk</command>, also used by BVM
 
92
and Motorola VMEbus systems.
 
93
 
 
94
</para></listitem>
 
95
</varlistentry>
 
96
 
 
97
<varlistentry condition="fdasd.txt">
 
98
<term><command>fdasd</command></term>
 
99
<listitem><para>
 
100
 
 
101
&arch-title; version of <command>fdisk</command>; Please read the
 
102
fdasd manual page or chapter 13 in
 
103
<ulink url="http://oss.software.ibm.com/developerworks/opensource/linux390/docu/l390dd08.pdf">
 
104
Device Drivers and Installation Commands</ulink> for details.
 
105
 
 
106
</para></listitem>
 
107
</varlistentry>
 
108
</variablelist>
 
109
 
 
110
<para>
 
111
 
 
112
One of these programs will be run by default when you select
 
113
<guimenuitem>Partition a Hard Disk</guimenuitem>.  If the one which is run
 
114
by default isn't the one you want, quit the partitioner, go to the shell
 
115
(<userinput>tty2</userinput>) by pressing <keycap>Alt</keycap>
 
116
and <keycap>F2</keycap> keys together, and manually type in the
 
117
name of the program you want to use (and arguments, if any).  Then
 
118
skip the <guimenuitem>Partition a Hard Disk</guimenuitem> step in
 
119
<command>debian-installer</command> and continue to the next step.
 
120
 
 
121
</para><para>
 
122
 
 
123
If you will be working with more than 20 partitions on your ide disk,
 
124
you will need to create devices for partitions 21 and beyond. The next
 
125
step of initializing the partition will fail unless a proper device is
 
126
present. As an example, here are commands you can use in
 
127
<userinput>tty2</userinput> or under Execute A Shell to add a device
 
128
so the 21st partition can be initialized:
 
129
 
 
130
<informalexample><screen>
 
131
# cd /dev
 
132
# mknod hda21 b 3 21
 
133
# chgrp disk hda21
 
134
# chmod 660 hda21
 
135
</screen></informalexample>
 
136
 
 
137
Booting into the new system will fail unless proper devices are present
 
138
on the target system. After installing the kernel and modules, execute:
 
139
 
 
140
<informalexample><screen>
 
141
# cd /target/dev
 
142
# mknod hda21 b 3 21
 
143
# chgrp disk hda21
 
144
# chmod 660 hda21
 
145
</screen></informalexample>
 
146
 
 
147
<phrase arch="i386">Remember to mark your boot partition as
 
148
<quote>Bootable</quote>.</phrase>
 
149
 
 
150
</para><para condition="mac-fdisk.txt">
 
151
 
 
152
One key point when partitioning for Mac type disks is that the
 
153
swap partition is identified by its name; it must be named <quote>swap</quote>.
 
154
All Mac linux partitions are the same partition type,
 
155
Apple_UNIX_SRV2. Please read the fine manual. We also suggest reading the
 
156
<ulink url="&url-mac-fdisk-tutorial;">mac-fdisk Tutorial</ulink>, which
 
157
includes steps you should take if you are sharing your disk with MacOS.
 
158
 
 
159
</para>
 
160
 
 
161
&partition-alpha.xml;
 
162
&partition-hppa.xml;
 
163
&partition-i386.xml;
 
164
&partition-ia64.xml;
 
165
&partition-mips.xml;
 
166
&partition-powerpc.xml;
 
167
&partition-sparc.xml;
 
168
 
 
169
 </sect1>