GRUB 2 looks like to be broken...

Discussion in 'Computer Software and Operating Systems' started by Kerouz, Apr 28, 2016.

  1. Kerouz
    OP

    Kerouz GBAtemp Regular

    Member
    102
    42
    Aug 26, 2015
    France
    In my home
    So, today, I installed Antergos in dual boot with Windows 10.
    When I finished the install of Antergos, I rebooted my computer, and this showed up.
    Warning: Spoilers inside!

    I tried to reinstall GRUB with an Ubuntu 15.10 Live CD, with the MediCat DVD, and each time I reboot my computer, it shows up.
    Also, my Windows Boot Manager is still intact, if it can help somebody to find how to solve my problem.
     
  2. FireEmblemGuy

    FireEmblemGuy Celebrating a decade of shitposting

    Member
    2,443
    442
    Jul 6, 2007
    United States
    Michigan, USA
    I'm assuming you're using a UEFI-based system, if you can still switch to the Windows bootloader and boot that way.

    Honestly I don't know a whole lot either way about GRUB2 and UEFI (I just do away with it altogether and use rEFInd). Your /boot partition is the same as Windows', right? Usually Windows creates it as the second partition of a drive (before the actual C:\ partition), a 100MBish FAT32 partition.

    I installed Antergos last month on my gaming rig, and while GRUB2 installed fine after setting my boot partition during setup any commands to update it (so that it would see my Windows loader) failed completely. I can't say I had the level of problems you're having.
     
  3. Kerouz
    OP

    Kerouz GBAtemp Regular

    Member
    102
    42
    Aug 26, 2015
    France
    In my home
    My /boot partition is the same as Windows, yes.
    Also, I tried to install rEFInd, but it sends me back to the same GRUB 2 as in the OP.
     
  4. Kerouz
    OP

    Kerouz GBAtemp Regular

    Member
    102
    42
    Aug 26, 2015
    France
    In my home
    A little update : I tried to install Zorin OS, but the same "broken" GRUB appears.
    I'm going to try with another distro to see if it's my computer who has a problem.

    Also, how can I get an access to the partition where GRUB is stored ?
     
  5. mariogamer

    mariogamer GBAtemp Advanced Fan

    Member
    830
    229
    Aug 12, 2015
    Canada
    Your grub is'nt broken,but the question is why he doesn't load any OS...
     
  6. Joom

    Joom  ❤❤❤

    Member
    4,215
    2,888
    Jan 8, 2016
    United States
    Wait, your /boot partition is the same as your Windows partition? Why? This totally breaks the MBR and GRUB.
    http://www.softpedia.com/get/System/OS-Enhancements/EasyBCD.shtml

    Fix the MBR with that, and if you still want GRUB, install it to its own partition, or /boot on your Linux partition. Also, this is useful for GRUB reinstallations.
    Code:
    grub-install /dev/sd* && grub-mkconfig -o /dev/sd*/boot/grub/grub.cfg
    * being the partition of your choosing. Just don't choose the Windows one, ffs.
     
    Kerouz likes this.
  7. FireEmblemGuy

    FireEmblemGuy Celebrating a decade of shitposting

    Member
    2,443
    442
    Jul 6, 2007
    United States
    Michigan, USA
    It's of no use fixing the problem (if he still has it), but while that's true for MBR-based machines, newer UEFI-based booting is actually the opposite.
    Basically, when Windows is installed on a fresh HDD on a UEFI system, it creates a 100MB FAT32 partition with EFI loaders, which under normal circumstances Windows users aren't allowed access to. Motherboards supporing UEFI can read directly from this partition, and launch any loaders from there - much handier than the MBR based system, and in theory less of a pain in the ass. It's generally recommended to keep all loaders on that partition, including GRUB2's EFI loader; they don't overwrite each other, and you can choose the default loader in your startup settings. Unfortunately GRUB2 has been a pain in the ass exactly every time I've used it on a UEFI system.

    If you do need access to that partition, you can mount it under Linux, either from your own HDD or a live boot; there is a workaround on Windows but it's a pain in the ass and basically only lets you access single files at a time. Just mount the partition (usually /dev/sda2 on a single-HDD system where Windows was installed first) and work from there.


    How did you install rEFInd? Did you set it as the default loader in your BIOS and it still just looped you back to GRUB, or was GRUB the only option rEFInd detected on boot?
     
  8. mariogamer

    mariogamer GBAtemp Advanced Fan

    Member
    830
    229
    Aug 12, 2015
    Canada
    Just like this,it is possible to set a password for GRUB after the initial setup?
     
  9. Kerouz
    OP

    Kerouz GBAtemp Regular

    Member
    102
    42
    Aug 26, 2015
    France
    In my home
    I set it as the default loader in my BIOS and it looped back to GRUB.

    But I solved the problem by using the Lubuntu with the MedicatDVD, and deleting the broken Ubuntu GRUB i had.