Sharing files with a Non Hyper-V R2 VM
Recently I got sick of constantly having to break my scripts down into 512 character chunks to copy and paste into VMs (here is a great work-around if you want to increase the amount ) I decided to come up with a–what I feel– is clever work-around to this problem.
- First, from the parent partition, create a new VHDx file. Mount this to your host OS.
- Copy any scripts, files, etc you’d like to share with the guest it into the file
- Mount this VHDx on the SCSI controller of your VM (to get live access to it)
- Enjoy!
In order to copy back and forth, you’ll need to take the vhd offline from Disk Manager on the host machine, and likewise for the guest, but it is a work-able work-around.