Compdigitec Labs

« | Home | »

Solving the infinite GRUB loop (GRUB GRUB GRUB GRUB GRUB) problem

By admin | August 30, 2010

Sometimes, especially after changes to the hard drive or changes to partitioning, you will find that your Linux computer would no longer boot, but instead fill the screen up with GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB, etc infinitely without giving the boot menu, and the only way to exit out would have been to press Ctrl-Alt-Delete and reset the machine.

Apparently the problem is caused when GRUB tries to load the next stage of the bootloader, but fails to load it and instead hangs in an infinite loop because it can’t read out of the next stage. However in our case the BIOS settings were perfectly fine and there was nothing wrong with that. It turns out that the actual problem lying below the infinite loop was that the GRUB bootloader was corrupted and had to be reinstalled.

Prerequisites

Steps

  1. Boot your computer from floppy.
  2. Once the floppy has fully loaded with the menu, press “c” on your keyboard to enter the command prompt.
  3. Type in the following commands:
    find /boot/grub/stage1

    Skip the (fd0) entry that it produces and note down the one that matches your /boot partition. If it does not find it, then note down your /boot partition in the form of (hdx,y) where x is the hard disk number and y is the partition number. For example, (hd0,0) is equivalent to /dev/sda1 in Linux.

  4. Type in the following:
    root (hd<strong>x</strong>, <strong>y</strong>)

    where thew (hdx,y) is the location of /boot (from above command).

  5. Set up grub and reboot:
    setup (hd0)
    reboot

    If you wish to install grub to different drive, you can do so by changing hd0 to hd + your hd number.

  6. Remove floppy.

Errors

If you receive “Read Error” while starting the floppy you should double check your floppy and floppy drive for errors.

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux | 8 Comments »

8 Responses to “Solving the infinite GRUB loop (GRUB GRUB GRUB GRUB GRUB) problem”

  1. gammagoblin Says:
    September 27th, 2021 at 11:18

    … [Trackback]

    […] Read More Information here on that Topic: compdigitec.com/labs/2010/08/30/solving-the-infinite-grub-loop-grub-grub-grub-grub-grub-problem/ […]

  2. Buy Guns El paso Says:
    September 30th, 2021 at 17:57

    … [Trackback]

    […] Find More on that Topic: compdigitec.com/labs/2010/08/30/solving-the-infinite-grub-loop-grub-grub-grub-grub-grub-problem/ […]

  3. 5 Simple Steps To Creating Growth With A Gaming Website Says:
    October 24th, 2021 at 11:18

    … [Trackback]

    […] Read More here to that Topic: compdigitec.com/labs/2010/08/30/solving-the-infinite-grub-loop-grub-grub-grub-grub-grub-problem/ […]

  4. Dark0de Market Link Says:
    October 30th, 2021 at 11:54

    … [Trackback]

    […] Information to that Topic: compdigitec.com/labs/2010/08/30/solving-the-infinite-grub-loop-grub-grub-grub-grub-grub-problem/ […]

  5. relx Says:
    November 9th, 2021 at 19:25

    … [Trackback]

    […] Find More to that Topic: compdigitec.com/labs/2010/08/30/solving-the-infinite-grub-loop-grub-grub-grub-grub-grub-problem/ […]

  6. สล็อตเว็บตรง Says:
    November 12th, 2021 at 09:39

    … [Trackback]

    […] Here you can find 77004 more Info to that Topic: compdigitec.com/labs/2010/08/30/solving-the-infinite-grub-loop-grub-grub-grub-grub-grub-problem/ […]

  7. car dealership surveillance Says:
    January 3rd, 2022 at 20:16

    … [Trackback]

    […] Here you will find 11658 more Info to that Topic: compdigitec.com/labs/2010/08/30/solving-the-infinite-grub-loop-grub-grub-grub-grub-grub-problem/ […]

  8. credit card dump Says:
    January 15th, 2022 at 03:47

    … [Trackback]

    […] Find More Information here on that Topic: compdigitec.com/labs/2010/08/30/solving-the-infinite-grub-loop-grub-grub-grub-grub-grub-problem/ […]

Comments