Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: [SOLVED] Grub Error 2 while trying to boot into Gentoo

  1. #21
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Grub Error 2 while trying to boot into Gentoo

    Yes that will install Grub to the MBR. But isn't grub already installed in the MBR? Or did you add Ubuntu to the Windows Boot loader ?

  2. #22
    Join Date
    Sep 2008
    Location
    USA Pacific Coast
    Beans
    68
    Distro
    Ubuntu

    Re: Grub Error 2 while trying to boot into Gentoo

    I suppose it is. When I turn on my computer, grub comes up, not some windows program. Is there a way that I can check and be sure that is the case?

  3. #23
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Grub Error 2 while trying to boot into Gentoo

    Copy and paste this into a terminal:

    Code:
    sudo dd if=/dev/sda bs=512 count=1 2>/dev/null | strings | grep -i grub
    If it returns "Grub" you have grub installed in the MBR.

  4. #24
    Join Date
    Sep 2008
    Location
    USA Pacific Coast
    Beans
    68
    Distro
    Ubuntu

    Re: Grub Error 2 while trying to boot into Gentoo

    I do have grub in the MBR then, thanks.

    As I'm trying to install the new version of grub, I get the following error though. (I already purged and apt-get installed the existing grub install, by the way).

    Code:
    sudo grub-install /dev/sda
    
    /dev/sda does not have any corresponding BIOS drive.

  5. #25
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Grub Error 2 while trying to boot into Gentoo

    Try

    sudo grub-install --recheck /dev/sda

  6. #26
    Join Date
    Sep 2008
    Location
    USA Pacific Coast
    Beans
    68
    Distro
    Ubuntu

    Re: Grub Error 2 while trying to boot into Gentoo

    I take it back, I added a --recheck switch to the above command, and it installed. Needed to renew the device map after I purged the old one.

    I'll go test it out now.

  7. #27
    Join Date
    Sep 2008
    Location
    USA Pacific Coast
    Beans
    68
    Distro
    Ubuntu

    Re: Grub Error 2 while trying to boot into Gentoo

    I'm happy to announce that the problem did appear to be with the grub version I was using, not my hard disk. After reinstalling, grub is able to see all my linux partitions without any issues, and I can boot into Gentoo.

    Thank you all for the suggestions and help. Marking thread as solved.

  8. #28
    Join Date
    Apr 2008
    Beans
    3,317
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: [SOLVED] Grub Error 2 while trying to boot into Gentoo

    Thank you all for the suggestions and help
    You are welcome. Have fun with gentoo.

Page 3 of 3 FirstFirst 123

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •