1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
|
<!-- retain these comments for translator revision tracking -->
<!-- $Id$ -->
<sect1 id="non-debian-partitioning">
<title>Pre-Partitioning for Multi-Boot Systems</title>
<para>
Partitioning your disk simply refers to the act of breaking up your
disk into sections. Each section is then independent of the others.
It's roughly equivalent to putting up walls inside a house; if you add
furniture to one room it doesn't affect any other room.
</para><para arch="s390">
Whenever this section talks about <quote>disks</quote> you should translate
this into a DASD or VM minidisk in the &arch-title; world. Also a machine
means an LPAR or VM guest in this case.
</para><para>
If you already have an operating system on your system
<phrase arch="any-x86">
(Windows 9x, Windows NT/2000/XP/2003/Vista/7, OS/2, MacOS, Solaris, FreeBSD, …)
</phrase>
<phrase arch="s390">
(VM, z/OS, OS/390, …)
</phrase>
which uses the whole disk and you want to stick &debian; on the same disk, you will need to repartition
it. &debian; requires its own hard disk partitions. It cannot be
installed on Windows or MacOS partitions. It may be able to share some
partitions with other Unix systems, but that's not covered here. At
the very least you will need a dedicated partition for the &debian;
root filesystem.
</para><para>
You can find information about your current partition setup by using
a partitioning tool for your current operating system<phrase
arch="any-x86">, such as the integrated Disk Manager in Windows or fdisk in
DOS</phrase><phrase
arch="powerpc">, such as Drive Setup, HD Toolkit, or MacTools</phrase><phrase
arch="s390">, such as the VM diskmap</phrase>. Partitioning tools always
provide a way to show existing partitions without making changes.
</para><para>
In general, changing a partition with a file system already on
it will destroy any information there. Thus you should always make
backups before doing any repartitioning. Using the analogy of the
house, you would probably want to move all the furniture out of the
way before moving a wall or you risk destroying it.
</para><para>
Several modern operating systems offer the ability to move and resize
certain existing partitions without destroying their contents. This allows
making space for additional partitions without losing existing data. Even
though this works quite well in most cases, making changes to the
partitioning of a disk is an inherently dangerous action and should only be
done after having made a full backup of all data.
<phrase arch="any-x86">For FAT/FAT32 and NTFS partitions as used by DOS and
Windows systems, the ability to move and resize them losslessly is provided
both by &d-i; as well as by the integrated Disk Manager of Windows
7. </phrase>
</para>
<para arch="x86">
To losslessly resize an existing FAT or NTFS partition from within &d-i;, go
to the partitioning step, select the option for manual partitioning, select
the partition to resize, and simply specify its new size.
</para>
<para arch="hppa" condition="FIXME">
<emphasis>FIXME: write about HP-UX disks?</emphasis>
</para><para>
Creating and deleting partitions can be done from within &d-i; as
well as from an existing operating system. As a rule of thumb,
partitions should be created by the system for which they are to
be used, i.e. partitions to be used by &debian-gnu; should be
created from within &d-i; and partitions to be used from another
operating system should be created from there. &d-i; is
capable of creating non-&arch-kernel; partitions, and partitions created
this way usually work without problems when used in other operating
systems, but there are a few rare corner cases in which this could
cause problems, so if you want to be sure, use the native partitioning
tools to create partitions for use by other operating systems.
</para><para>
If you are going to install more than one operating system on the same
machine, you should install all other system(s) before proceeding with
the &debian; installation. Windows and other OS installations may destroy
your ability to start &debian;, or encourage you to reformat non-native
partitions.
</para><para>
You can recover from these actions or avoid them, but installing
the native system first saves you trouble.
</para><para arch="powerpc">
In order for OpenFirmware to automatically boot &debian-gnu; the &arch-parttype;
partitions should appear before all other partitions on the disk,
especially MacOS boot partitions. This should be kept in mind when
pre-partitioning; you should create a &arch-parttype; placeholder partition to
come <emphasis>before</emphasis> the other bootable partitions on the
disk. (The small partitions dedicated to Apple disk drivers are not
bootable.) You can delete the placeholder with the &debian; partition
tools later during the actual install, and replace it with &arch-parttype;
partitions.
</para>
<!-- paragraph scheduled for removal
<para>
If you currently have one hard disk with one partition (a common setup
for desktop computers), and you want to multi-boot the native
operating system and &debian;, you will need to:
<orderedlist>
<listitem><para>
Back up everything on the computer.
</para></listitem>
<listitem><para>
Boot from the native operating system installer media such as CD-ROM
or tapes.
<phrase arch="powerpc">When booting from a MacOS CD, hold the
<keycap>c</keycap> key while
booting to force the CD to become the active MacOS system.</phrase>
</para></listitem>
<listitem><para>
Use the native partitioning tools to create native system
partition(s). Leave either a place holder partition or free space for
&debian-gnu;.
</para></listitem>
<listitem><para>
Install the native operating system on its new partition.
</para></listitem>
<listitem><para>
Boot back into the native system to verify everything's OK,
and to download the &debian; installer boot files.
</para></listitem>
<listitem><para>
Boot the &debian; installer to continue installing &debian;.
</para></listitem>
</orderedlist>
</para>
-->
<!-- &nondeb-part-x86.xml; currently includes only outdated information;
don't use it for building the manual.
&nondeb-part-x86.xml;
-->
&nondeb-part-sparc.xml;
&nondeb-part-powerpc.xml;
</sect1>
|