microsoft boot manager replaced by grub2?

Posted on

Problem :

I was running my pc with Win 8.1. I was thinking about trying linux for a long time so I decided to give it a try. I tried to install it several times but I was never able to boot to it, all I could do was boot to windows 8. On my last installation try I chose to install grub2 on that first partition sda0 (now I cant remember the name).

Now when I turn my pc on I get the grub2 screen that I never got before, but there are no SO entries! I dont really know what to do now, I am typing this from a Linux Live CD because I cant boot to any SO.

My questions are if it is possible to add like entries to both SO or if I can revert this and be able to boot my Windows 8 again.

Thanks for reading.

Solution :

First of all, that is OS(Operating System) instead of SO.
You may not understand grub quite well. I have no idea of what Linux distro you’ve been trying, but generally Linux is quite firendly to Windows and it is not the other way around.
Here are some tips:

  1. Grub should not be installed on /dev/sda0 or anything like that, sdaX(where X is a digit) represents a partition of a disk. That is to say, grub should be installed on /dev/sda(if you have only one disk).
  2. What you now should do is boot into LiveCD and mount all your Linux partitions then chroot to your installed Linux, and repair the grub. Here are the commands you may need(.

    mount /dev/sdaX /mnt/pointX
    chroot /mnt /bin/bash

    If you could connect to the Internet, you might would love to install os-prober(or some other names in different distro)

    pacman -S os-prober
    grub-install /dev/sda
    grub-mkconfig -o /boot/grub/grub.cfg

    Now exit the chroot environment and then reboot your PC. Boot from your harkdisk and you will got three or more items in the grub screen, select one, and enjoy the world of Linux.

Maybe you should try Ubuntu where wubi will help you out of these frustrating things.

Leave a Reply

Your email address will not be published. Required fields are marked *