How to install Virtual Box and install Windows 11 in Ubuntu.

Hey there, I don’t want to say about what I am going to explain in the blog, because you have searched for the topic and came here. I am sorry for my grammatical errors. Let’s see how to install virtual box in ubuntu and create a virtual machine using the Windows 11. Before getting into this if you are curious about how the virtualization works, then you check it with my previous blog content. I can attach the link here What is Virtualization? How it is Working? This blog content more more longer, I didn’t expect this comes lengthy content. But you can get some insights from this. Installing virtual box on Ubuntu To install virtual box there are lot’s of way there to do that. Installing the package from the official virtual box website. In the website you can download for you operating system. But in this blog we are going to how to install virtual box through Ubuntu terminal. There is an package manager available for Ubuntu, which is an APT package manager which manages software and their versions for Debian based Linux system. It will help us to install software by the install command. //syntax sudo apt install The syntax is similar for most of the application. Open the terminal by pressing the combination of ctrl+ alt + T or using the application search by pressing win it will show you search then you can search there terminal. If suppose you don’t know the deb name there is some suggestion in the terminal itself to show some of the packages available. Some times you don’t get it for some application. If you are beginner then this may help you sometime. Let me try install virtualbox so I simply type the virtualbox in the terminal it will give me suggestion. We can see that virtual box command is not found, but shows suggestions to install by the command. #instal virtualbox sudo apt install virtualbox-qt It will prompt you for password, enter the user password. The download size is about 478 MB, and asking us to confirm that we can download or abort the installation. Let’s proceed with by pressing enter. If you want to abort then press n . Then the virtual box will start downloading. If you are sure to download the virtual box without asking any confirmation you can add -y in the installation command it will directly download the software instead of asking confirmation in between the installation. #install virtualbox sudo apt install virtualbox-qt -y Now the virtual box is installed. you can open the virtual box in the application center or type virtualbox in the terminal it will open the virtual box. Download the windows 11 ISO file Now we need an Windows ISO file to create an Windows virtual machine. So, where do we get the ISO file. Obviously in the windows official site. This is the download page of the windows 11. There are multiple types of downloads available, we need to download an ISO file. So, scroll down the page you will find the Download Now button for downloading the ISO file. This option is almost last option in the page. We need to select the file in select option which contains only as of now today. Select the option and click the download button. Wait some loading process will be happen. It will ask some questions below, we need to answer that. Below that we can see that Select the product language Choose the language needed. I am choosing the English International. After selecting the product language press the confirm button. We can able to see that button is for downloading ISO file for 64 bit system. Once clicked the ISO file will be start downloading. It takes a long time to download. It is almost 6.3 GB. Once downloaded then we can configure the virtual machine. Configuration of virtual machine Once the download is completed then open the virtual box. Click the new button in the top menu bar. Give the name that you want to refer to the virtual machine in the Name input box. The folder refers to the place where the virtual machine details are stored. If you want to change the location then you can. But I don’t want to change the location, I leave it as it is. I am giving the contradictory name as ubuntu user for windows virtual machine. Select the other option in the ISO image to choose the ISO file. It will open you the file manager, we can choose the file where it is located After choosing the image move to the next step by press next button. And also I have checked the skip unattended installation. I want to setup the virtual machine by myself. What is an unattended installation. Actually it will install the windows by asking some information like user name, password and product key and it will install windows automatically. This feature is only for virtual box version 7 and above. But I would like show the manual setup. Here we have to allocate the RAM size and processor for the virtual machine. I am allocating 8 GB RAM which shows in the MB in the optio

May 3, 2025 - 14:24
 0
How to install Virtual Box and install Windows 11 in Ubuntu.

Hey there, I don’t want to say about what I am going to explain in the blog, because you have searched for the topic and came here. I am sorry for my grammatical errors. Let’s see how to install virtual box in ubuntu and create a virtual machine using the Windows 11.

Before getting into this if you are curious about how the virtualization works, then you check it with my previous blog content. I can attach the link here What is Virtualization? How it is Working?

This blog content more more longer, I didn’t expect this comes lengthy content. But you can get some insights from this.

Installing virtual box on Ubuntu

To install virtual box there are lot’s of way there to do that. Installing the package from the official virtual box website. In the website you can download for you operating system. But in this blog we are going to how to install virtual box through Ubuntu terminal.

There is an package manager available for Ubuntu, which is an APT package manager which manages software and their versions for Debian based Linux system. It will help us to install software by the install command.

//syntax
sudo apt install 

The syntax is similar for most of the application.

Open the terminal by pressing the combination of ctrl+ alt + T or using the application search by pressing win it will show you search then you can search there terminal.

If suppose you don’t know the deb name there is some suggestion in the terminal itself to show some of the packages available. Some times you don’t get it for some application. If you are beginner then this may help you sometime.

Let me try install virtualbox so I simply type the virtualbox in the terminal it will give me suggestion.

We can see that virtual box command is not found, but shows suggestions to install by the command.

#instal virtualbox
sudo apt install virtualbox-qt

It will prompt you for password, enter the user password.

The download size is about 478 MB, and asking us to confirm that we can download or abort the installation. Let’s proceed with by pressing enter. If you want to abort then press n .

Then the virtual box will start downloading.

If you are sure to download the virtual box without asking any confirmation you can add -y in the installation command it will directly download the software instead of asking confirmation in between the installation.

