Review Index:

Installing Windows 8 Consumer Preview In A VirtualBox Virtual Machine

Author: Tim Verry
Subject: General Tech
Manufacturer: Microsoft

Step 1: Setting Up New Virtual Machine

This page details how to set up a new virtual machine which we will use on the next page of the guide to install the Windows 8 Consumer Preview on to. If you are familiar with the setup process, you can safely skip this step; however, I encourage you to take a look at the end of this page for any recommended tweaks.

A.) Open up the VirtualBox Application

If you have not already, start up the VirtualBox application. You will then be presented with the following window and GUI (graphical user interface), as shown in the image below.

View Full Size

The VirtualBox interface is fairly straightforward with the important bits well highlighted. On the left, there is a list of all the current virtual machines and on the right is a preview window showing the current state and some of the settings. Above these two sections are buttons titled "New, Settings, Show, and Discard" that are used to interact with the VMs in the list.

The button we want is the "New" button which has a blue sun icon. Click on that to bring up the New Virtual Machine wizard.

B.) Create The New Virtual Machine

The wizard that pops up in a new window will then run you through the steps needed to get a virtualized hardware setup together and ready for an operating system.  The guide itself is fairly easy to follow, but for the uninitiated's sake let's run through the process together and make things as easy as possible.  The first window is just basic "welcome to" information.  Go ahead and click the Next button in the lower right of the wizard's window to get started.

The next screen you are presented with asks you to name the machine and identify which OS you intend to install on it.  You can name it anything you want; however, if the name includes Windows 8 in it, the wizard will automatically select Windows 8 as the OS type and version.  Fill this information in and hit Next.

View Full Size

Entering in the correct OS type will enter the recommend minimum settings into the appropriate areas. Depending on the amount of resources you have available, you may want to dial up these settings from the default but it presents a good starting point nonetheless. Fill the name and OS type information and hit Next.

You will then be presented with a new screen asking for the amount of RAM you want to allocate to the Virtual machine. If you have more than 4 GBs in your system, attempt to allocate approximately 4096 MB of RAM, or about half of your system's total, whichever is greater. This will give your virtualized operating system a good amount of RAM to work with without depriving the host OS of memory. The default amount of 512 MB will allow you to run Windows 8 Consumer Preview but your performance will be rather limited.

View Full Size

The final major step in getting the new virtual machine set up is allocating a portion of your physical hard drive to a virtual hard drive where the operating system will be installed on. While it will be a single file when viewed on the host OS, to the virtual machine it is a full on hard drive that can have multiple partitions. If you do not have or want to use an existing virtual hard drive, you will need to create one. (The process for doing so will be covered below.) In addition to the file type, they also offer you the choice of dynamically allocated or fixed size storage allotments. In theory, the fixed size option will give you better performance; however, the tradeoff is that it takes longer upfront to create and will take up the full amount of allocated storage. The dynamic allocation, on the other hand, is quicker to create and will only take up as much space as the virtual machine actually uses. Performance may take a small hit, but real world usage should not be affected too much.  If you have the extra storage space, go with the static allotment, but otherwise dynamic will be okay.

View Full Size

Before the wizard can finish setting up the new VM, you need to assign it a hard drive. To create a new drive, ensure the "Create new hard disk" radio button is selected and hit Next. This will open up the New Virtual Disk wizard. In the first screen, you can select the file / virtual disk type including VDI, VHD, and HDD. Some of these file types are less transferable to other VM software than others, but if you only intend to use this VM in VirtualBox, the default VDI file type will work fine. Hit next once you've chosen the file type.

You will then need to choose between dynamic and static allocation, as covered above. Hit next to continue.

The next step will require you to choose a location for the virtual hard disk on your physical hard drive and to determine the amount of storage you want to allocate to it. VirtualBox recommends 20 GB; however, you can go as low as 10 GB if you just want to check out Windows 8 and a few applications if storage space is scarce. The location doesn't matter that much in the overall scheme of things. Just be sure you install it on the physical hard drive of choice if you are on a multi-drive system as it defaults to the C:\ drive. Installing to an SSD or the outer partition of a mechanical hard drive will give you better performance but, again, real world performance will still be useable despite these considerations.

View Full Size

VirtualBox will then present you with a summary of the information you entered. Verify that it is correct, and then click the "Create" button.

You will then be taken to another summary window for the VM as a whole. Verify the information and then continue. The wizard window will then close and the new virtual machine will appear in the list on the main application window.

C.) Tweak the Virtual Machine and Mount the ISO

There are just a few steps left before you can get to playing around with Windows 8. Before you boot up the new virtual machine, you should tweak it for the best performance. You will also need to tell it where you saved the Windows 8 ISO you downloaded earlier so that i can boot from it.

My system configuration is available here for reference and represents a typical gaming computer. With 8 GBs of RAM, I am able to use the x64 version of Windows 8 and allocate 4 GB of RAM to the virtual machine without slowing things down. You're system will vary and you will need to adjust your settings accordingly. For example, if you have a quad core processor, you should at most allocate half of the cores to the VM. Further, if your CPU supports hyper-threading you can include those 'virtual cores' in that number. The screen shots below show my tweaks to achieve optimal performance. Any other settings have been left at the defaults. They should give you a good starting point for getting the best performance out of the virtual machine.

