Setup Windows 8 Developer Preview as a VM on VirtualBox running on OSX 10.6 (Snow Leopard)


Microsoft launched the Windows 8 Developer Preview today at the Build conference. If you like living on the bleeding edge of technology and want to play around with the release, you need a computer to do a clean install of Windows 8 DP. Fortunately if you don’t have a spare computer to mess with, Virtualization solutions are there to the rescue.

I usually use VMWare on OSX to run all my Windows VMs. However VMWare failed to install the Win8 DP. So I decided to install Oracle (formerly Sun) VirtualBox solution. It supports Windows, OSX and Linux as host OSes.

I am of course assuming you have already downloaded the Win 8 DP iso from Microsoft.

Once you have VirtualBox and Win 8 DP iso, lets get started.

Step 1

Fire up Virtual Box. It will look as follows:

Step 2

Click on ‘New’

Step 3

Click Continue

Step 4: Give the VM a Name.

  • I have given ‘Win8 Dev Preview 1’.
  • Select OS as Microsoft Windows. Version as Window 7 (64 Bit).
  • I am assuming you have downloaded the 64 Bit ISO from MS.

Step 5: Selecting memory for the VM.

This is a very critical step. If you over-allocate memory the VM setup will fail.

  • I selected the maximum available at the time on my machine (3584 MB) and failed to setup the VM first time. I had to reduce it down to 2048 MB (2 GB). Mind you I have a system with 8GB of memory installed.
  • A good indication of free memory can be had by running Activity Monitor on OSX or Task Manager if you are doing it on Windows host system. Rebooting the system before starting might give you some more memory. But remember if you don’t have that much memory later when you try to start the VM, Virtual Box will simply Pause the VM load unless it has the allocated memory (+some more) to play with.
  • Below screenshots show how to check free memory in your system currently

image

Above image of Task Manager shows 932Mb free on this Win7 System.

image

Above image from the Activity Monitor in OSX shows free memory available = 516 MB

The example values are very less because I am running two VMs at the moment, but point to note is you need to make a guess of Memory to allocate to the VM based on the above Free Memory available values. So if you see 2.0 GB free then assign about 1.5 GB. Hope this update helps people who are facing setup issues.

Step 6. Create a New Hard Disk

Step 7.  Select type of Image

I selected VDI.

Step 8. Selecting Storage Type

Keep it Dynamically Allocated unless you want to block off a
portion of your HDD to start off with.

Step 9. Specify the VM file location and Size.

20GB is default and it worked for me. My installation left
about 6 GB of the 20 GB left

Step 10. Finish VM Setup

Click Create.

Step 11. Win 8 Installations

Now Click on Start

Step 12. Select source ISO file

Here point it to the iso file you downloaded

Step 13. Fun times begin

Notes:

  • Windows installation will start with the usual wizard interface that you can easily step through.
  • One thing to remember, when it reboots the first time around the ISO will be loaded and you will get a prompt to ‘Press Any Key to Boot from CD/DVD”. DO NOT press any key. Wait for it to boot from the
    virtual HDD. If you press any key by mistake, the installation process will start again. Just cancel out and agree to rebooting the system.
  • I counted 3 reboots. May/may not vary for you.
  • I was able to log in to system using my Hotmail account.
  • Give it a couple of minutes to connect and get all details and also do initial tile setup.
  • 2 GB of memory doesn’t make it a spiffy system.

UPDATE: Some folks have had a hard time in-spite of the tutorial, so that got me thinking and I realized that between the setup failing for me the first time around (that I attributed to lack of memory above) and me getting it working, I also did some configuration changes to the VM that are different from the default shown in Step 10: So here are the final settings that work for me (click to expand). Notice I have enabled Acceleration, given it both the CPU cores to play with (default is 1 only) and given it a healthy dose of Graphics memory. For your system, keep an eye for the Green Line for each setting, don’t stretch beyond the green line in any of the settings. Again, virtualization is tough job simply because of the sheer number of h/w software combinations possible. So if it’s not working for you, sorry to hear that.

VBFinalSettings

UPDATE 2: I just noted on twitter today this site had a very pointed solution to Virtual Box issues on Win 7 http://www.kombitz.com/2011/09/16/status-0xc000025-error-when-installing-windows-8-developer-preview-on-virtualbox/

You can try the above if you are facing the same issue.

Advertisements
Tagged , , , , , , ,

16 thoughts on “Setup Windows 8 Developer Preview as a VM on VirtualBox running on OSX 10.6 (Snow Leopard)

  1. Thanks for this — It’s installing here (Win7 64 host) happily.

  2. Have you started playing with the developer tools?

  3. My 4 GB MB Pro hobbles along with the 2GB VM. Will try to reduce it. Though I am still to figure out a way to move between the tiles.

  4. Chris Kluzak says:

    Thanks for the guide, first time I tried to set it up I set it as Windows Other and it didn’t work.

    • Sumit says:

      Hello Chris, glad the post helped you out.
      Do let us know if you are getting any BSOD on VirtualBox. So far I haven’t done anything critical to cause it to BSOD but I am hearing it’s not stable on VirtualBox

  5. Adam Bradley says:

    Kernel panic on OSX host (64 bit version, might try 32 bit)

    • Sumit says:

      Hello Adam, were you able to work around the Kernel panic issue? Do share if possible.

      VMWare usually makes OSX incapable of rebooting (need to hot power off), but I never have actually seen Kernel panic error in the limited time I have been using the Mac.

      Thanks,
      Sumit.

  6. Stratos says:

    Thanks for the guide, like the guy above I chose other and failed.

  7. Thank you very much for the very good tutorial!!!
    Best regards from Germany
    Stefan

  8. disel says:

    hi m8.
    i’m try to install this but not work:( hi say error need to restart whot to do??

  9. Virtual Box seems to have more success loading the Windows 8 image than either VMWare’s or Microsoft’s offerings. So, grab a Virtual Box if you haven’t already (why not? It’s free!) and create a new system, using “Other Windows” as the OS type. I don’t know what the minimum required specs are for Windows 8, but I gave the VM 4096Mb of RAM and 60Gb hard drive, which should be plenty. Choose to create a new start-up hard disk using the VDI file format. (More detailed instructions on these steps can be found at http://www.hypervhd.com/hyper-v-install-and-upgrade-f24/install-windows-8-in-vbox-t1726.html

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: