Just bought a MacBook Pro from a friend but he told me the HD drive was corrupted and the battery is messed up so I replaced the HD drive with a Samsung 1 TB SSD, new 8 GB RAM and a new battery but I'm having problems installing OS X.
I made a bootable USB drive with OS X 10.11 but when I try to install the OS it says:
there is not enough free space on os x base system to install
I've tried restoring from the internet with Opt+Cmd+r but it takes me nowhere and it shows me a grey folder with and ? mark. For some reason it won't let me access the disk utilities.
EDIT: it's basically this image pops up