Copying files to Haiku running in Parallels on OS X

Ok, so I discovered Haiku a few days ago after almost forgetting about it for 3 years… And wow, I can’t believe this project has evolved this far! I’m all excited about computing again because I thought BeOS & (fun)computing was dead. Anyway, I decided to try it out on my iMac Core Duo in Parallels, and it works! :slight_smile:

Now, I decided to try out some of my old apps on Haiku but getting the files inside Haiku wasn’t the easiest thing, but here’s how I did it, if anyone wants to try it out. The idea is to create an image file of your files that you’ll mount inside Haiku.

In OS X:

  1. Gather your files in a folder, I called it “HaikuFolder” and put it in my home folder.
  2. Open a terminal window and create a CD imagefile:
    $ hdiutil makehybrid -o HaikuFiles.iso -iso HaikuFolder/
  3. Rename the image file extension from .iso to .hdd
  4. In Parallels, create a new Hard Disk for you Haiku machine and tell it to use the image file you just created.
  5. Launch Haiku!

In Haiku:

  1. Create a new folder somewhere, I called it “hdd2” and put in my Home folder.
  2. Open a terminal window and mount the image file. This is where it might get tricky. Depending on your Parallels setup, the device path you need to use will be different. My setup has 2 hard disks - one for Haiku, one for the files I want to copy. With that setup you should be able to use:
    $ mount -t iso9660 /dev/disk/ata/0/slave/raw /Haiku/home/hdd2

And that’s it. Your image file should now be mounted and visible on your Desktop.
Hope that helps :slight_smile: