VirtualBox - Install Windows 8

How to Install Windows 8 and 8.1 in VirtualBox

information   Information
This will show you how to install either the 32-bit (x86) or 64-bit (x64) version of Windows 8 and 8.1 in the free program VirtualBox.

For FAQs and more information about VirtualBox, see: End-user_documentation - VirtualBox

Note   Note
In order to run VirtualBox on your machine, you need:
  • Reasonably powerful x86 hardware. Any recent Intel or AMD processor should do.
  • Memory. Depending on what guest operating systems you want to run, you will need at least 512 MB of RAM (but probably more, and the more the better). Basically, you will need whatever your host operating system needs to run comfortably, plus the amount that the guest operating system needs. So, if you want to run Windows XP on Windows XP, you probably won't enjoy the experience much with less than 1 GB of RAM. If you want to try out Windows Vista in a guest, it will refuse to install if it is given less than 512 MB RAM, so you'll need that for the guest alone, plus the memory your operating system normally needs.
  • Hard disk space. While VirtualBox itself is very lean (a typical installation will only need about 30 MB of hard disk space), the virtual machines will require fairly huge files on disk to represent their own hard disk storage. So, to install Windows XP, for example, you will need a file that will easily grow to several GB in size.
  • A supported host operating system (your computer). Presently, VirtualBox supports Windows (XP and later), many Linux distributions, Mac OS X, Solaris and OpenSolaris.
  • A supported guest operating system (virtual machine). Besides the user manual (see below), up-to-date information is available at "Status: Guest OSes".

warning   Warning
64-bit guests Requirements:
VirtualBox supports 64-bit guest (virtual machine) operating systems, even on 32-bit host (your computer) operating systems, provided that the following conditions below are met. See page 166 in manual.
  • You need a 64-bit processor (CPU) with hardware virtualization support.
  • You must enable hardware virtualization in your motherboard's BIOS settings.
  • If you want to use 64-bit guest support on a 32-bit host operating system, you must also select a 64-bit operating system for the particular VM. Since supporting 64 bits on 32-bit hosts incurs additional overhead, VirtualBox only enables this support upon explicit request.
On 64-bit hosts (which typically come with hardware virtualization support), 64-bit guest operating systems are always supported regardless of settings, so you can simply install a 64-bit operating system in the guest.



Here's How:

1. If you have not already, then you will need the 32-bit or 64-bit Windows 8 or 8.1 ISO file version you want, and save it to your desktop (ex: Windows 7 or Vista).

2. If you have not already, download and install the latest version of VirtualBox (Windows hosts), download and install the VM VirtualBox Extension Pack (All platforms), then run VirtualBox. (see screenshot below)
VB.jpg

3. In the left side of the toolbar, click/tap on the New button. (see screenshot below)
VB-1.jpg

4. Click/tap on Next. (see screenshot below)
VB-2.jpg

5. Type in a name (ex: Windows 8) for the virtual machine, select Windows 8/8.1 if have a 32-bit ISO (step 1) or Windows 8/8.1 (64-bit) if you have a 64-bit ISO, then click/tap on Next. (see screenshots below)
VB-3A.jpgVB-3B.jpg

6. Select or type in how much of your computer's RAM (1024MB = 1GB) you would like for the virtual machine to use when it's running, then click/tap on Next. (see screenshot below)
NOTE: I would recommend to use at minimum 1GB. Ideally, 3GB for 32-bit and 4GB for 64-bit would be the sweet spot if you have plenty of RAM (ex: 8GB+) installed on your computer and can spare it to be used by the virtual machine.
VB-4.jpg

7. Click/tap on Next. (see screenshot below)
VB-5.jpg

8. Select (dot) VHD, and click/tap on Next. (see screenshot below)
VB-6.jpg

9. Select (dot) Dynamically allocated, and click/tap on Next. (see screenshot below)
NOTE: You could use either fixed or dynamic, but I would recommend using dynamic to help save HDD space.
VB-7.jpg

10. Select how large you would like the VHD file to be, and click/tap on Next. (see screenshot below)
NOTE: The default size is 20 GB, and is fine if you are not going to be installing a lot on the virtual machine. For 64-bit, you might use 25 GB instead since 64-bit uses a bit more space.
VB-8.jpg

