I currently have a dual-boot system with Windows 8 and Ubuntu 14.04, on separate hard disks. I have installed the Grub bootloader using the Boot-Repair tool; however, it seems that whenever I boot into Windows my bootloader gets overwritten so that the next time I reboot, Grub doesn't appear - the system just boots straight into Windows. So ... I have to get out my Ubuntu live USB and use Boot-Repair to reinstall Grub each time, which is getting a bit tedious.
I have disabled automatic updates in Windows, as I suspected the updates were overwriting the bootloader. However, this now seems to be happening just by me booting into Windows. Has this happened to anyone else and does anyone know how I can prevent Windows from telling me what bootloader to use?
Thanks!
Edit 12/14/14: I've just verified that secure-boot is disabled in the BIOS - that doesn't seem to be affecting the problem. I also just ran Boot-Repair, which fixed Grub, and then booted back into Windows. The same problem happens: when I reboot after that it bypasses Grub and boots straight into Windows.
Ok, I think I've figured it out. I just followed the instructions on the screen that Boot-Repair prints after it's finished (I tried to post an image but don't have enough reputation).
Anyway, I first tried changing the boot order and that didn't work (the only option it showed in the BIOS for HDD boot was Windows EFI boot). So, I tried the typing the following command in the Windows command prompt (as recommended by Boot-Repair):
bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
and that worked - now it goes into Grub if I restart from Windows. I guess that command tells Windows to use Grub as it's bootloader ...
No comments:
Post a Comment