#install virtualbox
sudo apt install virtualbox-qt -y

Now the virtual box is installed. you can open the virtual box in the application center or type virtualbox in the terminal it will open the virtual box.

Download the windows 11 ISO file

Now we need an Windows ISO file to create an Windows virtual machine. So, where do we get the ISO file. Obviously in the windows official site.

This is the download page of the windows 11. There are multiple types of downloads available, we need to download an ISO file. So, scroll down the page you will find the Download Now button for downloading the ISO file.

This option is almost last option in the page. We need to select the file in select option which contains only as of now today.

Select the option and click the download button. Wait some loading process will be happen.

It will ask some questions below, we need to answer that. Below that we can see that Select the product language Choose the language needed. I am choosing the English International.

After selecting the product language press the confirm button.

We can able to see that button is for downloading ISO file for 64 bit system.

Once clicked the ISO file will be start downloading. It takes a long time to download. It is almost 6.3 GB. Once downloaded then we can configure the virtual machine.

Configuration of virtual machine

Once the download is completed then open the virtual box.

Click the new button in the top menu bar.

Give the name that you want to refer to the virtual machine in the Name input box. The folder refers to the place where the virtual machine details are stored. If you want to change the location then you can. But I don’t want to change the location, I leave it as it is.

I am giving the contradictory name as ubuntu user for windows virtual machine.

Select the other option in the ISO image to choose the ISO file.

It will open you the file manager, we can choose the file where it is located

After choosing the image move to the next step by press next button. And also I have checked the skip unattended installation. I want to setup the virtual machine by myself.

What is an unattended installation. Actually it will install the windows by asking some information like user name, password and product key and it will install windows automatically. This feature is only for virtual box version 7 and above.

But I would like show the manual setup.

Here we have to allocate the RAM size and processor for the virtual machine. I am allocating 8 GB RAM which shows in the MB in the option. And I am allocating the 8 cores of my processor.

It is depended on the system. You can allocate as much as you want. But don’t exceed the green line shown in the virtual box recommendation. Because it is about logical cores and threads related concept, if I explain it here then this blog will not ended up.

In the next process it will asks for allocating storage space, I am allocating 80 GB for storage. I don’t want to pre allocate the 80 GB for the virtual machine, If you want to allot previous then you can check the checkbox below.

This will show the preview of the options we provided, confirm and proceed the finsih button. I am going for finish.

Now the virtual machine configuration is completed in the Virtual box, then we need to setup and install the windows. If you unchecked the unattended guest OS then the windows installed automatically after clicked finish button.

Configure and install windows 11 in virtual machine

Click the start button in the menu or double click on the virtual machine option shown in the left option below tools.

Press any key in the keyboard to start installing.

Choose the language and press next.

Press the install now button. It will start setup. If you are using virtual box version less than 7 there must be an problem occurs.

Minimum Setup Requirement

If you don’t face any issue move to next heading. If you have any issue press shift + f10

Type regedit to edit the registery of the windows.

It will open the registery, select HKEY_LOCAL_MACHINE and select the SYSTEM

Right click on the Setup folder and select new and key , it will create an new key. Name that key as LabConfig .

Double click on the LabConfig and right click on the right side space and select New and then DWORD (32-bit) Value.

Create two key with DWORD (32-bit) value .

Rename the keys by pressing f2 one key as BypassTPMCheck and BypassSecureBootCheck . Then right click on both the key separately and modify and set the value as 1.

Press ok. Do this for both the keys we created.

Now close the window and close the command prompt. Then continue with the process. I don’t have any problem with installation so I just these keys and proceed.

Windows 11 installation

It will ask for product key, if you have it put it on the input box, I am pressing I don’t have a product key. If you want the product key then check with digiworld4u.in for windows 11 Pro key for affordable price (399 as of today), this is not a promotion and I found a good price.

There are lots of option to choose the type of the windows, I am choosing windows 11 pro.

I am agree with the Microsoft policy, kindly read the policy before you give it.

Choose the custom install windows.

This will show us the storage space which created during the virtual machine configuration. Once pressing the next the installation process, starts.

Installation takes a time lot. Once the installation complete the virtual machine automatically restarts

Setting up Windows 11

Final step arises,

Select the region where you are, and press Yes.

Choose the key board layout and press yes.

I don’t want to add any other additional keyboard layout, so I skip the process.

It is checking for updates.

It will asks for device name, Let me give it as ubuntu.

I am choosing personal use to access almost all the features without product key, if you product key then you can access all the features.

I am sign in with my account.

Enter your password

It shows me the recommendation of the previous versions of my windows installation I don’t want that so scroll down and clicked the more options.

And I am choosing set up as a new PC.

Asking for a confirmation I am sure to set up as a new PC.

Create a PIN for the user.

It will asks for some permission, I am disabling all the things, if you want it then leave as it is. But I am disable every thing and proceed next.

Accept the privacy settings.

It asks for customize experience, you can check the checkboxes which you need. I am check the development and proceed with accept.

You can connect your mobile with windows, But I don’t want, then skip the process.

I don’t want my browsing data should be accessed. Proceed with not now.

The system is getting updated if any updates available.

The windows system is ready. Press any key or enter and type your pin to get into the windows.

Mission completed, that windows in now installed as virtual machine in virtual box.

Conclusion

Play with any OS without boot into the system directly and get exposure of many OS.