/[gentoo]/xml/htdocs/doc/en/grub-error-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/grub-error-guide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.15 Revision 1.16
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/grub-error-guide.xml,v 1.15 2008/01/13 20:34:31 rane Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/grub-error-guide.xml,v 1.16 2008/05/23 20:14:57 swift Exp $ -->
4 4
5<guide link="/doc/en/grub-error-guide.xml"> 5<guide link="/doc/en/grub-error-guide.xml">
6<title>Gentoo Grub Error Collection</title> 6<title>Gentoo Grub Error Collection</title>
7 7
8<author title="Thread Reviewer">Hartwig Brandl</author> 8<author title="Thread Reviewer">Hartwig Brandl</author>
12<author title="Editor"> 12<author title="Editor">
13 <mail link="swift@gentoo.org">Sven Vermeulen</mail> 13 <mail link="swift@gentoo.org">Sven Vermeulen</mail>
14</author> 14</author>
15 15
16<abstract> 16<abstract>
17The objective of this error collection is to list the GRUB problems and errors 17The objective of this error collection is to list the GRUB problems and errors
18people can be facing. All these solutions have been acquired through the 18people can be facing. All these solutions have been acquired through the
19cooperation of many users of the Gentoo Forums. 19cooperation of many users of the Gentoo Forums.
20</abstract> 20</abstract>
21 21
22<!-- The content of this document is licensed under the CC-BY-SA license --> 22<!-- The content of this document is licensed under the CC-BY-SA license -->
23<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 23<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
96</p> 96</p>
97 97
98<p> 98<p>
99<uri link="http://forums.gentoo.org/profile.php?mode=viewprofile&amp;u=39305">penetrode</uri> 99<uri link="http://forums.gentoo.org/profile.php?mode=viewprofile&amp;u=39305">penetrode</uri>
100wrote that this may also be due to bad CFLAGS settings. 100wrote that this may also be due to bad CFLAGS settings.
101Although the current grub ebuild filters out <c>-fstack-protector</c>, it can't 101Although the current grub ebuild filters out <c>-fstack-protector</c>, it can't
102hurt to recompile grub with clean CFLAGS if nothing else helps. 102hurt to recompile grub with clean CFLAGS if nothing else helps.
103</p> 103</p>
104 104
105<pre caption="Using a clean CFLAG to rebuild GRUB"> 105<pre caption="Using a clean CFLAG to rebuild GRUB">
106# <i>CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" emerge grub</i> 106# <i>CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" emerge grub</i>
130<section> 130<section>
131<title>Solution</title> 131<title>Solution</title>
132<body> 132<body>
133 133
134<p> 134<p>
135When you installed grub in your boot record using the interactive commands, 135When you installed grub in your boot record using the interactive commands,
136did you execute the two lines below in the grub prompt? 136did you execute the two lines below in the grub prompt?
137</p> 137</p>
138 138
139<pre caption="Interactive installation commands"> 139<pre caption="Interactive installation commands">
140grub&gt; <i>root (hd0,0)</i> 140grub&gt; <i>root (hd0,0)</i>
195This error is returned if the specified file name cannot be found, but 195This error is returned if the specified file name cannot be found, but
196everything else (like the disk/partition info) is OK. 196everything else (like the disk/partition info) is OK.
197</p> 197</p>
198 198
199<p> 199<p>
200Frequently, the error notes a missing kernel image file. Make sure that 200Frequently, the error notes a missing kernel image file. Make sure that
201the file it is referring to exists on your boot partition. 201the file it is referring to exists on your boot partition.
202</p> 202</p>
203 203
204<p> 204<p>
205To find out the exact name of your kernel, boot from the installation cd, mount 205To find out the exact name of your kernel, boot from the installation cd, mount
257correct. 257correct.
258</p> 258</p>
259 259
260<p> 260<p>
261If you are certain they are valid, then you <e>might</e> be using a flawed GRUB 261If you are certain they are valid, then you <e>might</e> be using a flawed GRUB
262version (0.93.20031222). Upgrade your Portage tree or mask this version of 262version (0.93.20031222). Upgrade your Portage tree or mask this version of
263grub: 263grub:
264</p> 264</p>
265 265
266<pre caption="Masking Grub"> 266<pre caption="Masking Grub">
267<comment>(Execute this from within the chrooted environment)</comment> 267<comment>(Execute this from within the chrooted environment)</comment>
274the GRUB authors: 274the GRUB authors:
275</p> 275</p>
276 276
277<pre caption="Using grub-install"> 277<pre caption="Using grub-install">
278<comment>(The --root-directory is needed if you are using a separate boot 278<comment>(The --root-directory is needed if you are using a separate boot
279partition, 279partition,
280 otherwise you should leave it out)</comment> 280 otherwise you should leave it out)</comment>
281# <i>grub-install --root-directory=/boot /dev/hda</i> 281# <i>grub-install --root-directory=/boot /dev/hda</i>
282</pre> 282</pre>
283 283
284<p> 284<p>
358older machines or larger than 8GB in general). 358older machines or larger than 8GB in general).
359</p> 359</p>
360 360
361<p> 361<p>
362Try an update for your BIOS and/or move your boot partition to the 362Try an update for your BIOS and/or move your boot partition to the
363front (or at least into the appropriate range). 363front (or at least into the appropriate range).
364</p> 364</p>
365 365
366</body> 366</body>
367</section> 367</section>
368</chapter> 368</chapter>
386<body> 386<body>
387 387
388<p> 388<p>
389According to 389According to
390<uri link="http://forums.gentoo.org/profile.php?mode=viewprofile&amp;u=3139">airhead</uri> 390<uri link="http://forums.gentoo.org/profile.php?mode=viewprofile&amp;u=3139">airhead</uri>
391this can be caused by having your bios detect your disks automatically. Try to 391this can be caused by having your bios detect your disks automatically. Try to
392set your bios entry to User Type HDD. 392set your bios entry to User Type HDD.
393</p> 393</p>
394 394
395<p> 395<p>
396Another possibility is that you had Grub installed on your MBR and tried 396Another possibility is that you had Grub installed on your MBR and tried
397reinstalling it (for instance due to hard disk changes) but used the wrong 397reinstalling it (for instance due to hard disk changes) but used the wrong
423<section> 423<section>
424<title>Solution</title> 424<title>Solution</title>
425<body> 425<body>
426 426
427<p> 427<p>
428One reported cause was an exotic configuration of disk devices, like 428One reported cause was an exotic configuration of disk devices, like
429ultra/non-ultra DMA disks on one cable. 429ultra/non-ultra DMA disks on one cable.
430</p> 430</p>
431 431
432</body> 432</body>
433</section> 433</section>
485<section> 485<section>
486<title>Solution</title> 486<title>Solution</title>
487<body> 487<body>
488 488
489<p> 489<p>
490Strictly speaking, this is no grub error. One possible cause is that ACPI is 490Strictly speaking, this is no grub error. One possible cause is that ACPI is
491not working correctly but is enabled in the kernel. Try to disable it in your 491not working correctly but is enabled in the kernel. Try to disable it in your
492bios or in your kernel. 492bios or in your kernel.
493</p> 493</p>
494 494
495</body> 495</body>
496</section> 496</section>
657<title>Solution</title> 657<title>Solution</title>
658<body> 658<body>
659 659
660<p> 660<p>
661First of all check if the splashscreen file you are referring to in your 661First of all check if the splashscreen file you are referring to in your
662<path>grub.conf</path> really exists. If that is the case, go and check 662<path>grub.conf</path> really exists. If that is the case, go and check
663the grub ebuild. Maybe the patch for the splash image is commented out in the 663the grub ebuild. Maybe the patch for the splash image is commented out in the
664version that you are using. 664version that you are using.
665</p> 665</p>
666 666
667</body> 667</body>
668</section> 668</section>
669</chapter> 669</chapter>
731<p> 731<p>
732This is a known bug related to this problem and has been fixed 732This is a known bug related to this problem and has been fixed
733in grub 0.96. It is also known that grub 0.94 r1 and grub 0.94 r2 733in grub 0.96. It is also known that grub 0.94 r1 and grub 0.94 r2
734should work correctly. If that fails too, you can try to emerge 734should work correctly. If that fails too, you can try to emerge
735grub-static which is currently stable on amd64 and unstable on x86 735grub-static which is currently stable on amd64 and unstable on x86
736(~x86). Check out bug 736(~x86). Check out bug
737<uri link="http://bugs.gentoo.org/show_bug.cgi?id=79378">#79378</uri> 737<uri link="http://bugs.gentoo.org/show_bug.cgi?id=79378">#79378</uri>
738for additional information. 738for additional information.
739</p> 739</p>
740 740
741</body> 741</body>
742</section> 742</section>

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20