Installing some software which is only supported by Ubuntu but I have the Windows 10 operating system, what should I do ? Instead of removing windows 10 and then again installing Ubuntu to run that specific software we can run both operating systems parallel. To run it parallel we need to install the virtual machine. For this purpose we have a Qemu which we can install to run other operating systems.

This article is associated to how we can run QEMU on Windows.

How do I run QEMU on Windows

Qemu is an open source virtual machine host app which can be used to emulate different operating systems on the host operating system. We can run QEMU to install Ubuntu or any other relevant software.

To install the QEMU we will go to the official site of QEMU and download the Windows version.

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/1-21.jpg" data-lazy- height="693" src="data:image/svg xml,” width=”1365″>

Now a screen will open as:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/2-20.jpg" data-lazy- height="649" src="data:image/svg xml,” width=”1348″>

We will select the 64-bit or 32-bit according to our system requirement. In our case we choose 64-bit:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/3-18.jpg" data-lazy- height="662" src="data:image/svg xml,” width=”1353″>

Now we will run the exe file for the QEMU 64-bit:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/4-18.jpg" data-lazy- height="107" src="data:image/svg xml,” width=”1173″>

We will go to the folder where the downloaded file has been downloaded and will run the exe file. And choose “More info”:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/5-18.jpg" data-lazy- height="493" src="data:image/svg xml,” width=”533″>

Now click on the “Run anyway” button:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/6-17.jpg" data-lazy- height="496" src="data:image/svg xml,” width=”534″>

Select the language and click on the “OK” button:

<img alt="" data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/7-14.jpg" height="153" src="data:image/svg xml,” width=”286″>

Start the setup by clicking on the “Next” button:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/8-14.jpg" data-lazy- height="390" src="data:image/svg xml,” width=”498″>

Accept the agreement by choosing the “I Agree” button:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/9-12.jpg" data-lazy- height="386" src="data:image/svg xml,” width=”499″>

Click on the “Next” button:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/10-11.jpg" data-lazy- height="389" src="data:image/svg xml,” width=”498″>

assign the location where you want to install the setup and then choose the “Install” button:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/11-10.jpg" data-lazy- height="385" src="data:image/svg xml,” width=”499″>

Installation will begin:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/12-9.jpg" data-lazy- height="384" src="data:image/svg xml,” width=”499″>

Once the installation is finished a “Finish” button will appear on the screen, click on it:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/13-8.jpg" data-lazy- height="383" src="data:image/svg xml,” width=”498″>

Now we will go to “This PC> Drive C>Program files>QEMU” folder, and copy the path address:

<img alt="" data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/14-4.jpg" height="301" src="data:image/svg xml,” width=”255″>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/15-3.jpg" data-lazy- height="309" src="data:image/svg xml,” width=”929″>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/16-2.jpg" data-lazy- height="166" src="data:image/svg xml,” width=”590″>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/17-2.jpg" data-lazy- height="292" src="data:image/svg xml,” width=”527″>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/18-2.jpg" data-lazy- height="130" src="data:image/svg xml,” width=”894″>

Now open the properties of “This PC” and go to the “Advanced system settings”:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/19-2.jpg" data-lazy- height="719" src="data:image/svg xml,” width=”1356″>

Now click on the “Environmental variables”:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/20-1.jpg" data-lazy- height="468" src="data:image/svg xml,” width=”412″>

Choose the “Path” and double click on it:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/21-1.jpg" data-lazy- height="582" src="data:image/svg xml,” width=”614″>

Click on the “New” button:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/22-1.jpg" data-lazy- height="500" src="data:image/svg xml,” width=”526″>

Paste the copied address and Click on the “OK” button on all of the opened windows:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/23.jpg" data-lazy- height="503" src="data:image/svg xml,” width=”527″>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/24.jpg" data-lazy- height="505" src="data:image/svg xml,” width=”523″>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/25.jpg" data-lazy- height="587" src="data:image/svg xml,” width=”613″>

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/26.jpg" data-lazy- height="462" src="data:image/svg xml,” width=”410″>

How to make a machine in Qemu

First we will download the ISO of Ubuntu 20.04 from the official website of Ubuntu. Copy the ISO file from where it is downloaded and make a folder in the documents by the name of ISO and save there. It is not compulsory to make a folder in Documents, I made it here because of my ease.

Open the PowerShell by typing it in the search bar of the window. Type “Power shell ” in the windows search bar and open the PowerShell:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/27.jpg" data-lazy- height="248" src="data:image/svg xml,” width=”838″>

Now we will go to the directory where the iso file is located. For example, in our case the ISO file of Ubuntu is located in the C directory, documents folder, then there is an ISO folder. To access this location we will use command as:

cd usersSubhanDocumentsiso

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/28.jpg" data-lazy- height="137" src="data:image/svg xml,” width=”843″>

Now we will boot the iso file on qemu. The general format of this command is as :

[qemu exe file name]  -boot d-cdrom [iso file name]  -m [size of RAM to be assigned to it]

According to this syntax, first we will enter the qemu exe file name, iso name and lastly allocate the memory size of RAM by using “-m”:

qemu-system-x86_64.exe -boot d -cdrom .ubuntu-20.04.2.0-desktop-amd64.iso -m 2048

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/29.jpg613ad680a822e.jpg" data-lazy- height="126" src="data:image/svg xml,” width=”840″>

A new screen will open on the QEMU loaded with the Ubuntu iso file:

<img alt="" data-lazy- data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/30.jpg" data-lazy- height="538" src="data:image/svg xml,” width=”640″>

Conclusion

In this article we have discussed what QEMU is and why it is used. We use it to run different operating systems on virtual machines on the host machine. We also discussed how to install QEMU on Windows by downloading its setup from its official website and then how we can configure it on our host machine. We hope this article will help you and resolve your queries regarding running QEMU on Windows.

About the author

<img data-del="avatar" data-lazy-src="https://kirelos.com/wp-content/uploads/2021/09/echo/hammad–150×150.jpg613ad68128235.jpg" height="112" src="data:image/svg xml,” width=”112″>

Hammad Zahid

I’m an Engineering graduate and my passion for IT has brought me to Linux. Now here I’m learning and sharing my knowledge with the world.