| 1 |
<!-- retain these comments for translator revision tracking -->
|
| 2 |
<!-- $Id: partition-programs.xml,v 1.2 2003/09/19 02:01:40 toff Exp $ -->
|
| 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 |
<![ %fdisk.txt; [
|
| 18 |
<varlistentry>
|
| 19 |
<term><command>fdisk</command></term>
|
| 20 |
<listitem><para>
|
| 21 |
|
| 22 |
The original Linux disk partitioner, good for gurus; read the
|
| 23 |
<ulink url="fdisk.txt">fdisk manual page"</ulink> .
|
| 24 |
|
| 25 |
</para><para>
|
| 26 |
|
| 27 |
Be careful if you have existing FreeBSD partitions on your machine.
|
| 28 |
The installation kernels include support for these partitions, but the
|
| 29 |
way that <command>fdisk</command> represents them (or not) can make the
|
| 30 |
device names differ. See the
|
| 31 |
<ulink url="&url-linux-freebsd;">Linux+FreeBSD HOWTO</ulink>
|
| 32 |
|
| 33 |
</para></listitem>
|
| 34 |
</varlistentry>
|
| 35 |
]]>
|
| 36 |
|
| 37 |
<![ %cfdisk.txt; [
|
| 38 |
<varlistentry>
|
| 39 |
<term><command>cfdisk</command></term>
|
| 40 |
<listitem><para>
|
| 41 |
|
| 42 |
A simple-to-use, full-screen disk partitioner for the rest of us; read
|
| 43 |
the <ulink url="cfdisk.txt">cfdisk manual page</ulink>.
|
| 44 |
|
| 45 |
</para><para>
|
| 46 |
|
| 47 |
Note that <command>cfdisk</command> doesn't understand FreeBSD
|
| 48 |
partitions at all, and, again, device names may differ as a result.
|
| 49 |
|
| 50 |
</para></listitem>
|
| 51 |
</varlistentry>
|
| 52 |
]]>
|
| 53 |
|
| 54 |
<![ %atari-fdisk.txt; [
|
| 55 |
<varlistentry>
|
| 56 |
<term><command>atari-fdisk</command></term>
|
| 57 |
<listitem><para>
|
| 58 |
|
| 59 |
Atari-aware version of <command>fdisk</command>; read the
|
| 60 |
<ulink url="atari-fdisk.txt"></ulink>.
|
| 61 |
|
| 62 |
</para></listitem>
|
| 63 |
</varlistentry>
|
| 64 |
]]>
|
| 65 |
|
| 66 |
<![ %amiga-fdisk.txt; [
|
| 67 |
<varlistentry>
|
| 68 |
<term><command>amiga-fdisk</command></term>
|
| 69 |
<listitem><para>
|
| 70 |
|
| 71 |
Amiga-aware version of <command>fdisk</command>; read the
|
| 72 |
<ulink url="amiga-fdisk.txt"></ulink>.
|
| 73 |
|
| 74 |
</para></listitem>
|
| 75 |
</varlistentry>
|
| 76 |
]]>
|
| 77 |
|
| 78 |
<![ %mac-fdisk.txt; [
|
| 79 |
<varlistentry>
|
| 80 |
<term><command>mac-fdisk</command></term>
|
| 81 |
<listitem><para>
|
| 82 |
|
| 83 |
Mac-aware version of <command>fdisk</command>; read the
|
| 84 |
<ulink url="mac-fdisk.txt"></ulink>.
|
| 85 |
|
| 86 |
</para></listitem>
|
| 87 |
</varlistentry>
|
| 88 |
]]>
|
| 89 |
|
| 90 |
<![ %pmac-fdisk.txt; [
|
| 91 |
<varlistentry>
|
| 92 |
<term><command>pmac-fdisk</command></term>
|
| 93 |
<listitem><para>
|
| 94 |
|
| 95 |
PowerMac-aware version of <command>fdisk</command>, also used by BVM
|
| 96 |
and Motorola VMEbus systems; read the
|
| 97 |
<ulink url="pmac-fdisk.txt">pmac-fdisk manual page</ulink>.
|
| 98 |
|
| 99 |
</para></listitem>
|
| 100 |
</varlistentry>
|
| 101 |
]]>
|
| 102 |
|
| 103 |
<![ %fdasd.txt; [
|
| 104 |
<varlistentry>
|
| 105 |
<term><command>fdasd</command></term>
|
| 106 |
<listitem><para>
|
| 107 |
|
| 108 |
&arch-title; version of <command>fdisk</command>; Please read the
|
| 109 |
<ulink url="fdasd.txt">fdasd manual page</ulink> or chapter 13 in
|
| 110 |
<ulink url="http://oss.software.ibm.com/developerworks/opensource/linux390/docu/l390dd08.pdf">
|
| 111 |
Device Drivers and Installation Commands</ulink> for details.
|
| 112 |
|
| 113 |
</para></listitem>
|
| 114 |
</varlistentry>
|
| 115 |
]]>
|
| 116 |
|
| 117 |
</variablelist>
|
| 118 |
|
| 119 |
<para>
|
| 120 |
|
| 121 |
One of these programs will be run by default when you select
|
| 122 |
``Partition a Hard Disk''. If the one which is run by default isn't
|
| 123 |
the one you want, quit the partitioner, go to the shell
|
| 124 |
(<userinput>tty2</userinput>) by pressing <userinput>Alt</userinput>
|
| 125 |
and <userinput>F2</userinput> keys together, and manually type in the
|
| 126 |
name of the program you want to use (and arguments, if any). Then
|
| 127 |
skip the ``Partition a Hard Disk'' step in
|
| 128 |
<command>debian-installer</command> and continue to the next step.
|
| 129 |
|
| 130 |
</para><para>
|
| 131 |
|
| 132 |
If you will be working with more than 20 partitions on your ide disk,
|
| 133 |
you will need to create devices for partitions 21 and beyond. The next
|
| 134 |
step of initializing the partition will fail unless a proper device is
|
| 135 |
present. As an example, here are commands you can use in
|
| 136 |
<userinput>tty2</userinput> or under Execute A Shell to add a device
|
| 137 |
so the 21st partition can be initialized:
|
| 138 |
|
| 139 |
<informalexample><screen>
|
| 140 |
cd /dev
|
| 141 |
mknod hda21 b 3 21
|
| 142 |
chgrp disk hda21
|
| 143 |
chmod 660 hda21
|
| 144 |
</screen></informalexample>
|
| 145 |
|
| 146 |
Booting into the new system will fail unless proper devices are present
|
| 147 |
on the target system. After installing the kernel and modules, execute:
|
| 148 |
|
| 149 |
<informalexample><screen>
|
| 150 |
cd /target/dev
|
| 151 |
mknod hda21 b 3 21
|
| 152 |
chgrp disk hda21
|
| 153 |
chmod 660 hda21
|
| 154 |
</screen></informalexample>
|
| 155 |
|
| 156 |
</para>
|
| 157 |
|
| 158 |
<![ %i386; [
|
| 159 |
<para>
|
| 160 |
|
| 161 |
Remember to mark your boot partition as ``Bootable''.
|
| 162 |
|
| 163 |
</para>
|
| 164 |
]]>
|
| 165 |
|
| 166 |
<![ %mac-fdisk.txt; [
|
| 167 |
<para>
|
| 168 |
|
| 169 |
See the
|
| 170 |
<ulink url="mac-fdisk.txt">mac-fdisk manual page</ulink> for
|
| 171 |
information on how to create partitions. One key point, is that the
|
| 172 |
swap partition is identified on Mac type disks by its name; it must be
|
| 173 |
named `swap'. All Mac linux partitions are the same partition type,
|
| 174 |
Apple_UNIX_SRV2. Please read the fine manual. We also suggest reading the
|
| 175 |
<ulink url="&url-mac-fdisk-tutorial;">mac-fdisk Tutorial</ulink>, which
|
| 176 |
includes steps you should take if you are sharing your disk with
|
| 177 |
MacOS.
|
| 178 |
|
| 179 |
</para>
|
| 180 |
]]>
|
| 181 |
|
| 182 |
<![ %alpha; [ &partition-alpha.xml; ]]>
|
| 183 |
<![ %hppa; [ &partition-hppa.xml; ]]>
|
| 184 |
<![ %i386; [ &partition-i386.xml; ]]>
|
| 185 |
<![ %ia64; [ &partition-ia64.xml; ]]>
|
| 186 |
<![ %mips; [ &partition-mips.xml; ]]>
|
| 187 |
<![ %powerpc; [ &partition-powerpc.xml; ]]>
|
| 188 |
<![ %sparc; [ &partition-sparc.xml; ]]>
|
| 189 |
|
| 190 |
</sect1>
|
| 191 |
|
| 192 |
|
| 193 |
|
| 194 |
|