How to install Windows 11 in a VirtualBox with Ubuntu Linux as host – Installation guide including bi-directional copy-paste, shared folders and USB support – NovaCustom

VirtualBox icon We all love Linux, right ? Well, not everyone or every company. At least they bring-out their software for Mac OS and/or Windows, only. Which is a shame, no far explanation about that is needed, I guess πŸ˜‰
hence, we decided to write this facility template to show you bit-by-bit how to setup Windows in a VirtualBox. Just for the applications that weren ’ thymine released for GNU/Linux operating systems. furthermore, we will explain how to set-up some amazing functions including bi-directional copy-paste from the VirtualBox to the host system ( and vice versa ), a well as the shared folder routine and USB support !
Please note that it is necessary to use a nonpayment signed Ubuntu kernel. Otherwise, you might encouter problems using VirtualBox .

Step 1: Download and install VirtualBox

So we start by opening a Terminal ( CTRL + ALT + T ) and entering the following commands to first update needed dependencies and then install the VirtualBox application :

sudo apt update && sudo apt upgrade -y
sudo apt install virtualbox virtualbox-ext-pack virtualbox-dkms -y

blank On the persona below ( properly side ), you see the terminal window, we do rede to have some basic know in using this application before starting to do things like installing VirtualBox. If you have the basic know how then we will continue on now.
After entering the commands above the basic VirtualBox application should be installed correctly and we are fix for step 2 .

Step 2: Open the VirtualBox application and create a new virtual machine with Windows

blank Go to the start menu and type : β€˜ VirtualBox ’ ( without quotes ), hit the Enter key and the lotion should show up .
Select New, and then start by setting up the virtual machine ( Name, location and OS type / translation ) .
For this Tutorial we will be creating a Windows 10 initiation, but following this article precisely besides works for Windows 11. You could pick a unlike version if you want .
normally If you type the appoint of the manoeuver system that you wish to install it changes the settings to the right values. Please do double-check it this will safe you time and frustration late on .

Step 3: Allocate resources for the virtual machine

once you press adjacent in the former step, the memory allotment screen will show up .
Standard it is set to allocate 2048 MB for Windows 10, we advice to at least double it to 4096 MB, depending on needs and sum of RAM available of course. It is besides estimable to know that Windows 11 needs at least 4096 MB .
then you press next and we will continue to the next blind .
next up is the creation of a virtual intemperate force, for the facility of the virtual machine. The default choice of creating a newfangled phonograph record is recommended .
It says recommended 50 GB, we do recommend to chose a dynamically allocated size and setting the utmost size according to the needs. 150 GB should be more then batch in most cases .
once you have selected Create in the former screen, then this will show up. once again the default should be finely, unless you have specific reasons to select a unlike method of storing the virtual machine data .
Press next again for the following screen .
here you can select if you want the phonograph record file to be a fixed size or Dynamically allocated. Dynamically simply grows with the size of the virtual machine. We recommend this option. now, click Next > .
here you will specify the ( maximum ) size of the disk file and in what placement to store the file .
even though VirtualBox recommends 50 GB, this can be a spot small if you want to store enough data and/or applications, considering that Windows itself already needs about 25 or 30 GB of the repositing capacity. sometimes, Windows needs even more, temporarily for exemplar when it is updating. This is why we recommend to choose more, like 150 GB, specially when you have selected a dynamically allocated virtual hard drive .
Allocating the basic resources should be complete once the disk has been created .

Step 4: Setup the virtual machine and add the installation medium

The result of the steps above should make it slightly like this ( adjacent image ), future up is selecting the facility medium. We will use the .iso charge from the Microsoft web site.

official Microsoft windows 10 ISO file Download connection :
hypertext transfer protocol : //
While the ISO file is downloading, let ’ s tweak some extra settings. Click on the gear of your brand raw created VirtualBox ! You will see a window that looks like the future picture .
now, navigate to System – > Processor and select more CPUs to improve the VirtualBox ’ performance. Do not select besides many CPU threads, as the host system performance would decrease .
We besides recommend to enable 3D Acceleration under the Display – > Screen yellow journalism. We besides change the allocate video memory to 256 MB .
We recommend to pass through all settings to customize other settings to your desire and click OK to close the Settings window .
nowadays let ’ s start up our stigmatize new VirtualBox ! A pop fly will show up that asks you to boot to an ocular drive. We can plainly select the download ISO file to boot. Click on Choose a harrow file, then go to the folder where the .iso file is located, probably in the Downloads booklet. Select it and proceed to start the virtual machine .
For the purpose of keeping this tutorial as short and comprehensive as possible, we will not show how to install Windows. For this, we would like to redirect you to the YouTube video on the right side ( until 19:50 ) .

Important note for Windows 11

blankThis PC can’t run Windows 11 error. officially, Windows 11 requires Secure Boot and TPM 2.0. These features are not ( yet ) available in VirtualBox. The result is that you will get the error as you can see on the properly picture .
To bypass these settings, snap on the X picture at the right upper berth corner and quit the apparatus. Hold the SHIFT key and iron F10. then give the dominate β€˜ regedit ’. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\Setup and create a newfangled key ( booklet ) here named β€˜ LabConfig ’. Within this key, create a new DWORD ( 32 bits ) value named β€˜ BypassSecureBootCheck ’. Create another DWORD ( 32 bits ) value named β€˜ BypassTPMCheck ’. Don ’ deoxythymidine monophosphate forget to set both values to 1 !

Step 5: Boot the virtual Windows environment and alter the required settings

If you successfully installed Windows 10, the Windows start screen looks like this .
Next we want to have some amazing extra features, such as :

  • Shared folder, to easily transfer files from and to the VirtualBox
  • Bi-directional clipboard, to easily copy and paste from and to the VirtualBox
  • Bi-directional drag-and-drop, to easily drag-and-drop your files from and into the VirtualBox
  • Additional drivers for better performance and the ability to set the screen resolution

To accomplish this, we will have to install the guest additions software of Oracle. Installing the Guest additions add-on is pretty straight-forward, fortunately. On the top bar of your virtual machine, chink on Devices – > Insert guest additions CD image. then you can find the VirtualBox Guest Additions virtual CD drive under the file explorer – > This personal computer. now run the setup : equitable double-click the VBoxWindowsAdditions feasible file .
After the installation, you should be able to set a partake folder, set shared clipboard to bi-directional and set the bi-directional drag-and-drop function. For the shared booklet, we recommend usning your Downloads folder in Linux for your VirtualBox Downloads .
It might be handy to increase the resolution if the VirtualBox. To accomplish this, you can select the Display-icon at the bottom-right of the VirtualBox ( blank ) – > Virtual Screen 1 – > Resize to 1440Γ—900. If you see that your graphics may become bleary or arrhythmic, you can disable 3D transparency effects by right-clicking on the background, then select Personlize – > Appearance – > Disable transparency effects .

Step 6: enable USB pass-through support

Your user needs to be added to the VirtualBox group in order to get USB subscribe. Open a terminal window in your host OS ( normally CTRL+ALT+T ) and run :

sudo usermod -aG vboxusers $USER
sudo newgrp vboxusers

now restart your computer. USB support should be active now !
Congratulations, your VirtualBox is now fully ready to be used .
blankFor USB passh-trough support, you need to add the user to the vboxusers group.

Are you tired of your old laptop?

Get a Linux laptop with VirtualBox pre-installed

source :
Category : Tech FAQ

Related Posts

Leave a Reply

Your email address will not be published.