aboutsummaryrefslogtreecommitdiffstats
path: root/et/setupBootloaderExpert.html
blob: 6fa1c819656149027e8754d948de371779b7cac7 (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
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
   
      <title>Alglaaduri seadistamine asjatundjatele</title>
      <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
      <link rel="home" href="index.html" title="Paigaldamine DrakX'i abil">
      <link rel="up" href="index.html" title="Paigaldamine DrakX'i abil">
      <link rel="prev" href="setupBootloaderAddEntry.html" title="Alglaadimismen&uuml;&uuml; kirje lisamine v&otilde;i muutmine">
      <link rel="next" href="misc-params.html" title="Seadistuste kokkuv&otilde;te"><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 lang="et" class="section" title="Alglaaduri seadistamine asjatundjatele">
         <div class="titlepage">
            <div>
               <div>
                  <h2 class="title"><a name="setupBootloaderExpert"></a>Alglaaduri seadistamine
                         asjatundjatele
                  </h2>
               </div>
            </div>
         </div>
         
            
           
         
           
         
           
         
           
         
           
         
           
         
           
         
           
         
           
         
           
         
           
         
           
         
           
         
           
         
           
         <p><a name="setupBootloaderExpert-pa1"></a>Kui te pole seda veel
              teinud, tasuks k&otilde;igepealt l&auml;bi lugeda <a class="xref" href="setupBootloader.html" title="Alglaaduri p&otilde;hiseadistused">&#8220;Alglaaduri p&otilde;hiseadistused&#8221;</a>.
         </p>
         
           
         <div class="section" title="GRUB2 p&otilde;hise s&uuml;steemi lisamine k&auml;sitsi">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="addingGRUB2system"></a>GRUB2 p&otilde;hise s&uuml;steemi lisamine
                              k&auml;sitsi
                     </h3>
                  </div>
               </div>
            </div>
                
            
                
            <p><a name="setupBootloaderExpert-pa7"></a>GRUB2 p&otilde;hise
                   s&uuml;steemi saab Mageia alglaadimismen&uuml;&uuml;sse lisada j&auml;rgmiselt:
            </p>
            
                
            <div class="itemizedlist">
               <ul class="itemizedlist">
                  <li class="listitem">
                             
                     <p><a name="setupBootloaderExpert-pa8"></a>Laadige
                                k&otilde;nealune s&uuml;steem. GRUB2 versiooni tuvastamiseks andke terminalis
                                k&auml;sk:
                     </p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa9"></a><code class="literal">sudo
                                   grub-install --version</code></p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa10"></a>v&otilde;i kui see ei
                                peaks tulemust andma:
                     </p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa11"></a><code class="literal">sudo
                                   grub2-install --version</code></p>
                           
                  </li>
                  <li class="listitem">
                             
                     <p><a name="setupBootloaderExpert-pa12"></a>Kui see
                                tagastab "GNU GRUB version 0.97" (v&otilde;ib-olla ka kohandatud sufiksiga),
                                siis kasutatakse GRUBi (nimetatud ka GRUB legacy'ks ehk
                                p&auml;rand-GRUBiks), mitte GRUB2 ning Mageia peaks paigaldamise ajal
                                s&uuml;steemi korrektselt &auml;ra tundma ning automaatselt men&uuml;&uuml;sse
                                lisama.
                     </p>
                           
                  </li>
                  <li class="listitem">
                             
                     <p><a name="setupBootloaderExpert-pa15"></a>Kui see
                                tagastab (GRUB) 1.98 v&otilde;i 1.99 v&otilde;i 2.xx, siis on kasutusel
                                GRUB2.
                     </p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa16"></a>J&auml;tke versioon
                                meelde v&otilde;i kirjutage &uuml;les ning andke juurpartitsiooni tuvastamiseks
                                k&auml;sk:
                     </p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa17"></a><code class="literal">df -h
                                   / |(read; awk '{print $1; exit}')</code></p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa18"></a>Selle v&auml;ljund
                                on umbes niisugune :
                     </p>
                     
                             
                     
                             
                     <p><a name="setupBootloaderExpert-pa20"></a><code class="literal">/dev/sdb11</code></p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa21"></a>sdb11 on
                                juurpartitsioon - j&auml;tke ka see meelde v&otilde;i m&auml;rkige &uuml;les.
                     </p>
                           
                  </li>
                  <li class="listitem">
                             
                     <p><a name="setupBootloaderExpert-pa22"></a>N&uuml;&uuml;d
                                kontrollige, kas /boot kataloog on samal partitsioonil, andes
                                k&auml;su:
                     </p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa23"></a><code class="literal">df -h
                                   /boot |(read; awk '{print $1; exit}')</code></p>
                     
                             
                     
                             
                     <p><a name="setupBootloaderExpert-pa25"></a>Kui /boot
                                partitsioon erineb juurpartitsioonist, j&auml;tke see meelde v&otilde;i m&auml;rkige
                                &uuml;les ja kasutage /boot partitsiooni real "root", kui muudate allpool
                                faili menu.lst.
                     </p>
                           
                  </li>
                  <li class="listitem">
                             
                     <p><a name="setupBootloaderExpert-pa26"></a>N&uuml;&uuml;d tuleks
                                s&uuml;steem sulgeda ja paigaldada Mageia.
                     </p>
                           
                  </li>
                  <li class="listitem">
                             
                     <p><a name="setupBootloaderExpert-pa27"></a>Avage oma uues
                                t&ouml;&ouml;tavas Mageia s&uuml;steemis terminal ja muutke administraatorina faili
                                /boot/grub/menu.lst j&auml;rgmiselt:
                     </p>
                           
                  </li>
                  <li class="listitem">
                             
                     <p><a name="setupBootloaderExpert-pa28"></a>Administraatori
                                &otilde;iguste saamiseks andke k&auml;sk:
                     </p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa29"></a><code class="literal">su
                                   -</code></p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa30"></a>(sisestage
                                administraatori parool)
                     </p>
                           
                  </li>
                  <li class="listitem">
                             
                     <p><a name="setupBootloaderExpert-pa31"></a>Faili avamiseks
                                redaktoris andke k&auml;sk:
                     </p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa32"></a><code class="literal">kwrite
                                   /boot/grub/menu.lst</code></p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa33"></a>(kirjutage
                                "kwrite" asemel "gedit", kui kasutate Gnomet)
                     </p>
                           
                  </li>
                  <li class="listitem">
                             
                     <p><a name="setupBootloaderExpert-pa34"></a>Lisage j&auml;rgmine
                                kirje oma (nt Ubuntu) s&uuml;steemi jaoks n&auml;iteks teise l&otilde;iguna. Asukoht,
                                kus kirje asub men&uuml;&uuml;s, s&otilde;ltub asukohast failis:
                     </p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa35"></a><code class="literal">title
                                   Ubuntu</code></p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa36"></a><code class="literal">root
                                   (hd1,10)</code></p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa37"></a><code class="literal">kernel
                                   /boot/grub/core.img</code></p>
                           
                  </li>
                  <li class="listitem">
                             
                     <div class="note" title="M&auml;rkus" 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="[M&auml;rkus]" src="note.png"></td>
                              <th align="left"></th>
                           </tr>
                           <tr>
                              <td align="left" valign="top">
                                           
                                 <p><a name="setupBootloaderExpert-pa42"></a>Teisel real
                                              t&auml;hendab "hd1" teist k&otilde;vaketast, "10" 11. partitsiooni. Kettaid ja
                                              partitsioone arvestatakse Mageia p&auml;rand-GRUBis nullist.
                                 </p>
                                 
                                           
                                 <p><a name="setupBootloaderExpert-pa43"></a>Seep&auml;rast:
                                 </p>
                                 
                                           
                                 <p><a name="setupBootloaderExpert-pa44"></a><code class="literal">sdb11 =
                                                 (hd1,10)</code></p>
                                 
                                           
                                 <p><a name="setupBootloaderExpert-pa45"></a><code class="literal">sda1
                                                 = (hd0,0)</code></p>
                                         
                              </td>
                           </tr>
                        </table>
                     </div>
                           
                  </li>
                  <li class="listitem">
                             
                     <p><a name="setupBootloaderExpert-pa38"></a>Kui GRUB2
                                versioon on 2.xx, siis peab viimane rida olema:
                     </p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa39"></a><code class="literal">kernel
                                   /boot/grub/i386-pc/core.img</code></p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa40"></a>Kui juba varem
                                on vaja kasutada "grub2-install", siis kirjutage viimasel real
                                <code class="literal">"grub"</code> asemele <code class="literal">"grub2"</code>.
                     </p>
                     
                             
                     <p><a name="setupBootloaderExpert-pa40a"></a>Kui /boot on
                                eraldi partitsioonil, eemaldage viimaselt realt
                                <code class="literal">"/boot"</code>.
                     </p>
                           
                  </li>
                  <li class="listitem">
                             
                     <p><a name="setupBootloaderExpert-pa41"></a>Salvestage fail
                                ja tehke taask&auml;ivitus. N&uuml;&uuml;d peaks men&uuml;&uuml;s olema n&auml;ha "Ubuntu" kirje ja
                                seda peaks olema v&otilde;imalik ka laadida.
                     </p>
                           
                  </li>
               </ul>
            </div>
              
         </div>
         
           
         <div class="section" title="Olemasoleva GRUB2 alglaaduri kasutamine">
            <div class="titlepage">
               <div>
                  <div>
                     <h3 class="title"><a name="usingExistingBootloaderGRUB2"></a>Olemasoleva GRUB2 alglaaduri
                              kasutamine
                     </h3>
                  </div>
               </div>
            </div>
                
            
                
            <p><a name="setupBootloaderExpert-pa49a"></a>Kui te ei ole veel
                   lugenud &uuml;ldist abiteksti olemasoleva alglaaduri kasutamise kohta, siis
                   tehke seda n&uuml;&uuml;d. Vt <a class="xref" href="setupBootloader.html#usingExistingBootloader" title="Olemasoleva alglaaduri kasutamine">&#8220;Olemasoleva
                        alglaaduri kasutamine&#8221;</a></p>
            
                
            <div class="note" title="M&auml;rkus" 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="[M&auml;rkus]" src="note.png"></td>
                     <th align="left"></th>
                  </tr>
                  <tr>
                     <td align="left" valign="top">
                              
                        <p><a name="setupBootloaderExpert-pa50"></a>M&otilde;ningates
                                 Debiani/Ubuntu versioonides esineb GRUB2 paigaldamise ajal OS-i
                                 tuvastamise programmis teadaolevalt viga, mis Mageia (v&otilde;i Mandriva)
                                 s&uuml;steemi lisades loob vigaselt faili grub.cfg. Sellele on lihtne
                                 lahendus, mille &uuml;ksikasjad leiab Mageia foorumist. Otsige seal s&otilde;na
                                 "prober", teema on "grub problem" ja vajalik teave leidub 9.
                                 postituses.
                        </p>
                        
                              
                        <p><a name="setupBootloaderExpert-pa51"></a>Paranduse
                                 muutmiseks p&uuml;sivaks, et see elaks &uuml;le ka Ubuntu kerneli uuenduse, tuleb
                                 Mageia kirje lisada faili
                                 <code class="literal">/etc/grub.d/40_custom</code></p>
                        
                              
                        <p><a name="setupBootloaderExpert-pa52"></a>Ja teadmiseks:
                                 see viga on parandatud versioonis os-prober-1.53, mis ilmus 8. mail
                                 2012. Niisiis on n&uuml;&uuml;d eelistatud lahendus versiooni uuendamine GRUB2
                                 s&uuml;steemis.
                        </p>
                            
                     </td>
                  </tr>
               </table>
            </div>
              
         </div>
         
      </div>
   </body>
</html>