Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Emulating Haiku In Parallels Desktop
There are several methods offered to install Haiku. These include Vmdk images, Raw images, Iso images and Anyboot images which are a hybrid of the latter two images. The Raw image is a preinstalled environment, in which the Virtual Hard Disk size cannot be customized, but going through the installation process is not required.
<div class="box-warning">Haiku isn't working fully with Parallels Desktop yet as only the Raw and Anyboot images work and that is after following a workaround. Be sure to follow the workaround instructions on renaming the files.</div>
<h5>Parallels Desktop</h5>
Parallels Desktop is available for free (14 day trial version) or for $80 (full version) on <a href="http://www.parallels.com/products/desktop/">their website</a>.
<h5>Anyboot</h5>
The required files can be found at on the <a href="http://www.haiku-os.org/get-haiku">get-haiku page</a> of this website. Select the closest mirror or the torrent (further down the page) in order to enjoy higher transfer rates. Verify using the checksums that your download has not been corrupted.
<h5>Raw</h5>
Raw is deprecated in favor of Anyboot, and as such can only be found on the nightly <a href="http://haiku-files.org/haiku/development/">build page</a>. There are no checksums for this version.
<h5 id="gotopart">Go to section:</h5>
<ul>
<li><a href="#part_rawimage">Running Haiku from a Raw or Anyboot image</a></li>
<li><a href="#part_additional">Additional Steps</a></li>
<li><a href="#part_trouble">Troubleshooting</a></li>
</ul>
<h3 id="part_rawimage">Running Haiku from a Raw or Anyboot image</h3>
<h4 id="part_downloading">Step 1. Downloading Haiku</h4>
After downloading the Raw or Antboot image, unzip the file and in the folder you will see a .image file. Now rename the .image file to .hdd
<h4 id="part_opening">Step 2. Opening the file</h4>
Start up Parallels Desktop. Then click on <em>Install Windows on another OS</em> from DVD or image file before clicking <span class="button">Continue</span> once.
<br /><img style="padding:12px" alt="Parallels Wizard" src="https://www.haiku-os.org/files/parallels_image1_1.png"/><br />
Now, you will be in the installation screen where you're asked for your installation disc. Enable <em>Continue without installation disc</em> (small checkbox in lower-left corner), before clicking <span class="button">Continue</span> once.
When the <em>Please select your operating system</em> dialogue appears, select <em>Other</em>, then <em>Other</em> again.
Continue until the Virtual Machine starts to boot.
It will fail to boot. Now, this is the trick:
Click on <em>Virtual Machine</em> in the menu bar and press <span class="button">Stop</span>.
Click on <em>Virtual Machine</em> again and press <span class="button">Configure</span>.
<br /><img style="padding:12px" alt="Parallels Wizard" src="https://www.haiku-os.org/files/parallels_image2_1.png"/><br />
Click on <em>Hardware</em> ><em> Hard Disk 1</em>.
For the source, select the file which you renamed from .image to .hdd.
Close the window and start your Virtual Machine. When a prompt comes up asking you to convert the image, click <span class="button">Accept</span>.
Haiku is up and running!
<br>
<h3 id="part_additional">Additional Steps</h3>
<strong>TODO</strong>
<br>
<h3 id="part_trouble">Troubleshooting</h3>
<h4>Parallels Desktop warns that the virtual hard drive image file is either damaged or locked</h4>
Parallels does not support the VMDK images produced by Haiku build system. It complains that it is an old-format virtual hard disk (for Parallels 3.0 or earlier) and offers to convert it, but fails with the error message "<em>Unable to convert the virtual hard disk to the new format. The virtual hard drive image file is either damaged or locked.</em>" which instantly disappears. You need to use the Raw or Anyboot images.
<h4>Parallels Desktop warns that there is <em>No boot device available</em> and that it is <em>Unable to connect Hard Disk</em></h4>
You need to use the renaming workaround.
<h4>Parallels Desktop warns that the <em>device still expects data transfer</em></h4>
When booting with ISO or Anyboot images, Parallels will hang on Disk icon. This is a bug in Haiku which can be read about <a href="http://dev.haiku-os.org/ticket/4502">here</a>.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.