11. Click/tap on Create. (see screenshot below)
Vb-9.jpg

12. Click/tap on Create. (see screenshot below)
VB-10.jpg

13. In the left pane, double click/tap on the new virtual machine (ex: Windows 8). (see screenshot below)
VB-11.jpg

14. Click/tap on Next. (see screenshot below)
VB-12.jpg

15. Click/tap on the browse folder icon, select the downloaded ISO from step 1, click/tap on Open, and click/tap on Next. (see screenshots below)
VB-13A.jpgVB-13B.jpg

16. Click/tap on Start. (see screenshot below)
VB-14.jpg

17. Now, you will just need to finish installing Windows 8. (see screenshot below)
VB-15.jpg

18. When you are finished installing Windows 8, click/tap on Devices on the VirtualBox menu bar, and Install Guest Additions. (see screenshot below)
Guest_Additions-1.jpg

19. When the new CD drive notification pops-up at the top right corner, click/tap on it to open AutoPlay. (see screenshot below)
Guest_Additions-2.jpg

20. Click/tap on the Run VBoxWindowsAdditions.exe option. (see screenshot below)
Guest_Additions-3.jpg

21. If prompted by UAC, then click/tap on Yes. (see screenshot below)
Guest_Additions-4A.jpg

22. Run the VBoxWindowsAdditions-amd64.exe (64-bit) or VBoxWindowsAdditions-x86.exe (32-bit) file that you selected in step 21 that is the same as the 32-bit or 64-bit Windows 8 ISO you are using, then click/tap on Next. (see screenshot below)
Guest_Additions-4.jpg

23. Click/tap on Next. (see screenshot below)
Guest_Additions-5.jpg

24. Click/tap on Install. (see screenshot below)
Guest_Additions-6.jpg

25. When prompted twice, click/tap on Install each time. (see screenshot below)
Guest_Additions-4B.jpg

26. When finished, select (dot) Reboot now, and click/tap on Finish. (see screenshot below)
Guest_Additions-7.jpg


That's it,
Shawn


 

Attachments

  • VirtualBox.png
    VirtualBox.png
    17.5 KB · Views: 411
Last edited:
I have VirtualBox installed in a Windows XP 32bit OS machine with a 32bit CPU (old Pentium 4). Can I install Windows 8 (32bit) in the Virtual Box? Thanks

Hello Antares, and welcome to Eight Forums.

Yes, you should be able to. :)

Don't forget Shawn that there is a problem with guest additions with W8CP 32-bt in Virtualbox so it won't run very well.

The reason for my post is that I was unable to install it, the installation halts with a frozen screen right from the start (a fish inside a pond with bubbles) and after a while a BSOD shows up with the following message:

Windows Recovery Environment
Your PC needs to be repaired
An unexpected error has occurred.
Error code: Oxc0000260
You'll need to use the recover/ tools on your installation media. If you don't have any installation media (like a disc or USB device), contact your system administrator or PC manufacturer.
Press Enter to try again
Press F8 for alternate boot options


If I press ENTER or F8 it won't do anything, just show the same BSOD.
 
Last edited:

My Computer

System One

  • OS
    Windows 8.1x64 Pro
    Computer type
    PC/Desktop
    System Manufacturer/Model
    self made
    CPU
    Intel Core i7 6700K
    Motherboard
    Asus Z170-A
    Memory
    Corsair Vengeance LPX 32GB (4 x 8GB) DDR4 2400MHz
    Graphics Card(s)
    Intel HD Graphics 530
    Sound Card
    Onboard Realtek HD
    Monitor(s) Displays
    LG 23EA53 23" LED IPS
    Screen Resolution
    1920x1080 32bit
    Hard Drives
    Samsung 256GB 830 Series SSD main+HGST 4TB 7200RPM as 2nd internal
    PSU
    Thermaltake Toughpower Grand 850W TPG-850M
    Case
    Corsair Obsidian 650DW-1 Midtower
    Cooling
    Noctua NH-D14
    Keyboard
    Logitech K800
    Mouse
    Logitech M510
    Antivirus
    NIS2014
