Getting data into Virtual Machines
- 2 minutes read - 216 wordsI’m fiddling around with old DOS games at the moment. A lot of them are now abandoned by their original publishers, and so you can find them by Googling abandonware.
However, I found one final problem — how do you get data into the virtual machine? VirtualBox does not support shared folders into a DOS client, but it will mount ISO images. So, all I need to do is make an ISO image…
Well, after a wasted hour or so, and several entertaining virtual machine crashes, I found the answer. You don’t need to use Disk Utility at all, you can do this from the command line. Find the folder you want to turn into an ISO image, and navigate to it in Terminal. Then, enter this command:
hdiutil makehybrid -o [iso file name] [folder]This will create a .cdr file. Change that file to have a .iso extension, then attach to your VM, and you’re done.
If you don’t do the makehybrid part, and instead do
hdiutil create...you’ll get a Mac format CD image, which DOS-based VMs won’t be able to understand, hence the varied and alarming crashes. I ran out of time on Saturday, but I hope to have some old DOS games going fairly soon. More news as it breaks!