This question already has an answer here:
I have been trying to install ubuntu (I tried 12.04LTS, 12.10, 12.10-secure-remix) using the wubi installer on Windows 8 and all the three times ran into the same problem showing some cannot find /ubuntu/winboot/wubildr when I tried to start ubuntu.
I tried to change the boot settings from UEFI to Legacy and then my laptop restarted and showed that "No operating System Found".
I then tried to install Ubuntu using a cd and after a lot of effort and using boot repair,etc. I landed into a new trouble. When I select UEFI on, the laptop loads Windows and windows too does not detect ubuntu. When I select Legacy mode, it starts ubuntu, shows me an option to start windows 8 but gives an error showing windows failed to load.
So in legacy mode, i am able to use only ubuntu and in UEFI mode, I am able to use only Win8. Please explain any process of starting windows in legacy mode (which I tried without any success) or starting ubuntu in UEFI mode.