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