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

« back to all changes in this revision

Viewing changes to ca/preparing/non-debian-partitioning.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: 28997 untranslated -->
 
3
 
 
4
 <sect1 id="non-debian-partitioning">
 
5
 <title>Pre-Partitioning for Multi-Boot Systems</title>
 
6
<para>
 
7
 
 
8
Partitioning your disk simply refers to the act of breaking up your
 
9
disk into sections. Each section is then independent of the others.
 
10
It's roughly equivalent to putting up walls inside a house; if you add
 
11
furniture to one room it doesn't affect any other room.
 
12
 
 
13
</para><para arch="s390">
 
14
 
 
15
Whenever this section talks about <quote>disks</quote> you should translate
 
16
this into a DASD or VM minidisk in the &arch-title; world. Also a machine
 
17
means an LPAR or VM guest in this case.
 
18
 
 
19
</para><para>
 
20
 
 
21
If you already have an operating system on your system
 
22
 
 
23
<phrase arch="i386">
 
24
(Windows 9x, Windows NT/2000/XP, OS/2, MacOS, Solaris, FreeBSD, &hellip;)
 
25
</phrase>
 
26
 
 
27
<phrase arch="alpha">
 
28
(Tru64 (Digital UNIX), OpenVMS, Windows NT, FreeBSD, &hellip;)
 
29
</phrase>
 
30
 
 
31
<phrase arch="s390">
 
32
(VM, z/OS, OS/390, &hellip;)
 
33
</phrase>
 
34
 
 
35
<phrase arch="m68k">
 
36
(Amiga OS, Atari TOS, Mac OS, &hellip;)
 
37
</phrase>
 
38
 
 
39
and want to stick Linux on the same disk, you will need to repartition
 
40
the disk. Debian requires its own hard disk partitions. It cannot be
 
41
installed on Windows or MacOS partitions. It may be able to share some
 
42
partitions with other Linux systems, but that's not covered here. At
 
43
the very least you will need a dedicated partition for the Debian
 
44
root.
 
45
 
 
46
</para><para>
 
47
 
 
48
You can find information about your current partition setup by using
 
49
a partitioning tool for your current operating system<phrase
 
50
arch="i386">, such as fdisk or PartitionMagic</phrase><phrase
 
51
arch="powerpc">, such as Drive Setup, HD Toolkit, or MacTools</phrase><phrase
 
52
arch="m68k">, such as HD SC Setup, HDToolBox, or SCSITool</phrase><phrase
 
53
arch="s390">, such as the VM diskmap</phrase>. Partitioning tools always
 
54
provide a way to show existing partitions without making changes.
 
55
 
 
56
</para><para>
 
57
 
 
58
In general, changing a partition with a file system already on
 
59
it will destroy any information there. Thus you should always make
 
60
backups before doing any repartitioning.  Using the analogy of the
 
61
house, you would probably want to move all the furniture out of the
 
62
way before moving a wall or you risk destroying it.
 
63
 
 
64
</para><para arch="hppa" condition="FIXME">
 
65
 
 
66
<emphasis>FIXME: write about HP-UX disks?</emphasis>
 
67
 
 
68
</para><para>
 
69
 
 
70
If your computer has more than one hard disk, you may want to dedicate
 
71
one of the hard disks completely to Debian. If so, you don't need to
 
72
partition that disk before booting the installation system; the
 
73
installer's included partitioning program can handle the job nicely.
 
74
 
 
75
</para><para>
 
76
 
 
77
If your machine has only one hard disk, and you would like to
 
78
completely replace the current operating system with &debian;,
 
79
you also can wait to partition as part of the installation process
 
80
(<xref linkend="partman"/>), after you have booted the
 
81
installation system.  However this only works if you plan to boot the
 
82
installer system from tapes, CD-ROM or files on a connected machine.
 
83
Consider: if you boot from files placed on the hard disk, and then
 
84
partition that same hard disk within the installation system, thus
 
85
erasing the boot files, you'd better hope the installation is
 
86
successful the first time around.  At the least in this case, you
 
87
should have some alternate means of reviving your machine like the
 
88
original system's installation tapes or CDs.
 
