installing yosemite
I have 27" iMac desktop running Mavericks. Used Time Machine for full backup. I attempted to upgrade yesterday to Yosemite. Had to restart download of Yosemite 4 or 5 times because download unexpectedly quit several times. During successful download this morning, progress bar kept flashing from current download total to previous final download total (?). After download, initiated restart into Yosemite. Apple appeared with progress bar beneath, and it never progressed beyond halfway. Hard drive was active the whole time with a sound that was not repetitive. Waited more than 30 minutes for startup to complete. Progress bar didn't move. iMac was stuck, not responding to keyboard. Shut down, tried restart, same results. Held down CMD+R, used Disk Utilities for Repair Disk, no errors found. Tried to reinstall OS, but it didn't see good internet connection. Didn't try Restore from Backup. I can't install Yosemite. Any ideas?
MacBook, OS X Mavericks (10.9.2), Safari opens with many windows