-1

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.

3 Answers3

0

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.

Mark
  • 1
0

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. enter image description here

Ryko
  • 1,155
  • Can't use those options: http://prntscr.com/a3v4ub – Tanuj Singh Feb 16 '16 at 05:01
  • This answer assumes a BIOS-mode installation, which is likely an invalid assumption, given that it's a Windows 10 computer. Following this advice on an EFI-mode computer will not work and may create new problems. – Rod Smith Feb 16 '16 at 21:08
0

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:

  • Live Ubuntu Disk/USB
  • Basic understanding with Ubuntu Terminal

How To:

  • Boot from live disk/usb and select Try Ubuntu Without Installing.
  • Go to the terminal Ctrl+Alt+T
  • Enter the following commands correctly.

    1. sudo mount /dev/sda1 /mnt Please replace sda1 with your Ubuntu partition.
    2. 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
    3. sudo chroot /mnt Go to the root folder of your installation
    4. grub-install /dev/sda Reinstall GRUB
    5. update-grub Updating GRUB.
    6. exit Exit from chroot system
    7. Unmount what you have previously mounted
      sudo umount /mnt/sys sudo umount /mnt/proc sudo umount /mnt/dev/pts sudo umount /mnt/dev sudo umount /mnt
    8. Restart the system.

Source : How to Repair, Restore, or Reinstall Grub 2 with a Ubuntu Live CD or USB

  • This answer assumes a BIOS-mode installation, which is likely an invalid assumption, given that it's a Windows 10 computer. Following this advice on an EFI-mode computer will not work and may create new problems. – Rod Smith Feb 16 '16 at 21:08