Can't have overlapping partitions: gparted

view story

http://askubuntu.com – I have a machine running ubuntu 12.04 and windows 8 on dual boot. I created a ntfs partition to do easy switching but as there were only 4 partition possible, I unknowingly deleted system reserved partition for windows, so it didn't boot but ubuntu was running fine. So, I read somewhere to use live windows usb to restore windows 8 system reserved partition and when I did automatic recovery, I think it created a partition and now I cannot access my linux ext4 partition. Gparted gives error "can't have overlapping partition" and shows one unallocated block. System is also not booting and ls on (HowTos)