I was trying to get rid of that GRUB bootloader and wanted to use the Windows 10 bootloader. In order to do that, I did this:
I opened CMD and then put: bcdboot C:\Windows in it.
Now, the problem I'm facing is that Windows 10 directly loads up when I start my PC, no GRUB or Windows bootloader :(
How to fix this?
PS: I use Ubuntu 14.04 LTS.
at first install the free software 'EasyBCD' (current version is 2.2) in your windows 10 system. Then run it. In EasyBCD, click on "Add New Entry" and select "Linux/BSD" and change the type to "GRUB 2" and name it "Ubuntu". And then Click on "Add Entry". Go to "Edit Boot Menu" and click on "Save settings". And then you are good to go. You can also change the order of boot menu during power up from the "Edit Boot Menu" option.
This usually happens when you install windows on a machines with Ubuntu as Windows replaces the GRUB with it's own boot-loader. And by running bcdboot you have done the same. You need to update GRUB in order to get back to Ubuntu. Then you'll be able to use both Windows ans Ubuntu from GRUB. Tested this with Ubuntu 14.04 and Windows 8.1. Should work for Win 10 also.
What you will need:
How To:
Try Ubuntu Without Installing
.Ctrl+Alt+T
Enter the following commands correctly.
sudo mount /dev/sda1 /mnt
Please replacesda1
with your Ubuntu partition.sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt
Go to the root folder of your installationgrub-install /dev/sda
Reinstall GRUBupdate-grub
Updating GRUB.exit
Exit from chroot systemsudo umount /mnt/sys sudo umount /mnt/proc sudo umount /mnt/dev/pts sudo umount /mnt/dev sudo umount /mnt
Source : How to Repair, Restore, or Reinstall Grub 2 with a Ubuntu Live CD or USB
Assume nothing goes both ways, the Windows 10 installation should always be checked out to be sure which type of install you are dealing with first MBR (Bios/Legacy or GPT (UEFI). Attempting to change your Windows installation from MBR to GPT is looking for unnecessary head aches. I have Win10 machines and everyone of them Windows installed in Bios/legacy mode, all 4 machines were Windows 7 upgrade to Windows 10 installs. This is actually fairly common on older machines running Windows 7 that are upgraded to Windows 10.