To access the settings menu, find the VM you created in the list, and right click it. Choose "Settings" and you will be presented with a new window. On the left is a list of categories. Click on "System" on the left and then the "Motherboard" settings tab. On the new page, uncheck the floppy drive check box, and select the ICH9 chipset from the dropdown box. Then navigate to the "Processor" tab and allocate half of the number of physical cores your computer actually has. In my case, that means allocating 4 cores of the total 8 (4 physical, 4 virtual/HT). Also on that tab, ensure that PAE/NX is selected.

View Full Size

Finally, open the "Display" category and allocate as much video memory as the slider will allow, or half of the total amount of physical RAM your system has (whichever is higher). Then, check both the 2D and 3D acceleration check boxes (if possible). This will help to speed up the Windows desktop, which uses hardware acceleration to smooth things out.

View Full Size

Last up is configuring the ISO. This is accomplished by navigating to the "Storage" category in the settings window of the virtual machine. Then, click on the IDE controller, and then the small CD with green "+" symbol to add a new CD/DVD drive. Next, on the far right, click on the other CD symbol and choose the "Choose a virtual CD/DVD disk file..." option. Now, navigate to and select the Windows 8 CP ISO file you downloaded earlier. Hit enter. Then Choose OK on the main settings window to save your changes.

This page may look complicated but don't fret, it is easier than it looks and is the most difficult part of the guide. If you've gotten this far, the rest will be a breeze. The following page will show you the actual Windows 8 Consumer Preview installation process. Verify you followed all the directions on this page, and then jump into the Windows install on page 3!


March 6, 2012 | 06:32 AM - Posted by Tim Verry

As in, it's not seeing a hard drive to install it on? You'll need to power off the machine (close the VM window and it will prompt you, choose to power off), then go into the settings and make sure you have a hard drive attached in the Storage tab. Is there a hard drive attached? Let me know :)

March 15, 2012 | 11:25 AM - Posted by Anonymous (not verified)

If you have Windows 7, a better option would be to boot from a VHD with Win8 installed to it. It will give you a better idea of its performance and usability as it uses the physical hardware instead.

May 12, 2012 | 03:35 AM - Posted by Tim Verry

That's an interesting solution, I didn't know about that little Windows 7 feature. Thanks for sharing :).

March 22, 2012 | 08:42 PM - Posted by Rob (not verified)

No matter what I do, I can't assign more than 1250 MB to Win8 in VirtualBox - Any ideas? I have a 64 bit Windows7 on i7-2630QM CPU - it has 4 CPU's (8 total, but half are virual) and 6 GB ram. \\Any help appreciated!


May 12, 2012 | 03:31 AM - Posted by Tim Verry

Hmm strange, what version of VB are you running?

June 26, 2012 | 03:37 PM - Posted by Anonymous (not verified)

Failed to open the CD/DVD image C:\Users\me\Downloads\Windows8-ReleasePreview-64bit-English.iso.

Could not get the storage format of the medium 'C:\Users\me\Downloads\Windows8-ReleasePreview-64bit-English.iso' (VERR_NOT_SUPPORTED).

Result Code: VBOX_E_IPRT_ERROR (0x80BB0005)
Component: Medium
Interface: IMedium {53f9cc0c-e0fd-40a5-a404-a7a5272082cd}
Callee: IVirtualBox {c28be65f-1a8f-43b4-81f1-eb60cb516e66}

it wont allow my windows 8 IDE controller please help i really like the article by the way

June 29, 2012 | 04:29 AM - Posted by Tim Verry

hmm, does the IDE controller show up as installed correctly in your Windows Device Manager? What version of VirtualBox are you using? It seems like there are quite a few users with that error. If you have another drive, you might try putting the .iso on that. When exactly does it give you that error message?

February 2, 2013 | 12:30 AM - Posted by Thomas Sisson (not verified)

I have the same issue on Linux Ubuntu 12.10 using Oracle VirtualBox 4.2.6 which is the latest version. Microsoft does not give the MD5 string for the ISO, but I can mount the image and view the contents. It seems that all of the files are there. It is a UDF which I understand to be a subtype of disk image. I have heard that there are issues when opening that type of image. I am just conjecturing at this point and recalling what I have seen on the web. I would recommend anyone wishing to test drive Windows 8 before purchasing the full blown version, search for help on the Microsoft website.

For me, actually running Windows 8 is not a priority. I only wanted to actually try to run it. I'm sure I will see it soon enough at a computer lab somewhere.

September 21, 2012 | 05:10 AM - Posted by WIDW (not verified)

This is a good post. I wanted to install Windows 8 on my Windows 7 using a Virtual system (vmware or similar) and found a way. I saw a good article about "Install Windows 8 on VirtualBox -" and tried. It worked and still testing the OS.

Windows 8 has a nice interface but it will take some time for me to get familiar. When I start using Windows 8 over virtualbox I get confuse suddenly and searching for the START Button. Gosh there is no Start button anymore :(.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote><p><br>
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.