Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save richienyhus/7907670094f771a5907110f3673b5065 to your computer and use it in GitHub Desktop.
Save richienyhus/7907670094f771a5907110f3673b5065 to your computer and use it in GitHub Desktop.
Emulating Haiku In VMware Workstation for windows
<div class="box-info">Running Haiku from a VM image is recommended to avoid any possible problems. Unless it does not work, or you would like to simulate an actual installation, do stick to this method.</div>
The required ISO file can be found at on the "Get Haiku" page of this website which is located <a href="/get-haiku">here</a>. VMware Player is available for free on their website which can be found <a href="https://www.vmware.com/products/player/">here</a>. There is also VMware Workstation, which is similar but has more features and is commercial. This means you have to pay for this version, but it does offer a 30 days trial. However you could just stick to the free one <em>(VMware Player)</em> as you most likely will not need the extra features. You can both read about the commercial version's extra features and download it from its website <a href="https://www.vmware.com/products/workstation/overview.html">here</a>
<h5 id="gotopart">Go to section:</h5>
<ul>
<li> <a href="#part_vmimage">Running Haiku from a VM image.</a></li>
<li> <a href="#part_iso">Installing and running Haiku from an ISO image.</a></li>
<li> <a href="#part_additional">Additional Steps.</a></li>
<li> <a href="#part_trouble">Troubleshooting.</a></li>
</ul>
<h3 id="part_vmimage">Running Haiku from a VM image.</h3>
<h5 id="part_Downloadingv">Step 1. Downloading Haiku.</h5>
Download the vmdk zip file from the Haiku website and unzip it. You should be able to see these following files.
<img alt="File system" width="660" src="/files/image1.jpeg"/><P STYLE="margin-bottom: 0in; page-break-before: always"><BR></P>
<h5 id="part_Openingv">Step 2. Opening the file.</h5>
<P STYLE="margin-bottom: 0.07in"><IMG width="660" SRC="/files/image2.jpeg" NAME="Picture 2" ALIGN=LEFT BORDER=0><BR CLEAR=LEFT>
Double click the file with the .vmx extension to open the virtual machine in VMware Player or VMware Workstation in this instance.
<h5 id="part_Adjustingv">Step 3. Adjusting Memory.</h5>
Adjust the amount of Random Access Memory (RAM) allocated for the virtual machine to your preference. 256MB is recommended if the host machine has less than 1GB of RAM. The more RAM you allocate will make the virtual machine faster.
<div class="box-warning">Excessive allocation may cause the host machine to slow down.</div>
<h5 id="part_Powering-onv">Step 4. Starting the Virtual Machine.</h5>
Once you are done with adjusting the values, or accept the defaults, simply power on the virtual machine. You may want to switch to full screen mode as the virtual machine will have a resolution of over 1024 x 768.
<h5 id="part_Finishingv">Step 5. Finishing Up.</h5>
Congratulations, your Haiku virtual machine is ready for testing. Do take a look at the Haiku User Guide if you are not familiar with navigating around the desktop. You can find a link to this on the desktop or you can find another version of it online <a href="/docs/userguide/en/contents.html">here</a>.
<P STYLE="margin-bottom: 0.07in"><IMG width="660" SRC="/files/image3.jpeg" NAME="Picture 3" ALIGN=LEFT BORDER=0><BR CLEAR=LEFT>
<div class="box-info">Optionally you could mount the blank hard disk image that came in the download if there is data needed to be stored.</div>
<BR>
<h3 id="part_iso">Installing and running Haiku from an ISO image.</h3>
This method is pretty much similar to installing on an actual machine, but a little more tedious than running Haiku from a VM image
<BR>
<h5 id="part_DownloadingI">Step 1. Downloading Haiku.</h5>
Download and unzip the iso image from the Haiku website. It contains the iso disk image which is necessary for installing Haiku.
<BR>
<h5 id="part_CreatingI">Step 2. Creating a virtual machine.</h5>
Create a new virtual machine, select typical and continue.
<BR>
<h5 id="part_SelectinglI">Step 3. Selecting the location.</h5>
Select the location of the iso image you have unzipped.
<BR>
<h5 id="part_SelectingoI">Step 4. Selecting type of Operating System.</h5>
<P STYLE="margin-bottom: 0.07in"><IMG SRC="/files/image4.jpeg" NAME="Picture 4" ALIGN=LEFT BORDER=0><BR CLEAR=LEFT>
For the operating system, select Other. For version, do take note to make sure that Other is selected. Do not select Other 64-bit.
<BR>
<h5 id="part_NamingI">Step 5. Naming the virtual machine.</h5>
Give a name to your virtual machine, and point to the location which you want to store
the necessary files.
<BR>
<h5 id="part_SpecifyingI">Step 6. Specifying Disk space.</h5>
<P STYLE="margin-bottom: 0.07in"><IMG SRC="/files/image5.jpeg" NAME="Picture 5" ALIGN=LEFT BORDER=0><BR CLEAR=LEFT>
Specify how much disk space to give the virtual machine. Do store virtual disk as a single file if you are not dealing with a huge amount of data.
<BR>
<h5 id="part_AdjustingI">Step 7. Adjusting Memory.</h5>
Click finish and edit the virtual machine settings. Allocate the amount of RAM you would the virtual machine to have. Try allocating 512 MB if you have more than 1GB of RAM on your host machine.
<BR>
<h5 id="part_Powering-onI">Step 8. Starting the Virtual Machine.</h5>
Save the settings and power on the virtual machine. Once Haiku has booted, you can choose whether to run as a Live-CD (which does not have any persistency through reboots) or continue with the installation.
<h5 id="part_InitialisingI">Step 9. Initialising partition.</h5>
<img alt="File system" width="660" src="/files/image6.jpeg"/><P STYLE="margin-bottom: 0in; page-break-before: always"><BR></P>
Don't worry if you see the warning saying Haiku can't find any partitions to boot from. Click <span class="button">OK</span> and we will setup the necessary partitions needed to install Haiku.
Click <span class="button">Set up partitions</span>. Before clicking on the device with the hard disk icon. Then click Disk &gt; Initialize &gt; Intel Partition Map&hellip;
<BR>
<h5 id="part_SelectingpI">Step 10. Selecting partition.</h5>
Select the new space and click Partition &gt; Create.
<P STYLE="margin-bottom: 0.07in"><IMG width="660"
SRC="/files/image7.jpeg" NAME="Picture 7" ALIGN=LEFT BORDER=0><BR CLEAR=LEFT>
<div class="box-warning">It is important that you tick the active partition or else your disk will not boot!</div>
<BR>
<h5 id="part_CreatingpI">Step 11. Creating a new partition.</h5>
You may just create one partition or more if you like, but note down the partition with the active parameter as installation must be done only on active partitions. If you want to avoid confusion, simply create one partition.
<h5 id="part_FormattingI">Step 12. Formatting the new partition.</h5>
<P STYLE="margin-bottom: 0.07in"><IMG width="660"
SRC="/files/image8.jpeg" NAME="Picture 8" ALIGN=LEFT BORDER=0><BR CLEAR=LEFT>
Format the newly created partition(s) by selecting the partition and clicking Partition &gt; Format &gt; Be File System&hellip; Accept the defaults and you should see something like the previous screen.
<h5 id="part_Selectingp2I">Step 13. Selecting your new partition.</h5>
Close the dialog box and select the partition you want to install Haiku. Ensure that the partition is correct.
<h5 id="part_InstallingI">Step 14. Installing Haiku.</h5>
Begin the installation! Reboot once you are done, you should be able to see the Haiku desktop after you reboot. If you are stuck at the installation screen after reboot, disconnect the iso from the virtual disk drive and try again.
<P STYLE="margin-bottom: 0.07in"><IMG width="660"
SRC="/files/image9.jpeg" NAME="Picture 10" ALIGN=LEFT BORDER=0><BR CLEAR=LEFT>
<div class="box-info">The first boot will have a few start up items that fully configure Haiku, please be patient.</div>
<h5 id="part_FinishingI">Step 14. You are now finished.</h5>
Enjoy Haiku and refer to the Haiku User Guide if you encounter any problems
<BR>
<h3 id="part_part_additional">Additional Steps.</h3>
<strong>TODO</strong>
<BR>
<h3 id="part_trouble">Troubleshooting.</h3>
<h5 id="part_DiskspaceT">Question: Help! My disk space is running out, how do I allocate more space without reinstalling?</h5>
Answer: Simple, follow these step to add more storage to your Haiku, but take note that there is no way to reduce the size of your virtual hard disk once it starts to occupy space. Go to the configurations of the virtual machine. Select the hard disk you want to expand or add a new virtual disk. Specify the new capacity of the virtual disk. Only enter a value higher than the original, shrinking the disk is not possible. Increase the size of the partition using GParted or the Haiku iso. Do be careful to avoid any loss of data.
<P STYLE="margin-bottom: 0.07in"><IMG width="660" SRC="/files/image10.jpeg" NAME="Picture 11" ALIGN=LEFT BORDER=0><BR CLEAR=LEFT>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment