Installing/running Windows 8 Developer Preview in Virtual Box

Microsoft just released Windows 8 Developer Preview (also known in some circles as “Milestone 3”).  So I thought I’d give it a spin in Virtual Box.  Unfortunately, the default settings for Virtual Box didn’t work quite right.  Initially, I was getting error code 0xc0000225 during the installation start up.  Then, after getting the OS installed, networking did not work.  Here’s what I did to get things going with the x64 versions of Windows 8 guest using Virtual Box version 4.1.2 (the latest at the time of writing).

Boot errors (error code 0xc0000225)

In the System settings section for the Virtual Box VM, enable (check) Enable IO APIC on the Motherboard tab and Enable PAE/NX on the Processor tab.

Network adapter not detected

In the Network settings section, select the appropriate adapter tab (usually Adapter 1).  Then click on Advanced arrow to expand/display the additional options.  Select Intel PRO/1000 MT Desktop (82540EM) from the Adapter drop-down list.  The Windows 8 guest OS will auto-detect this hardware and install the appropriate driver.

Install Virtual Box extensions in Windows 8 guest

With the Windows 8 guest OS running (of course!), select Devices | Install Guest Additions… from the menu on the VM window, as usual.  When prompted about whether or not to auto-run the installer, choose to open the files in Windows Explorer.  Then open a Command Prompt (I had to launch Task Manager, choose More details option, then select File | New Task (Run…) from the menu and enter CMD in the dialog prompt.) and navigate to the Guest Additions drive (probably D:\) at the Command Prompt.  At the Command Prompt, run this command:

VBoxWindowsAdditions-amd64.exe /force

This forces the installation of the Guest Additions, which would otherwise fail because of invalid version check.

Advertisements

9 thoughts on “Installing/running Windows 8 Developer Preview in Virtual Box

  1. Good call on Network settings, saved me some guesswork.

    Mine aborts Virtualbox Guest Additions 4.0.10 “can’t install files for Windows 2000/XP/Vista” even with the /force option and running Program Compatibility Troubleshooter on every setting.

  2. I have tried to install the Guest Additions the way it described but it still gives me the same error during installation about half way: “ERROR (e000022d): Unknown error!” and “ERROR: Could not install files for Windows 2000 / XP / Vista! Installation aborted.”
    Any ideas?

  3. Very helpful, especially the note on which NIC to use.

    FYI, I had tried the Win7 compatibility mode on the guest additions installer under Win8 x86, and it doesn’t work (note, I selected the other installer for x86 of guest additions). But it does work under Win8 x64. My host system is Win7 x64 btw.

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