aboutsummaryrefslogtreecommitdiffstats
path: root/setupBootloader.html
blob: 9ce85d35e596a34a205b6cda36962de463dcfb22 (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
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   
      <title>Bootloader</title>
      <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
      <link rel="home" href="index.html" title="Installation with DrakX">
      <link rel="up" href="index.html" title="Installation with DrakX">
      <link rel="prev" href="configureX_monitor.html" title="Choosing your Monitor">
      <link rel="next" href="setupBootloaderAddEntry.html" title="Add or Modify a Boot Menu Entry"><style xmlns="http://www.w3.org/TR/xhtml1/transitional" type="text/css">
         <!--
      body { font-family: sans-serif; font-size: 13px }
      table { font-family: sans-serif; font-size: 13px }
    --></style></head>
   <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
      <div class="section" title="Bootloader">
         <div class="titlepage">
            <div>
               <div>
                  <h2 class="title"><a name="setupBootloader"></a>Bootloader
                  </h2>
               </div>
            </div>
         </div>
         
         
         
         
         
         
           
           
           
           
           
           
           
         <div class="section" title="Available Bootloaders">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="d5e990"></a>Available Bootloaders
                     </h3>
                  </div>
               </div>
            </div>
                
                
            <div class="section" title="Grub2">
               <div class="titlepage">
                  <div>
                     <div>
                        <h4 class="title"><a name="d5e992"></a>Grub2
                        </h4>
                     </div>
                  </div>
               </div>
                     
                     
               <div class="itemizedlist">
                  <p><span class="bold"><strong>Grub2 on Legacy MBR/GPT
                                   systems</strong></span></p>
                  <ul class="itemizedlist">
                     <li class="listitem">
                                  
                        <p>GRUB2 (with or without graphical menu) will be used
                                     exclusively as the bootloader for a Legacy/MBR or Legacy/GPT
                                     system.
                        </p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p>By default, a new bootloader will be written into either the
                                     MBR (Master Boot Record) of your first hard drive or in the BIOS
                                     boot partition.
                        </p>
                                
                     </li>
                  </ul>
               </div>
                     
               <div class="itemizedlist">
                  <p><span class="bold"><strong>Grub2-efi on UEFI
                                   systems</strong></span></p>
                  <ul class="itemizedlist">
                     <li class="listitem">
                                  
                        <p>GRUB2-efi or rEFInd may be used as the bootloader for a UEFI
                                     system.
                        </p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p>By default, a new bootloader (Grub2-efi) will be written into
                                     the ESP (EFI System Partition).
                        </p>
                                  
                        <p>If there are already UEFI-based operating systems installed on
                                     your computer (Windows 8 for example), the Mageia installer will
                                     detect the existing ESP created by Windows and add grub2-efi to it.
                                     If no ESP exists, then one will be created. Although it is possible
                                     to have several ESPs, only one is required, whatever the number of
                                     operating systems you have.
                        </p>
                                
                     </li>
                  </ul>
               </div>
                   
            </div>
                
            <div class="section" title="rEFInd">
               <div class="titlepage">
                  <div>
                     <div>
                        <h4 class="title"><a name="d5e1009"></a>rEFInd
                        </h4>
                     </div>
                  </div>
               </div>
                     
                     
               <div class="itemizedlist">
                  <p><span class="bold"><strong>rEFInd on UEFI systems</strong></span></p>
                  <ul class="itemizedlist">
                     <li class="listitem">
                                  
                        <p>rEFInd has a nice graphical set of options, and can
                                     auto-detect installed EFI bootloaders. See:
                                     http://www.rodsbooks.com/refind/
                        </p>
                                
                     </li>
                  </ul>
               </div>
                     
               <div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
                  <table border="0" summary="Note">
                     <tr>
                        <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="note.png"></td>
                        <th align="left"></th>
                     </tr>
                     <tr>
                        <td align="left" valign="top">
                                   
                           <p>Please note that in order to be able to use the
                                      <code class="literal">rEFInd</code> option, an installed EFI System Partition
                                      must match your system architecture: if you have a 32bit EFI System
                                      Partition installed on a 64bit machine for instance, then the rEFInd
                                      option will not be displayed/available to you.
                           </p>
                                 
                        </td>
                     </tr>
                  </table>
               </div>
                   
            </div>
              
         </div>
           
         <div class="section" title="Bootloader Setup">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="d5e1019"></a>Bootloader Setup
                     </h3>
                  </div>
               </div>
            </div>
                
                
            <div class="section" title="Bootloader main options">
               <div class="titlepage">
                  <div>
                     <div>
                        <h4 class="title"><a name="d5e1023"></a>Bootloader main options
                        </h4>
                     </div>
                  </div>
               </div>
                     
                     
                     
               <div class="itemizedlist">
                  <ul class="itemizedlist">
                     <li class="listitem">
                                  
                        <p><span class="bold"><strong>Bootloader to use</strong></span></p>
                                  
                        <div class="itemizedlist">
                           <ul class="itemizedlist">
                              <li class="listitem">
                                               
                                 <p><span class="guimenuitem">GRUB2</span> (with either a graphical
                                                  or a text menu), can be chosen for both <code class="literal">Legacy
                                                     MBR/BIOS</code> systems and <code class="literal">UEFI</code>
                                                  systems.
                                 </p>
                                             
                              </li>
                              <li class="listitem">
                                               
                                 <p><span class="guimenuitem">rEFInd</span> (with a graphical menu)
                                                  is an alternative option solely for use with
                                                  <code class="literal">UEFI</code> systems.
                                 </p>
                                             
                              </li>
                           </ul>
                        </div>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="bold"><strong>Boot device</strong></span></p>
                                  
                        <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
                           <table border="0" summary="Warning">
                              <tr>
                                 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="warning.png"></td>
                                 <th align="left"></th>
                              </tr>
                              <tr>
                                 <td align="left" valign="top">
                                                
                                    <p>Don't change this unless you really know what you are
                                                   doing.
                                    </p>
                                              
                                 </td>
                              </tr>
                           </table>
                        </div>
                                  
                        <div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
                           <table border="0" summary="Note">
                              <tr>
                                 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="note.png"></td>
                                 <th align="left"></th>
                              </tr>
                              <tr>
                                 <td align="left" valign="top">
                                                
                                    <p>There is no option to write GRUB to the boot sector of a
                                                   partition (e.g: <code class="filename">sda1</code>), as this method is
                                                   considered unreliable.
                                    </p>
                                              
                                 </td>
                              </tr>
                           </table>
                        </div>
                                  
                        <p>When using UEFI mode, then the <span class="guilabel">Boot
                                        device</span> will be listed as <span class="guimenuitem">EFI System
                                        Partition</span>.
                        </p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="bold"><strong>Delay before booting the default
                                           image</strong></span></p>
                                  
                        <p>This text box lets you set a delay, in seconds, before the
                                     default operating system is started up.
                        </p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="bold"><strong>Security</strong></span></p>
                                  
                        <p>This allows you to set a password for the bootloader. This
                                     means a username and password will be required when booting in order
                                     to select a booting entry or change settings. This is optional, and
                                     most people are not likely to have a need for it. The username is
                                     <code class="literal">root</code> and the password is the one chosen
                                     hereafter.
                        </p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="bold"><strong>Password</strong></span></p>
                                  
                        <p>Choose a password for the bootloader (optional)</p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="bold"><strong>Password (again)</strong></span></p>
                                  
                        <p>Retype the password and DrakX will check that it matches with
                                     the one set above
                        </p>
                                
                     </li>
                  </ul>
               </div>
                     
               <p><span class="emphasis"><em>Advanced</em></span></p>
                     
               <div class="itemizedlist">
                  <ul class="itemizedlist">
                     <li class="listitem">
                                  
                        <p><span class="emphasis"><em>Enable ACPI</em></span></p>
                                  
                        <p>ACPI (Advanced Configuration and Power Interface) is a
                                     standard for power management. It can save energy by stopping unused
                                     devices. Deselecting it could be useful if, for example, your
                                     computer does not support ACPI or if you think the ACPI
                                     implementation might cause some problems (for instance random
                                     reboots or system lockups).
                        </p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="emphasis"><em>Enable SMP</em></span></p>
                                  
                        <p>This option enables/disables symmetric multiprocessing for
                                     multi-core processors
                        </p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="emphasis"><em>Enable APIC</em></span></p>
                                  
                        <p>Enabling this gives the operating system access to the
                                     Advanced Programmable Interrupt Controller. APIC devices permit more
                                     complex priority models, and Advanced IRQ (Interrupt Request)
                                     management.
                        </p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="emphasis"><em>Enable Local APIC</em></span></p>
                                  
                        <p>Here you can set Local APIC, which manages all external
                                     interrupts for a specific processor in an SMP system
                        </p>
                                
                     </li>
                  </ul>
               </div>
                   
            </div>
                
            <div class="section" title="Bootloader Configuration">
               <div class="titlepage">
                  <div>
                     <div>
                        <h4 class="title"><a name="d5e1089"></a>Bootloader Configuration
                        </h4>
                     </div>
                  </div>
               </div>
                     
                     
               <p>If, in the previous section you selected <code class="literal">rEFInd</code>
                        as the bootloader to use, you would then be presented with the options
                        shown in the screenshot directly below. Otherwise, please instead move
                        on to the subsequent screenshot for your options.
               </p>
                     
                     
               <p>Your rEFInd configuration options:</p>
                     
               <div class="itemizedlist">
                  <ul class="itemizedlist">
                     <li class="listitem">
                                  
                        <p><span class="bold"><strong>Install or update rEFInd in the EFI
                                           system partition.</strong></span></p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="bold"><strong>Install in /EFI/BOOT.</strong></span></p>
                                  
                        <p>This option installs the bootloader in the /EFI/BOOT directory
                                     of the ESP (EFI System Partition). This can be useful when:
                        </p>
                                  
                        <p>(a) Installing onto a removable drive (e.g. a USB stick) that can be removed and plugged into a different machine. If the
                           bootloader is stored in /EFI/BOOT, UEFI BIOS's will detect it and allow you to boot from that drive.
                        </p>
                                  
                        <p>(b) As a workaround where, due to a buggy UEFI BIOS, the newly
                                     written bootloader for Mageia will not be recognized at end of the
                                     installation.
                        </p>
                                
                     </li>
                  </ul>
               </div>
                     
               <p>If you did not select rEFInd as the bootloader to use in the
                        previous section, then your bootloader configuration options are shown
                        below:
               </p>
                     
                     
               <div class="itemizedlist">
                  <ul class="itemizedlist">
                     <li class="listitem">
                                  
                        <p><span class="bold"><strong>Default</strong></span></p>
                                  
                        <p>The operating system to be started up by default.</p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="bold"><strong>Append</strong></span></p>
                                  
                        <p>This option lets you pass information to the kernel or tell
                                     the kernel to give you more information as it boots.
                        </p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="bold"><strong>Probe foreign OS</strong></span></p>
                                  
                        <p>If you already have other operating systems installed, Mageia
                                     attempts to add them to your new Mageia boot menu. If you don't want
                                     this behaviour, then untick the <span class="guimenuitem">Probe Foreign
                                        OS</span> option.
                        </p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="bold"><strong>Install in /EFI/BOOT. </strong></span>(Note:
                                     this menu option only becomes available where the installer detects
                                     that a machine is in UEFI mode).
                        </p>
                                  
                        <p>This option installs the bootloader in the /EFI/BOOT directory
                                     of the ESP (EFI System Partition). This can be useful when:
                        </p>
                                  
                        <p>(a) Installing onto a removable drive (e.g. a USB stick) that can be removed and plugged into a different machine. If the
                           bootloader is stored in /EFI/BOOT, UEFI BIOS's will detect it and allow you to boot from that drive.
                        </p>
                                  
                        <p>(b) As a workaround where, due to a buggy UEFI BIOS, the newly
                                     written bootloader for Mageia will not be recognized at end of the
                                     installation.
                        </p>
                                
                     </li>
                  </ul>
               </div>
                     
               <p><span class="emphasis"><em>Advanced</em></span></p>
                     
                     
               <div class="itemizedlist">
                  <ul class="itemizedlist">
                     <li class="listitem">
                                  
                        <p><span class="emphasis"><em>Video mode</em></span></p>
                                  
                        <p>This sets the screen size and colour depth to be used by the
                                     boot menu. If you click the down-triangle you will be offered other
                                     size and colour depth options.
                        </p>
                                
                     </li>
                     <li class="listitem">
                                  
                        <p><span class="emphasis"><em>Do not touch ESP or MBR</em></span></p>
                                  
                        <p>Select this option if you don't want a bootable Mageia, but
                                     would rather chain-load it from another OS. You will get a warning
                                     that the bootloader is missing. Click <span class="guimenuitem">Ok
                                        </span>only if you are sure you understand the implications,
                                     and wish to proceed.
                        </p>
                                  
                        <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
                           <table border="0" summary="Warning">
                              <tr>
                                 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Warning]" src="warning.png"></td>
                                 <th align="left"></th>
                              </tr>
                              <tr>
                                 <td align="left" valign="top">
                                                
                                    <p>Chain-loading via legacy bootloaders (GRUB Legacy and LiLo)
                                                   is no longer supported by Mageia as it is likely to fail when
                                                   attempting to boot this resulting installation of Mageia. If you
                                                   use anything other than GRUB2 or rEFInd for this purpose, then you
                                                   do so at your own risk!
                                    </p>
                                              
                                 </td>
                              </tr>
                           </table>
                        </div>
                                
                     </li>
                  </ul>
               </div>
                     
                   
            </div>
              
         </div>
           
         <div class="section" title="Other Options">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="d5e1151"></a>Other Options
                     </h3>
                  </div>
               </div>
            </div>
                
                
            <div class="section" title="Using an existing bootloader">
               <div class="titlepage">
                  <div>
                     <div>
                        <h4 class="title"><a name="d5e1153"></a>Using an existing bootloader
                        </h4>
                     </div>
                  </div>
               </div>
                     
                     
               <p>The exact procedure for adding Mageia to an existing bootloader is beyond the scope of this documentation. However, in most
                  cases it will involve running the relevant bootloader installation program, which should detect Mageia and automatically add
                  an entry for it in the bootloader menu. See the documentation for the relevant operating system.
               </p>
                   
            </div>
                
            <div class="section" title="Installing Without a Bootloader">
               <div class="titlepage">
                  <div>
                     <div>
                        <h4 class="title"><a name="d5e1156"></a>Installing Without a Bootloader
                        </h4>
                     </div>
                  </div>
               </div>
                     
                     
               <p>While you can opt to install Mageia without a bootloader (see
                        section 2.1 Advanced), this is not recommended unless you absolutely
                        know what you are doing, as without some form of bootloader your
                        operating system will be unable to start.
               </p>
                   
            </div>
                
            <div class="section" title="Add or Modify a Boot Menu Entry">
               <div class="titlepage">
                  <div>
                     <div>
                        <h4 class="title"><a name="setupBootloaderAddEntry"></a>Add or Modify a Boot Menu
                               Entry
                        </h4>
                     </div>
                  </div>
               </div>
                 
               
                 
               
                 
               <p>To do this you need to manually edit /boot/grub2/custom.cfg or use the
                    software <span class="bold"><strong>grub-customizer</strong></span> tool instead
                    (available in the Mageia repositories).
               </p>
               
                 
               <div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
                  <table border="0" summary="Note">
                     <tr>
                        <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="note.png"></td>
                        <th align="left"></th>
                     </tr>
                     <tr>
                        <td align="left" valign="top">
                               
                           <p>For more information, see: <a class="ulink" href="https://wiki.mageia.org/en/Grub2-efi_and_Mageia" target="_top">https://wiki.mageia.org/en/Grub2-efi_and_Mageia</a></p>
                             
                        </td>
                     </tr>
                  </table>
               </div>
               
            </div>
              
         </div>
         
      </div>
   </body>
</html>