Using build images with Virtual PC

I downloaded the image from the Haiku Build Factory, and I can’t figure out how to make it work with Virtual PC. There is an article on the wiki explaining how to do it, but the wiki is down. It would be appreciated if anyone could tell me what to do. Thanks

I have the specific wiki page I think you are referring to on my HD at home (i grabbed it from google cache a few weeks ago before it disappeared).

I don’t remember Virtual PC being on the list… but I’ll check again when I get home.

I’m partially to blame for not transferring that information to the new website… :frowning:

Thanks a lot, any help with this would be great.

Just use this converter to convert a VMware image from HaikuHost into a VirtualPC image. Never tried it myself, but seems relatively straightforward. Let me know if it works for you.

It appears qemu-img (comes with the downloadable qemu release) also converts to “VPC” format - but if I recall, I didn’t have much luck with that in the past.

In the grand scheme of things, I haven’t found VirtualPC to be much of an advantage over VMWare Player - so I haven’t put a lot of effort into it myself.

BTW, I did look at the copy of the “Using Haiku Images” wiki page I have on my HD at home, and there was no mention of Virtual PC. Even if you get it to run, YMMV, as I don’t know what hardware VPC emulates.

The way ive done it is to create two virtual disks… connect one to a windows or Linux Virtual Machine and format w/ FAT32. the add the Haiku image to it and disconnect the virtual disk… then connect the VHD that will contain Haiku as the primary disk in the Virtual PC machine you make for Haiku and the FAt32 VHD with Haiku image as a second virtual disk.

boot the virtual machine with a Live Linux CD… the mount the FAT32 disk and dd (dd if=/media/hdb1/haiku.image of=/dev/hda)the Haiku image to the Virtual disk that is unformated… reboot witout linux CD and off you go.

For me, VMDK to VHD converter did my virtual machine not boot. My virtual machine did not find the bootable device.
So I tried the VHD Resizer (on the previously converted disk) that corrected the problem.

NB : Both are available on

I have the same problem, but vhdresize didn’t correct the problem, my virtual machine doesn’t boot haiku.

A very simple way to get this done is to start with a VPC that has a working OS.
Start your VPC Console and select the Windows OS you are going to use to install with. (Do not start the V-machine unless you need to clear a saved session and then make sure it is shutdown properly.) Click Settings, select the Hard Disk 2, or what ever hard disk you have that is unused (Current Value=None), and start the virtual Disk Wizard.
In the Virtual Hard Disk Wizard Click Next then Create a new virtual disk, next again, A virtual hard disk, and next again. Browse to the place you wish to store your Haiku Virtual Hard Drive, give the new drive a name and click Save. Click Next, Select the Dynamically Expanding option, no need to waist space unnecessarily click next, and set the virtual hard disk size to about 150mb, the drive will grow if you ad enough software or data files to cause it to do so. Now click finish and return to the VPC console-Settings window after the drive is finished building. Select the option to set Hard disk 2 and click browse, select the new drive you have just finished creating and click ok to close the settings window.

Now start your Windows VPC and login.

In your vpc, download and extract the daily image haiku.img file from the .bz2 file using something like 7-zip ( I will be using c:\temp for the working directory.

You will need DD for windows, available free @ I extracted it into my system32 directory for easy access.

Open a command prompt (Start-> Run->cmd.exe) and run: dd –list this will return a list of devices attached to your machine which dd can use. If your new drive is connected to VPC disk 2 then you should see a device listing of \?\Device\Harddisk1\Partition0 if so then we are ok so far.

Now run: dd if=c:\temp\haiku.image of=\?\Device\Harddisk1\Partition0 --progress

This will copy the image to the drive formatting the file system as it dos so, if you leave off the –progress part it will still work but will look like it is locked up.

Once this is finished shut down the windows V-machine completely and click on the settings again. This time we want to remove the assignment of our new drive to hard Disk 2 and close the settings window.

Now in the VPC Console select New to create a new VPC. Click Next, Select Create a virtual machine, click next, browse to the location you wish to keep it and give it a name, click Save and next again. Set OS to Other and click next again, set the amount of ram you wish to allow the system to use and click next again. Select the option to use an existing virtual hard disk and click next, browse to and select the one we just finished creating. You can enable the undo disk if it suites you or not as you like, but you still have to click next (yet again). We have now created our Haiku VPC and are ready to give it a test run, so have at it and best of luck to you.

The Linux VPC way is almost exactly the same except you use the Linux version of dd and bz2 to unzip and write the drive image.

I have no idea what the Wiki stated about how to do this and there are any number of other ways to accomplish these steps but this is what finally worked for me.

you can download my VirtualDisk Converter to convert the haiku.image file into a virtual pc hard disk file.
then create a new virtual-pc machine with this file.

NB : when booting your virtual machine, the screen become black. then press the space bar key one or too times after a few seconds.