89
 
 
90
</para><para>
 
91
 
 
92
If your machine already has multiple partitions, and enough space can
 
93
be provided by deleting and replacing one or more of them, then you
 
94
too can wait and use the Debian installer's partitioning program. You
 
95
should still read through the material below, because there may be
 
96
special circumstances like the order of the existing partitions within
 
97
the partition map, that force you to partition before installing
 
98
anyway.
 
99
 
 
100
</para><para arch="i386">
 
101
 
 
102
If your machine has a FAT or NTFS filesystem, as used by DOS and Windows,
 
103
you can wait and use Debian installer's partitioning program to
 
104
resize the filesystem.
 
105
 
 
106
</para><para>
 
107
 
 
108
If none of the above apply, you'll need to partition your hard disk before
 
109
starting the installation to create partition-able space for
 
110
Debian. If some of the partitions will be owned by other operating
 
111
systems, you should create those partitions using native operating
 
112
system partitioning programs. We recommend that you do
 
113
<emphasis>not</emphasis> attempt to create partitions for &debian;
 
114
using another operating system's tools. Instead, you should just
 
115
create the native operating system's partitions you will want to
 
116
retain.
 
117
 
 
118
</para><para>
 
119
 
 
120
If you are going to install more than one operating system on the same
 
121
machine, you should install all other system(s) before proceeding with
 
122
Linux installation. Windows and other OS installations may destroy
 
123
your ability to start Linux, or encourage you to reformat non-native
 
124
partitions.
 
125
 
 
126
</para><para>
 
127
 
 
128
You can recover from these actions or avoid them, but installing
 
129
the native system first saves you trouble.
 
130
 
 
131
</para><para arch="powerpc">
 
132
 
 
133
In order for OpenFirmware to automatically boot &debian; the Linux
 
134
partitions should appear before all other partitions on the disk,
 
135
especially MacOS boot partitions. This should be kept in mind when
 
136
pre-partitioning; you should create a Linux placeholder partition to
 
137
come <emphasis>before</emphasis> the other bootable partitions on the
 
138
disk. (The small partitions dedicated to Apple disk drivers are not
 
139
bootable.) You can delete the placeholder with the Linux partition
 
140
tools later during the actual install, and replace it with Linux
 
141
partitions.
 
142
 
 
143
</para><para>
 
144
 
 
145
If you currently have one hard disk with one partition (a common setup
 
146
for desktop computers), and you want to multi-boot the native
 
147
operating system and Debian, you will need to:
 
148
 
 
149
  <orderedlist>
 
150
<listitem><para>
 
151
 
 
152
Back up everything on the computer.
 
153
 
 
154
</para></listitem>
 
155
<listitem><para>
 
156
 
 
157
Boot from the native operating system installer media such as CD-ROM
 
158
or tapes.
 
159
 
 
160
<phrase arch="powerpc">When booting from a MacOS CD, hold the
 
161
<keycap>c</keycap> key while
 
162
booting to force the CD to become the active MacOS system.</phrase>
 
163
 
 
164
</para></listitem>
 
165
<listitem><para>
 
166
 
 
167
Use the native partitioning tools to create native system
 
168
partition(s). Leave either a place holder partition or free space for
 
169
&debian;.
 
170
 
 
171
</para></listitem>
 
172
<listitem><para>
 
173
 
 
174
Install the native operating system on its new partition.
 
175
 
 
176
</para></listitem>
 
177
<listitem><para>
 
178
 
 
179
Boot back into the native system to verify everything's OK,
 
180
    and to download the Debian installer boot files.
 
181
 
 
182
</para></listitem>
 
183
<listitem><para>
 
184
 
 
185
Boot the Debian installer to continue installing Debian.
 
186
 
 
187
</para></listitem>
 
188
</orderedlist>
 
189
 
 
190
</para>
 
191
 
 
192
&nondeb-part-alpha.xml;
 
193
&nondeb-part-i386.xml;
 
194
&nondeb-part-m68k.xml;
 
195
&nondeb-part-sparc.xml;
 
196
&nondeb-part-powerpc.xml;
 
197
 
 
198
 </sect1>