I tried to install 18.04 Ubuntu unsuccessfully twice and then formatted and installed 17.10. Windows 10 is on the separate SSD while the ubuntu disk looks like this:
sda:
- [sda1 Ubuntu root and boot 100 GB]
- [unallocated space 400 GB]
- [sda2 NTFS data rest of the disk]
After whole installation adventure grub shows 17.10 ubuntu on sda1 and some kind of dos on sda2, while there is nothing on sda2 except data. Choosing this option leads to prompt asking to disconnect all drives without OS on them and Ctrl+Alt+Del to restart.
Booting through bios directly to windows boot loader or SSD disk with windows leads directly to grub, so no way to boot into windows.
Here is boot info: http://paste.ubuntu.com/p/g2wBYm77qk/ It seems to correctly see that windows actually on sdb1.
Os-prober too sees that nonexistent dos OS, but fails to detect actual windows 10.
How do I restore windows boot and add it to grub?
set active on
after selecting drive & partition. Your Windows will not boot without adding the missing two boot files bootmgr & BCD which you should be able to fix with Windows repairs, but it will not even repair it without boot flag. – oldfred Apr 25 '18 at 19:37