Install Windows 10 on Linux with VirtualBox

If you have followed me lately, you probably know that I started a Linux for SysAdmins Series on YouTube. So far, I have worked with Windows 10 and Linux in Dual Boot. So every time I would need a Windows Machine, I would reboot and boot into my Windows 10 Installation. This changes today because we are going to Install Windows 10 on Linux using the free Virtualization Software VirtualBox.

Follow along to learn how to Install Windows 10 on Linux Step-by-Step!

Step 1 – Downloading the Windows 10 ISO File

First things first, we need the Windows 10 ISO File. Open a Web Browser and open the Microsoft Website. Choose the latest Windows 10 Version and choose the Language that suits you. Click on Confirm. Now choose the 64-bit Version and Download the ISO File.

Install Windows 10 on Linux
Download the Windows 10 ISO File

 

Step 2 – Installing VirtualBox

If you use Linux Mint, VirtualBox comes pre-installed. In case it is not, either install through your Software Manager or by opening a Terminal and typing:

sudo apt-get update -y
sudo apt-get install virtualbox -y

Step 3 – Creating a new Virtual Machine

Start VirtualBox. Enter a Name, choose the correct Type and Version and click on Next.

Install Windows 10 on Linux

Memory Size

Allocate at least 4096 MB of RAM to have a smooth experience.

Hard Disk

Select Create a Virtual Hard Disk now. Click on Create.

Hard Disk File Type

Choose VDI (VirtualBox Disk Image)

Storage on Physical Hard Disk

Choose Dynamically allocated

File Location and Size

For Windows 10, depending on your needs, I would at least assign 25GB to it. Because we chose Dynamically Allocated above, the Virtual Hard Disk will only take up as much physical Disk Space as the Windows 10 installation is big. So if your Windows 10 only eats up 18GB, only 18GB will be taken from your Physical Drive, up till a maximum of 25GB, or whatever you choose.

You can choose where you want to store your Virtual Hard Disk by clicking on the Folder.

Install Windows 10 on Linux

 

Step 4 – Adjusting Virtual Machine Settings

Right-Click your VM and select Settings. Navigate to the System / Processor Tab. Assign it 2 CPU’s if you can for a better experience.

Install Windows 10 on Linux

 

OPTIONAL: Navigate to the Network Tab and choose if you want NAT or Bridged or even Internal Network. NAT is a Virtual Network running on your Computer (With Internet Access), Bridged is like the VM is plugged straight into your local Network (With Internet Access obviously) and Internal Network is an Internal Network on your Computer (Without Internet Access).

So choose what suits you best and click on OK.

Install Windows 10 on Linux

 

Step 5 – Starting the Virtual Machine

Select your VM and click Start. It will ask you to provide the Windows 10 Image File you have downloaded earlier. Click on the Folder and select it from your Downloads Directory. Click on Start.

Install Windows 10 on Linux

 

Step 6 – Install Windows 10 on Linux

Now we will run through the Windows Installation. Select the Language and Keyboard Layout and click Next.

Install Windows 10 on Linux
Install Windows 10 on Linux

Click on Install Now. Now, either enter a Product Key if you have one or select I don’t have a product key if you want to enter it later, once it’s completely installed.

Install Windows 10 on Linux

 

Choose for which Windows Version fits the Windows Key you have and click Next.

Install Windows 10 on Linux

Accept the License Terms and click Next.

Now choose Custom: Install Windows only (Advanced). Select the only available Hard Drive and click Next.

Install Windows 10 on Linux

 

The Windows installer will do its job now. You can go and grab a Coffee in the meanwhile, or even better, Donate a Coffee to me!

I leave going through the initial Windows Installer to you. Once you have answered all of Cortana’s annoying questions and you are booted into your System, we are going to continue installing the VirtualBox Guest Additions.

Step 7 – Install VirtualBox Guest Additions on Windows 10

In your VM Window, click on Devices -> Insert Guest Additions CD Image. When prompted to Download it, select Yes and Confirm all following dialogues. Once the Image is inserted, open a Windows Explorer (WIN Key + E) and expand This PC and click on the CD Drive. Start VBoxWindowsAdditions-amd64. Run through the installation and restart your Windows 10 VM.

Install Windows 10 on Linux

 

Once you have rebooted, I recommend you to take a Snapshot of the VM. So in case something goes wrong, you can revert back to the freshly installed state.

Step 8 – Taking a Snapshot

Shut down your VM. In VirtualBox, select your VM, click on Machine Tools and select Snapshots, click on Take.

Install Windows 10 on Linux

 

Name your Snapshot something like “Fresh Install not Activated”. So you know the state of the VM later on when you need to revert back to it.

Wrapping Up

The next thing I recommend you to do is to run Windows Update to make sure you are on the latest version. (Hit the Windows Key and simply type “Update” in the Search Field)

Now you have a fully functional Windows VM on top of your Linux install, you can use it for Windows Exclusive Tools like the Adobe Suite. It actually works pretty well if you have a beefy enough Computer. Please let me know in the comments below how you use your Windows VM, I would love to know.

Leave a Reply

Tell us what you think!

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
Notify of
%d bloggers like this: