aboutsummaryrefslogtreecommitdiffstats
path: root/docs/docs/stable/installer/en/doPartitionDisks.xml
blob: 11ee951acb97790f82a0cfdbbfd6bd7c8e98dd32 (plain)
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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
<?xml version="1.0" encoding="UTF-8"?>
<section version="5.0" xml:id="doPartitionDisks"
         xmlns="http://docbook.org/ns/docbook"
         xmlns:ns6="http://www.w3.org/1999/xlink"
         xmlns:ns5="http://www.w3.org/1998/Math/MathML"
         xmlns:ns4="http://www.w3.org/2000/svg"
         xmlns:ns3="http://www.w3.org/1999/xhtml"
         xmlns:ns="http://docbook.org/ns/docbook">
  <!--lebarhon 20161216 updated for Mageia 6
  
lebarhon 20170209 added SC-->

  <!--2018/02/12 apb: Text and typography. Added link to diskdrake in 2nd Note-->

  <!--2018/02/17 apb: Centre-align last two PNG's. Also, fix some wonky XML formatting.-->

  <!--2018/02/17 apb: Moved 'Erase ...' & 'Custom ...' list items up with the other list items. I can see the reason for splitting the list with the example SC, 
  but I think this way is clearer (flow) overall. I don't believe that combining the list will interfere with the example SC and the relevant list item.-->

  <!--2018/02/21 apb: Changed list styles.-->

  <!--2018/02/24 apb: Changed list styles.-->

  <!--2019/01/11 apb: Auto allocation of drive space rules: small edits for style consistency.-->

  <!--2019/07/06 apb: Added live-doPartitionDisksk.png, as it was previously sharing the DrakX screenshot.-->

  <!--2019/08/23 apb: Moved 'Important' note from 'Erase and Use Entire Disk' to 'Use Free Space on a Windows Partition'. Slight text tweak to to first para, 'Warning' and 'Important' -->

  <info>
    <title xml:id="doPartitionDisks-ti1">Suggested Partitioning</title>
  </info>

  <para revision="1" xml:id="doPartitionDisks-pa1">In this screen you can see
  the content of your hard drive(s) along with the DrakX partitioning
  proposals for where to install Mageia.</para>

  <para revision="1" xml:id="doPartitionDisks-pa2">The actual options
  available from those shown below will vary according to the layout and
  content of your particular hard drive(s).</para>

  <mediaobject>
    <imageobject condition="classical">
      <imagedata align="center" fileref="dx2-doPartitionDisks.png"/>
    </imageobject>

    <imageobject condition="live">
      <imagedata align="center" fileref="live-doPartitionDisks.png"/>
    </imageobject>
  </mediaobject>

  <itemizedlist>
    <title>Main Options</title>

    <listitem>
      <para revision="1" xml:id="doPartitionDisks-pa4"><emphasis
      role="bold">Use Existing Partitions</emphasis></para>

      <para revision="1" xml:id="doPartitionDisks-pa5">If this option is
      available, then existing Linux compatible partitions have been found and
      may be used for the installation.</para>
    </listitem>

    <listitem>
      <para revision="1" xml:id="doPartitionDisks-pa6"><emphasis
      role="bold">Use Free Space</emphasis></para>

      <para revision="1" xml:id="doPartitionDisks-pa7">If you have unused
      space on your hard drive then this option will use it for your new
      Mageia installation.</para>
    </listitem>

    <listitem>
      <para revision="1" xml:id="doPartitionDisks-pa8"><emphasis
      role="bold">Use Free Space on a Windows Partition</emphasis></para>

      <para revision="1" xml:id="suggestedPartitioning-pa9">If you have unused
      space on an existing Windows partition, the installer may offer to use
      it. This can be a useful way of making room for your new Mageia
      installation but see the warning below.</para>

      <para>With this option, the installer displays the remaining Windows
      partition in light blue and the proposed Mageia partition in dark blue
      with their intended sizes just underneath. You have the option to modify
      these sizes by clicking and dragging the gap between both partitions.
      See the following screenshot:<mediaobject>
          <imageobject condition="classical">
            <imagedata align="center" fileref="dx2-doPartitionDisks2.png"/>
          </imageobject>

          <imageobject condition="live">
            <imagedata align="center" fileref="live-doPartitionDisks2.png"/>
          </imageobject>
        </mediaobject></para>

      <warning>
        <para>This involves shrinking the size of the Windows partition, and
        therefore is a risky operation, so you should make sure you have
        backed up all important files before proceeding.</para>
      </warning>

      <important>
        <para revision="3" xml:id="doPartitionDisks-pa11">The partition must
        be "clean", meaning that Windows must have closed down correctly the
        last time it was used. It must also have been defragmented, although
        this is not a guarantee that all files in the partition have been
        moved out of the area that is about to be used for Mageia.</para>
      </important>
    </listitem>

    <listitem>
      <para revision="1" xml:id="doPartitionDisks-pa12"><emphasis
      role="bold">Erase and use Entire Disk</emphasis></para>

      <para revision="1" xml:id="doPartitionDisks-pa13">This option will
      allocate the entire drive for Mageia</para>

      <warning>
        <para revision="1" xml:id="doPartitionDisks-pa14">This will erase ALL
        data on the selected hard drive. Take care! If you intend to use part
        of the disk for something else, or you already have data on the drive
        that you are not prepared to lose, then do not use this option.</para>
      </warning>
    </listitem>

    <listitem>
      <para revision="1" xml:id="doPartitionDisks-pa16"><emphasis
      role="bold">Custom Disk Partitioning</emphasis></para>

      <para revision="1" xml:id="doPartitionDisks-pa17">This gives you
      complete control over the placing of the installation on your hard
      drive(s).</para>
    </listitem>
  </itemizedlist>

  <para>If you are not using the <emphasis>Custom disk partitioning</emphasis>
  option, then the installer will allocate the available space according to
  the following rules:</para>

  <itemizedlist>
    <listitem>
      <para>If the total available space is less than 50 GB, then only one
      partition is created. This will be the <filename>/</filename> (root)
      partition.</para>
    </listitem>

    <listitem>
      <para>If the total available space is greater than 50 GB, then three
      partitions are created</para>

      <itemizedlist>
        <listitem>
          <para>6/19 of the total available place is allocated to
          <filename>/</filename> with a maximum of 50 GB</para>
        </listitem>

        <listitem>
          <para>1/19 is allocated to <filename>swap</filename> with a maximum
          of 4 GB</para>
        </listitem>

        <listitem>
          <para>the rest (at least 12/19) is allocated to
          <filename>/home</filename></para>
        </listitem>
      </itemizedlist>
    </listitem>
  </itemizedlist>

  <para>This means that from 160 GB or greater available space, the installer
  will create three partitions:</para>

  <itemizedlist>
    <listitem>
      <para>50 GB for <filename>/</filename></para>
    </listitem>

    <listitem>
      <para>4 GB for <filename>swap</filename></para>
    </listitem>

    <listitem>
      <para>and the remainder for <filename>/home</filename></para>
    </listitem>
  </itemizedlist>

  <note>
    <para>If you are using a UEFI system, the ESP (EFI System Partition) will
    be automatically detected - or created if it does not exist yet - and
    mounted on <filename>/boot/EFI</filename>. The <emphasis>Custom disk
    partitioning</emphasis> option is the only one that allows to check it has
    been correctly done.</para>

    <para>If you are using a Legacy (also known as BIOS) system with a GPT
    partitioned disk, you need to create a BIOS boot partition if it doesn't
    already exist. It should be about 1 MiB with no mount point. It can be
    created with the Installer, under <emphasis>Custom disk
    partitioning</emphasis>, like any other partition. Be sure to select
    <quote>BIOS boot partition</quote> for filesystem type.</para>

    <para>See <xref linkend="diskdrake"/> for information on how to
    proceed.</para>
  </note>

  <mediaobject>
    <imageobject condition="classical">
      <imagedata align="center" fileref="dx2-doPartitionDisks3.png"/>
    </imageobject>

    <imageobject condition="live">
      <imagedata align="center" fileref="live-doPartitionDisks3.png"/>
    </imageobject>
  </mediaobject>

  <mediaobject>
    <imageobject condition="classical">
      <imagedata align="center" fileref="dx2-doPartitionDisks4.png"/>
    </imageobject>

    <imageobject condition="live">
      <imagedata align="center" fileref="live-doPartitionDisks4.png"/>
    </imageobject>
  </mediaobject>

  <important>
    <para>Some newer drives are now using 4096 byte logical sectors, instead
    of the previous standard of 512. Due to lack of available hardware, the
    partitioning tool used in the installer has not been tested with such a
    drive.</para>

    <para>Some SSD devices now use an erase block size over 1 MB. If you have
    such a device we suggest that you partition the drive in advance, using an
    alternative partitioning tool like gparted, and to use the following
    settings:</para>

    <itemizedlist>
      <listitem>
        <para><emphasis>Align to</emphasis> = MiB</para>
      </listitem>

      <listitem>
        <para><emphasis>Free space preceding (MiB)</emphasis> = 2</para>
      </listitem>
    </itemizedlist>

    <para>Also make sure all partitions are created using an even number of
    megabytes.</para>
  </important>
</section>