I had Windows and installed Ubuntu alongside. Somehow GRUB wouldn't recognize Windows, so I erased the Windows partition and attempted to reinstall it, however I got error messages like "the partition is not windows-compatible". My partitions:
/dev/sda1
- Ubuntu/dev/sda5
- Ubuntu swap/dev/sda6
- A previously installed Ubuntu version-not using it anymore/dev/sda7
- only data, no OS
I could potentially delete all partitions if needed except my data partition (sda7).