That seems to be a Windows 8 installer special. I had this problem too - both when trying to install in vBox and also when I used a partition. But after a few tries the fish unfroze.
 

My Computer

System One

  • OS
    Vista and Win7
    System Manufacturer/Model
    2xHP, 2xGateway, 1xDell, 1xSony
    Hard Drives
    5 SSDs and 12 HDs
Here is an interesting WEI comparison of Win8 in Virtual Box and Win7 native

2012-03-02_1802.png




2012-03-02_2140.png
 

My Computer

System One

  • OS
    Vista and Win7
    System Manufacturer/Model
    2xHP, 2xGateway, 1xDell, 1xSony
    Hard Drives
    5 SSDs and 12 HDs
The ones in the red frames are only warnings - no error messages. I got those too but my system works perfectly.

The blue stuff is a bit more serious. There was apparently a problem with your virtual machine. How much RAM and dynamic disk space did you give it. I gave mine 3GB of RAM and 25GB disk space - would have liked more but my 60GB SSD has only so much room.
 

My Computer

System One

  • OS
    Vista and Win7
    System Manufacturer/Model
    2xHP, 2xGateway, 1xDell, 1xSony
    Hard Drives
    5 SSDs and 12 HDs
The ones in the red frames are only warnings - no error messages. I got those too but my system works perfectly.

The blue stuff is a bit more serious. There was apparently a problem with your virtual machine. How much RAM and dynamic disk space did you give it. I gave mine 3GB of RAM and 25GB disk space - would have liked more but my 60GB SSD has only so much room.

I gave it 2GB of RAM with my system running 4GB even though my system actually has 8GB :(. I allocated 40GB of disk space.
 

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    PC/Desktop
    CPU
    i5 2500k
    Memory
    2x4GB 1333hz
    Graphics Card(s)
    Radeon 6770
    Screen Resolution
    1920x1080
    Hard Drives
    2x500GB
So are you up and running now or are you still stuck. I am not sure how to interpret your "Edit" in your previous post.
 

My Computer

System One

  • OS
    Vista and Win7
    System Manufacturer/Model
    2xHP, 2xGateway, 1xDell, 1xSony
    Hard Drives
    5 SSDs and 12 HDs
Yes it is running since when I edited the post linking the solution.
 

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    PC/Desktop
    CPU
    i5 2500k
    Memory
    2x4GB 1333hz
    Graphics Card(s)
    Radeon 6770
    Screen Resolution
    1920x1080
    Hard Drives
    2x500GB
thanks shawn, i'm a complete virtualisation virgin, so it's good to see that you are carrying on your tradition of excellence with this new OS!

now it's time to play with this puppy...
 

My Computer

System One

  • OS
    windows 9
    System Manufacturer/Model
    mickey pc
    CPU
    intel i9
    Motherboard
    yes
    Memory
    erm...
    Graphics Card(s)
    pff - so 20th century
    Sound Card
    it's quite sound. yes
    Monitor(s) Displays
    Varanus albigularis
    Screen Resolution
    1x1 - lots of scrolling required
    Hard Drives
    are ssd's hard?
    PSU
    power to the people!
    Case
    nut
    Cooling
    not half
    Keyboard
    steinway
    Mouse
    mickey
    Internet Speed
    snort
    Other Info
    1+1=2
Have fun Mickey. :)
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
Update:

I had no issues installing the latest VirtualBox 4.1.10 guest additions with the 32-bit and 64-bit Windows 8 Consumer Preview on a 64-bit Windows 7 with default settings. :)
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G7 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
I had a problem. It automatically installed the experimental 3D WDDM driver which cause my VM to to freeze before the logon screen. The 3D driver was autochecked and greyed so I could not deselect it. The workaround was, immediately after the install before the reboot, to go into device manager and uninstall the WDDM driver.
 

My Computer

System One

  • OS
    Windows 7 x64 SP1 Home Premium/Win 8.1 in VBox
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Hewlett-Packard/G62 Notebook
    CPU
    Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
    Motherboard
    Hewlett-Packard 1425
    Memory
    8 GB DDR3
    Graphics Card(s)
    Intel(R) HD Graphics
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Builtin
    Screen Resolution
    1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
    Hard Drives
    250 GB SATA Hard Disk Drive 7200 rpm
    2TB Seagate GoFlex USB 2 Drive
    1TB Iomega Prestige USB 2 Drive
    1.5TB Iomega Prestige USB 2 Drive (Samsung)
    1TB Iomega NAS.
    Mouse
    Microsoft Bluetooth Notebook Mouse 5000
    Internet Speed
    20Mb/sec
