I have installed window 8.1 after cleaning my hard disk..and then installed ubuntu 14.04 with the help of ubuntu forum directions..
But after installing both, window 8.1 sometimes start and sometimes not. Even if this starts it automatically restarts after sometime.
My system does not support UEFI.
Grub is showing both ubuntu and windows.