To recover the mashine using a RAW file, follow the steps below:
Boot from any Linux Live CD.
Verify that ssh service has started.
Clone a disk using the command ssh user@device_ip_where_raw_file_ dd if=/<path_to_file> | dd of=/dev/sda status=progress
After successful cloning, restart the machine and boot from the hard disk.