Mac mini stuck on boot
Mac Mini fails to start up on MacOS Sierra on whatever mode, recovery, safe, normal - all not working. Stuck on boot screen with progress bar full. Photo at the bottom (created in Pixelmator).
I have ordered a Mac Mini 2 days ago (22nd March) and it has arrived. After setting it up, I used my Windows 10 Disk to use the computer on Windows. Then I rebooted it several times and even plugged it out and back in to restart Windows when it crashes. I disconnected the drive and tried to boot it up from MacOS, but I had a weird error saying 'No bootable device -- Please connect a bootable device'. It turned out that the Mac was trying to load from Windows, which was disconnected. After restarting with ALT pressed down, I chose MacOS (the only disk) from the menu and started. The bar was going slower than when I first started it. I went away and when I came back the Mac was still loading. The bar was full, but it never went showed the login screen. I tried to restart the computer in Recovery mode (MacOS Utilities) and Safe mode, and I ended with the same result. I tried using my laptop to connect via SSH (ssh user@XXX.XXX.X.XXX) with my username and password, but I kept getting an error 'Connection refused'. The computer boots up from the Windows 10 disk (Windows 10 Workspace, also known as Windows to Go), but it never starts up properly from MacOS. I can't restore it: 1. I don't have an Installation DVD, Mac was shipped from the Apple Store. 2. Even if I had an Installation DVD, I couldn't put it in, there is no CD/DVD-ROM.
Please, can someone help, as I am planning to make a server out of the Mac! Picture:
Mac mini (Late 2014), macOS Sierra (10.12.3), No DVD/CD Drive.