0

I've installed Ubuntu 15.04 a while ago. Then I followed guides like this one on how to install windows after Ubuntu and I installed Windows 10 Technical Preview after Ubuntu. Then I booted up from a live CD, installed boot-repair, then I did a recommended repair. It put GRUB back there, but Windows 10 isn't on the GRUB menu. os-prober doesn't detect it, and it doesn't show up in the output if I do update-grub.

I've done boot-repair again, but nothing happened and I don't know what to do.

I have a BIOS motherboard and I have an MBR, with 4 primary partitions.

2 Answers2

1

Thanks to Organic Marble and Thomas W. for helping me solve this. Apparently Grub doesn't support the Windows 10 Technical Preview so you have to add the grub menu entry manually.

  1. Open /etc/grub.d/40_custom as root with gedit or another text editor.
  2. Then you have to add an entry at the end of the file. Mine looked like this.

    'Windows 10 Technical Preview' { set root='(hd0,msdos2)' chainloader +1 }

The name doesn't matter, and the set root='(hd0,msdos2)' command will vary. hd0 means my first hard drive, and msdos2 tells what partition the OS is on.

  1. run sudo update-grub
  2. To check, open up /boot/grub/grub.cfg and check if there's a new entry.
0

I thoroughly disagree. I recently installed Windows 10 Pro Technical Preview, build 10158, and went on to reinstall GRUB, and it works fine. I am dual booting Arch Linux and Windows 10. os-prober certainly detects Windows.

Though I am not sure if these are necessary, but mount you Windows 10 partition (/dev/sdxZ) before os-prober.

Install Grub Customizer and try that. It should find Windows 10 for you. Otherwise, At the very least, you won't have to write GRUB configuration every time you need to update.

xyz
  • 1,836