0

I already have windows installed and I just installed Ubuntu and I was expecting that it will ask me which OS to boot after startup but it didn't.

I refer the link but didn't work Windows 7 not showing up in boot after installing Ubuntu.

I set the option of Erase disk and install Ubuntu. But it says currently has no detected operating system. enter image description here

How to set this option now. I already have Ubuntu installed and I am not getting option to boot windows.

eswaat
  • 101

2 Answers2

1

try the below command :-

sudo os-prober

sudo update-grub

reboot

Hope this helps!

Ashu_FalcoN
  • 2,118
BDRSuite
  • 3,156
  • 1
  • 12
  • 11
  • Nop didn't work. – eswaat Dec 15 '14 at 05:39
  • I set the option of Erase disk and install Ubuntu. But it says currently has no detected operating system. Link to image as i can't upload because of less than 10 reputation.https://drive.google.com/file/d/0B8xCC50zlFkzRms3c3lQNm9STUk/view?usp=sharing . So you think it formatted my Windows. – eswaat Dec 15 '14 at 05:44
  • In that case, it has removed Windows. In case you wished to dual boot you have to chose "Something else". It will give you options to partition and you should proceed. – BDRSuite Dec 15 '14 at 08:18
  • Can I recover some of the content of Windows. – eswaat Dec 15 '14 at 19:32
  • Yes, from your backups. – SDsolar Mar 31 '17 at 18:30
0

If you have installation CD of Windows, you can repair the bootloader of Windows with the help of command line, typing the following code:

bootrec /fixmbr

It will restore the Windows bootloader for you.

Ziyaddin Sadygly
  • 7,329
  • 6
  • 26
  • 34
  • I set the option of Erase disk and install Ubuntu. But it says currently has no detected operating system. Link to image as i can't upload because of less than 10 reputation.drive.google.com/file/d/0B8xCC50zlFkzRms3c3lQNm9STUk/… . Still I can restore the Windows – eswaat Dec 16 '14 at 00:00