-
Notifications
You must be signed in to change notification settings - Fork 19
Windows Virtual Machine Installation on Linux
(Per the assignment guidelines, pages for installing Windows VMs are also required, so I made this page for Linux users)
Guide is written for Ubuntu 20.04, 64 bit machine
Follow this page's wizard to generate a download link for an official Windows ISO. This guide uses the Windows 10 ISO.
- Select applicable edition of windows and press the Confirm button (guide uses Windows 10 Multi-edition ISO )
- Select applicable language (guide uses English )
- Select 32 or 64 bit download (guide uses 64-bit Download , if 32 bit is chosen, guide may need to be modified)
- Download the ~5GB iso file, note the location saved. While file is downloading, proceed to next section
- Open a terminal and type into the CLI
sudo apt update
sudo apt upgrade
sudo apt install virtualbox
Guide uses Version 6.1.26_Ubuntu r145957
. To check version, go to Help
> About VirtualBox...
-
Create a virtual hard disk for Windows 10 install
- navigate to
File
>Virtual Media Manager...
- Select
Hard disks...
tab, then selectCreate
in toolbar - Select
Next
until the size is requested, guide uses 64GB, windows recommends minimum of 32GB - Select
Create
You should see the disk in the textbox
- navigate to
-
In VirtualBox main menu, Select
New
-
Populate name, and select
Use an existing virtual hard disk file
select created hard disk. Recommended to turn up memory to at least 4GB -
Select Virtual Machine, and select
Settings
in main menu -
Select
Storage
and click the "disk with a plus sign" logo -
Select
Add
and navigate to downloaded file in previous step -
Hit
OK
and start up the machine
- If VM is not starting up, with error similar to
Failed to load ring-0 module 'VBoxEhciR0.r0' for device 'usb-xhci' (VERR_SYMBOL_VALUE_TOO_BIG).
first update extension packs.
sudo apt install virtualbox-ext-pack
- If adding the ISO media after creating the VM is too difficult, you can select "create a virtual hard disk now" as you create the VM. VirtualBox will ask you for a startup disk when you try to start the VM. You can then select the Windows ISO file acquired in the first step.
(The rest of this guide has yet to be written...)