This historically happened with the ubuntu installer (ubiquity) if "parted"
returns errors (both normal and wubi installs). Seen it before when there
is leftover GPT data on a MBR formatted disk. Try booting from the USB and
going to a terminal (or hit Ctrl+Alt+F1 during the installation) and run:
Public bug reported:
Мy computer is with windows 7 ultimate 64-bit quad core pentium, 6 GiGs
RAM and 1TB harddisk, and i decide to try new ubuntu 14.10 64-bit,
download the iso from ubuntu site and install with wubi, reboot and
installation stop with:''failed to partition the selected disk"/this
p