Follow these instructions: How to create a bootable installer for macOS - Apple Support
What macOS version is that other system running? Try downloading OS X El Capitan and creating a bootable installer with it.
The error you are encountering -2006f suggests an inability to download macOS from Apple with that machine, which can occur for a number of reasons. Network communication failures, that sort of thing, and if that won't work you need a USB boot drive. It seems everything you did is leading up to the need to contact Apple:
"If you still need help, please contact Apple Support."