I was trying to dual boot kubuntu with windows 8. Now, I created unallocated space and restarted my PC, the windows didn't load showing an error. Windows diagnostics didn't work. There partitions in between two unallocated spaces which might be causing problem. How to fix it?
I would first try to format the first unallocated partition to any format and reinstall grub with a linux live session choosing the first partition to save the grub loader on.
let me know if it works there are many more methods. but that is the easiest and most successful.