/[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.17 Revision 1.18
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.17 2011/09/04 17:53:40 swift Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/grub-error-guide.xml,v 1.18 2011/12/26 15:22:40 swift Exp $ -->
4 4
5<guide> 5<guide>
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>
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 -->
24<license/> 24<license/>
25 25
26<version>1.9</version> 26<version>2</version>
27<date>2008-01-13</date> 27<date>2011-12-26</date>
28 28
29<chapter> 29<chapter>
30<title>Starting notes</title> 30<title>Starting notes</title>
31 31
32<section> 32<section>
177<pre caption="Grub Output - Booting an Entry"> 177<pre caption="Grub Output - Booting an Entry">
178Booting 'gentoo Linux' 178Booting 'gentoo Linux'
179 179
180root (hd0,0) 180root (hd0,0)
181Filesystem type is ext2fs, partition type 0x83 181Filesystem type is ext2fs, partition type 0x83
182kernel (hd0,0)/boot/kernel-2.4.20 root=/dev/hda3 vga=792 182kernel (hd0,0)/boot/kernel-2.4.20 root=/dev/sda3 vga=792
183 183
184Error 15: File not found 184Error 15: File not found
185Press any key to continue... 185Press any key to continue...
186</pre> 186</pre>
187 187
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/sda</i>
282</pre> 282</pre>
283 283
284<p> 284<p>
285When all this fails, your boot partition may be corrupt. Check the partition for 285When all this fails, your boot partition may be corrupt. Check the partition for
286errors: 286errors:
287</p> 287</p>
288 288
289<pre caption="Checking a partition for errors"> 289<pre caption="Checking a partition for errors">
290<comment>(Make sure the boot partition, /dev/hda1 in this case, is unmounted)</comment> 290<comment>(Make sure the boot partition, /dev/sda1 in this case, is unmounted)</comment>
291# <i>fsck -y /dev/hda1</i> 291# <i>fsck -y /dev/sda1</i>
292</pre> 292</pre>
293 293
294</body> 294</body>
295</section> 295</section>
296</chapter> 296</chapter>
338<section> 338<section>
339<title>Situation</title> 339<title>Situation</title>
340<body> 340<body>
341 341
342<pre caption="Grub Output"> 342<pre caption="Grub Output">
343kernel (hd1,4)/bzImage root=/dev/hdb7 343kernel (hd1,4)/bzImage root=/dev/sdb7
344 344
345Error 18: Selected cylinder exceeds max supported by BIOS 345Error 18: Selected cylinder exceeds max supported by BIOS
346</pre> 346</pre>
347 347
348</body> 348</body>
517Mount your boot partition and verify if the <path>grub/grub.conf</path> file 517Mount your boot partition and verify if the <path>grub/grub.conf</path> file
518exists. 518exists.
519</p> 519</p>
520 520
521<pre caption="Mounting and verifying"> 521<pre caption="Mounting and verifying">
522# <i>mount /dev/hda1 /mnt/gentoo/boot</i> 522# <i>mount /dev/sda1 /mnt/gentoo/boot</i>
523# <i>cat /mnt/gentoo/boot/grub/grub.conf</i> 523# <i>cat /mnt/gentoo/boot/grub/grub.conf</i>
524</pre> 524</pre>
525 525
526<p> 526<p>
527Also make sure that the <path>menu.lst</path> symbolic link exists: 527Also make sure that the <path>menu.lst</path> symbolic link exists:
545If this is the case, reinstall grub: 545If this is the case, reinstall grub:
546</p> 546</p>
547 547
548<pre caption="Reinstalling Grub"> 548<pre caption="Reinstalling Grub">
549<comment>(Run from within the chrooted environment)</comment> 549<comment>(Run from within the chrooted environment)</comment>
550# <i>grub-install --root-directory=/boot /dev/hda</i> 550# <i>grub-install --root-directory=/boot /dev/sda</i>
551</pre> 551</pre>
552 552
553</body> 553</body>
554</section> 554</section>
555</chapter> 555</chapter>
564When running <c>grub-install</c> during the GRUB installation, you receive the 564When running <c>grub-install</c> during the GRUB installation, you receive the
565following error: 565following error:
566</p> 566</p>
567 567
568<pre caption="Grub Output"> 568<pre caption="Grub Output">
569# <i>grub-install --root-directory=/boot /dev/hda</i> 569# <i>grub-install --root-directory=/boot /dev/sda</i>
570Could not find device for /boot/boot: not found or not a block device 570Could not find device for /boot/boot: not found or not a block device
571</pre> 571</pre>
572 572
573</body> 573</body>
574</section> 574</section>

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.20