0

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?

Eranda Peiris
  • 761
  • 7
  • 17

1 Answers1

0

The info is useful but points to a to a bodge, regarding important mounting points and a possible BIOS config issue. You do need to know what you're doing when it comes to setting up Ubuntu, let alone a dual boot. The some kind of DOS on sda2 suggests you have an MBR disk and that partition points to your data file, not your W10 system so that shouldn't even be in there as a GRUB option.

For now I'd concentrate on getting Windows back. Power down, disconnect your HDD (the one with Ubuntu on it), then start up and see if W10 will boot. If it doesn't then your MBR and maybe your BCD file are messed up. Both can be repaired externally without the need for a re-install, but that's another subject. Meanwhile I suggest have a good read of this first before attempting another dual boot installation.

Paul Benson
  • 1,041
  • 2
  • 12
  • 21