How To Set Up Fedora In A Virtual Machine

How amazing would it be if we were able to run an Operating System over our base Operating System? Well, this is actually possible. Want to know more? Explore!
 
Note
My base Operating System is Linux, to be precise,  Fedora 29. I will install Fedora 30 over my base, using Virtual Machine Manager. You can install a Windows image on it as well.
 

Setting up a Virtual Machine

 
If you have Fedora, just as I do, then Virtual Machine Manager will be pre-installed. Fedora ships with pre-installed Virtual Machine Manager. Otherwise, check this link.
 
You can install it using the following commands,
  1. # yum install virt-manager (Fedora)  
  2. # apt-get install virt-manager (Debian)  
  3. # emerge virt-manager (Gentoo)  
  4. # pkg_add virt-manager (OpenBSD)  
Now download any iso image. Here I have downloaded this image,
 
How To Set Up Fedora In A Virtual Machine
 
Click on the Download button for downloading the x86_64 DVD ISO image. Check this following link.
 
After the download is complete, open virtual machine manager. It might ask for your root password. After starting the tool, this window will appear.
 
Note
Your virtual machine manager might be empty. I have two virtual machines created already.
 
How To Set Up Fedora In A Virtual Machine
 
Now, from “File” tab, select “Add Connection” and this window will appear. By default, you will find that the manager is connected directly to localhost. You can connect another host remotely as well.
 
How To Set Up Fedora In A Virtual Machine
 
Check the "Connect to remote host" option then provide Hostname/IP of the remote server. If you need to establish the connection to the remote host every time the manager starts, just check the Auto Connect option.
 
Let’s return to our localhost and hit the button VM in the main window, this wizard window will appear.
 
How To Set Up Fedora In A Virtual Machine
 
Select the installation method which you will use to create the virtual machine. For now, we will use Local install media. We are using the iso image method, so we're browsing the path of the iso image. Press Forward and browse from downloads and select the iso image. Then click Choose Volume. A new window will open starting step 3 of 5. See below.
 
How To Set Up Fedora In A Virtual Machine
 
Provide the desired/required memory and allocate the CPUs. To run virtualization on Fedora, you need at least 600MB of hard disk storage per guest and 256MB of RAM per guest. Click on Forward. This screen will appear.
 
How To Set Up Fedora In A Virtual Machine
 
This is step 4 of 5. We are allocating 10 GiBs of space for creating a disk image for the virtual machine. Enable Storage box should be checked. Click on Forward.
 
How To Set Up Fedora In A Virtual Machine
 
Now, this is step 5 of 5 steps. Give a suitable name to your virtual machine and click on Finish. This above screen will appear.
 
How To Set Up Fedora In A Virtual Machine
 
Next, you will see this screen.
 
How To Set Up Fedora In A Virtual Machine
 
You will also find this, your Fedora30 is running.
 
How To Set Up Fedora In A Virtual Machine
 
Fedora30 will start booting after 60 seconds. Select Install to Hardrive from the GUI. Then select the language in which you want to use your new Fedora and press continue.
 
How To Set Up Fedora In A Virtual Machine
 
Next, select the disk and press "Done".
 
How To Set Up Fedora In A Virtual Machine
 
Now, begin the installation. It might take some time to install.
 
How To Set Up Fedora In A Virtual Machine
 
You can enjoy a full-screen view of your newly installed Fedora30 also.
 
How To Set Up Fedora In A Virtual Machine
 
After the installation is complete, you will see this screen.
 
How To Set Up Fedora In A Virtual Machine
 
You can now create a new user, set up a password, and other permissions for your newly created user. This is another topic to discuss for some other day. :)
 
Happy exploring!
 
I hope you have enjoyed reading this article as much as I enjoyed writing it. Thank you :)


Similar Articles