- Install Ansible on Windows - Thu, Jul 20 2023
- Use Azure Bastion as a jump host for RDP and SSH - Tue, Apr 18 2023
- Azure Virtual Desktop: Getting started - Fri, Apr 14 2023
Although Microsoft is targeting their Developer Preview release of Windows 8 for application developers, we Windows systems administrators would do well do download the bits in order to “kick the tires” with the new Metro style user interface (UI) and observe what other plumbing changes Microsoft made to the next generation of Windows.
What’s most interesting about Windows 8 to me is that Microsoft appears to be seeking a “grand unified theory” with respect to a desktop operating system. In other words, the Windows 8 experience on a desktop and a tablet device will be exactly the same.
In this post I will walk you through the step-by-step procedure for getting the Windows 8 Developer Preview up and running in a virtual machine. I selected the free Oracle VirtualBox desktop virtualization software (a) because it works; and (b) it is free.
Let’s get to work!
Determining Prerequisites
Your two guiding principles if you are considering installing Windows 8 Developer Preview (hereafter referred to as “DP”) in a virtual environment are:
- Your host computer must support hardware-assisted virtualization (HAV)
- Your host computer must exceed the minimum system requirements for Windows 8 DP
You can download and run the Microsoft Hardware-Assisted Virtualization Detection Tool as a quick way to determine whether your proposed host system supports HAV.
Microsoft Hardware-Assisted Virtualization Detection Tool
The reason why your host (hardware) computer must exceed the system requirements for the Windows 8 DP is, of course, because you need to allocate at least the minimum specs to the virtual machine itself. Here are the latest minimum system requirements, directly from Microsoft:
- 1 gigahertz (GHz) or faster 32-bit (x86) or 64-bit (x64) processor
- 1 gigabyte (GB) RAM (32-bit) or 2 GB RAM (64-bit)
- 16 GB available hard disk space (32-bit) or 20 GB (64-bit)
- DirectX 9 graphics device with WDDM 1.0 or higher driver
- Taking advantage of touch input requires a screen that supports multi-touch
- To run Metro style Apps, you need a screen resolution of 1024 X 768 or greater
Obtaining the Bits
To get this party started, we need to download the Windows 8 DP and VirtualBox. You can download Windows 8 DP free of charge from the Windows Dev Center. Note that the download comes in three versions:
- Windows 8 + Developer Tools -64 bit (4.8 GB)
- Windows 8 Only – 64 bit (3.6 GB)
- Windows 8 Only – 32 bit (2.8 GB)
Downloading the Windows 8 Developer Preview
Next, you should hit up the Oracle VirtualBox site to download the latest version of VirtualBox. In order to support Windows 8 DP, you will need at least version 4 of this software.
Downloading VirtualBox
Setting Up VirtualBox
Once you install VirtualBox, fire up the application and click New from the main toolbar.
Creating a new virtual machine
In the VM Name and OS Type dialog box, select Windows 2008 (64 bit) as the operating system type. You could probably get away with selecting Windows 7 (64 bit), but I’ve had great luck specifying Windows Server 2008 (as always, your mileage may vary, etc.)
Selecting a guest OS
In the Memory dialog box, provide a value between 1024 MB and 2048 MB. Because Windows 8 is optimized for installation on tablet devices, I don’t see your needing to allocate more than 2 GB of RAM to the virtual machine.
Allocating RAM
Next, step through the virtual disk creation wizard, accepting all defaults. Again, Windows 8 running on a tablet device isn’t going to need triple-digit gigabytes worth of persistent storage.
Creating the virtual hard disk
Once the virtual machine has been created, click Settings on the main toolbar.
Configuring the VM settings
In System > Motherboard, ensure that IO APIC is enabled.
TROUBLESHOOTING TIP: If you have difficulty booting Windows 8, try changing the Chipset value from PIIX3 to ICH9.
Setting motherboard options
In System > Processor, ensure that Enable PAE/NX is is turned on.
Setting processor options
In System > Acceleration, ensure that both hardware virtualization options are enabled. You may also need to enable HAV in the virtual machine BIOS.
Enabling hardware-assisted virtualization
In Display > Video, select Enable 3D Acceleration.
Enabling 3D acceleration
In Storage, select the virtual optical drive and browse to the Windows 8 DP ISO image that you downloaded from the Microsoft Web site.
Mounting the Windows 8 DVD image
If you want your Windows 8 virtual machine to access the Internet (and I cannot for the life of me see why you would not want to do this), make sure you have networking enabled in Network > Adapter 1. The default option, NAT, is fine.
Enabling Internet access
Alrighty then! We are now ready to install Windows 8 DP!
Installing Windows 8
Configure the virtual machine to boot from the virtual optical drive. If the boot is successful, you will see the traditional Install Windows dialog box.
Windows 8 Installer
You know the drill—click Install Now.
Windows 8 installer
Accept those license terms and then click Next.
Accepting the Windows 8 licensing terms
We are performing a clean installation, so double-click Custom (advanced).
Choosing an installation type
Specify our virtual hard disk as the installation location and then click Next to continue.
Choosing an installation location
Now we can sit back, wait, and cross our fingers! (Just kidding.)
Windows 8 installation process
The Windows 8 DP splash screen is about as minimalistic as it gets…
Note the almost tongue-in-cheek tone adopted by Microsoft in their license terms.
The user-friendly license term text
Upon first launch, you are asked to personalize your installation. Provide a hostname for your virtual machine and then click Next.
Providing a hostname
Windows Update works the same way in Windows 8 DP as it does, say, in Windows 7.
Choosing update preferences
Your logon account, at least for the Developer Preview, is actually tied to your Windows Live ID. Who wouldda thunk it? 🙂
INFO: There are other nifty logon options in Windows 8, but we are limiting ourselves to the Windows Live ID type in this article.
Creating a logon account
And voila! Here is the much-anticipated Metro style user interface (UI). Getting around this interface without the benefit of a touch screen interface is (to say the least) a challenge. Therefore, please hit up the following site and master the keyboard-and-mouse navigation techniques:
Windows 8 Developer Preview Keyboard/Mouse Shortcuts
Before we go any further, let’s adjust the screen resolution and install the VirtualBox Guest Additions. From the user tile screen, click Desktop to switch the UI to classic mode.
Windows 8 Metro style UI
The classic mode UI looks a lot like Windows 7, doesn’t it?
Windows 8 classic mode UI
In order to launch the Metro style apps, your virtual machine display resolution must be at least 1024x768. Right-click the classic mode desktop and select Screen resolution from the shortcut menu.
The Screen Resolution Control Panel item in Windows 8 looks just like its Windows 7 counterpart.
Changing display resolution
From the VirtualBox menu, click Devices > Install Guest Additions to mount the Guest Additions disk image.
From the Autorun selector, shown in Figure 29, select Open folder to view files. The reason? We need to adjust the compatibility mode for the Guest Additions installer.
VirtualBox Guest Additions autorun prompt
Right-click your appropriate Guest Additions installer (they come in 32- and 64-bit versions), and select Properties from the shortcut menu.
As a side note, take a moment to play around with the brand-new Ribbon interface in Windows Explorer! What do you think of them apples?
Windows Explorer with ribbon interface
From the Guest Additions installer Properties sheet, navigate to the Compatibility tab and set the installer to run in Windows 7 compatibility mode.
Configuring Windows 7 compatibility mode
Next, install the Guest Additions and reboot. You’re ready to play with Windows 8 now!
Getting Around in Windows 8
You will know that your installation was completely successful if you see the Windows 8 DP lock screen:
Windows 8 lock screen
Drag up from the bottom of the screen with your mouse to see the logon screen.
Logging on to Windows 8
Armed with the previously given mouse and keyboard shortcuts, Windows 8 is now your proverbial oyster. Have fun!
Setting tile options
Conclusion
Assuming that your host computer meets the minimum system requirements, you should have no trouble installing and running Windows 8 DP in a virtual environment using Oracle VirtualBox. I hope that you found this tutorial helpful.
In future installments I will teach you more about how to use Windows 8 to maximum effect, as well as implications for Windows 8 deployment in the enterprise. Thanks for reading and take good care.