I had problems with the latest VirtualBox 4.1.10 guest additions. They just did not install. But since my vBox works flawlessly, I did not persue it.
 

My Computer

System One

  • OS
    Vista and Win7
    System Manufacturer/Model
    2xHP, 2xGateway, 1xDell, 1xSony
    Hard Drives
    5 SSDs and 12 HDs
I had a problem. It automatically installed the experimental 3D WDDM driver which cause my VM to to freeze before the logon screen. The 3D driver was autochecked and greyed so I could not deselect it. The workaround was, immediately after the install before the reboot, to go into device manager and uninstall the WDDM driver.

In the VirtualBox Forum, Win 8 thread. Several people have had this problem and the devs are working on it.
 

My Computer

System One

  • OS
    Windows 7 x64 SP1 Home Premium/Win 8.1 in VBox
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Hewlett-Packard/G62 Notebook
    CPU
    Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
    Motherboard
    Hewlett-Packard 1425
    Memory
    8 GB DDR3
    Graphics Card(s)
    Intel(R) HD Graphics
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Builtin
    Screen Resolution
    1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
    Hard Drives
    250 GB SATA Hard Disk Drive 7200 rpm
    2TB Seagate GoFlex USB 2 Drive
    1TB Iomega Prestige USB 2 Drive
    1.5TB Iomega Prestige USB 2 Drive (Samsung)
    1TB Iomega NAS.
    Mouse
    Microsoft Bluetooth Notebook Mouse 5000
    Internet Speed
    20Mb/sec
When we run Windows 8 CP via VirtualBox and after some time we want to shut them down, we must shut down Windows 8 first and then close the virtualbox or just the Virtualbox?
 

My Computer

System One

  • OS
    Windows 8
Shut down Windows 8 just as you would if it were on a real PC otherwise you could have problems with Windows 8.
 

My Computer

System One

  • OS
    Windows 7 x64 SP1 Home Premium/Win 8.1 in VBox
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Hewlett-Packard/G62 Notebook
    CPU
    Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
    Motherboard
    Hewlett-Packard 1425
    Memory
    8 GB DDR3
    Graphics Card(s)
    Intel(R) HD Graphics
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Builtin
    Screen Resolution
    1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
    Hard Drives
    250 GB SATA Hard Disk Drive 7200 rpm
    2TB Seagate GoFlex USB 2 Drive
    1TB Iomega Prestige USB 2 Drive
    1.5TB Iomega Prestige USB 2 Drive (Samsung)
    1TB Iomega NAS.
    Mouse
    Microsoft Bluetooth Notebook Mouse 5000
    Internet Speed
    20Mb/sec
The vBox window you can shut down as soon as Windows is launched. It is only needed for start.
 

My Computer

System One

  • OS
    Vista and Win7
    System Manufacturer/Model
    2xHP, 2xGateway, 1xDell, 1xSony
    Hard Drives
    5 SSDs and 12 HDs
but you should not manually shut down the guest window. You should shut down Windows 8 which will then close that window..
 

My Computer

System One

  • OS
    Windows 7 x64 SP1 Home Premium/Win 8.1 in VBox
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Hewlett-Packard/G62 Notebook
    CPU
    Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
    Motherboard
    Hewlett-Packard 1425
    Memory
    8 GB DDR3
    Graphics Card(s)
    Intel(R) HD Graphics
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Builtin
    Screen Resolution
    1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
    Hard Drives
    250 GB SATA Hard Disk Drive 7200 rpm
    2TB Seagate GoFlex USB 2 Drive
    1TB Iomega Prestige USB 2 Drive
    1.5TB Iomega Prestige USB 2 Drive (Samsung)
    1TB Iomega NAS.
    Mouse
    Microsoft Bluetooth Notebook Mouse 5000
    Internet Speed
    20Mb/sec
Back
Top