I will show you in this guide how easy it is to install Fedora Linux (all the latest versions) in Oracle’s VirtualBox.
VirtualBox is a popular virtual machine application that helps you try out different operating systems (such as Linux and Windows) without physically installing them into your hardware.
This tutorial primarily focuses on how you can install Fedora Linux in Oracle VirtualBox.
Table of Contents
Things that you need before installing
- First and foremost, you must install VirtualBox in your Linux/Windows system (also called the host system). Here’s some guide(s) for your on how you can install VirtualBox.
- Second, you must download the Fedora Linux (Workstation or any other official spins) ISO image file. You can download it from the official Fedora Download (Or Torrent).
- That’s all you need to get started.
Install Fedora Linux in Virtual Box
- Open VirtualBox from the application menu of your host system. In the main window, click NEW.
- Click on the Expert Mode button.
- In the next window, follow the below instructions to fill in the items.
- Name: Give any name you want. E.g. “fedora-linux”.
- Machine Folder: This is where the VirtualBox (*.vdi) file will be created. The default path is in your home directory. However, you can select other partitions for your vdi file (such as external disk, etc.).
- Type and Version: Should be auto-selected. If not, choose “Linux” and “Fedora 64-bit”.
- Memory size: This is the RAM size your VirtualBox install of Fedora will use while running. So, the size you give here will not be available to your host machine when you are running Fedora under VirtualBox. So, enter the value accordingly. If you are unsure, give at least 2 to 4GB minimum RAM.
- Hard disk: Select the option “Create a virtual hard disk now”.
- Click create.
- In the final screen, verify the file location.
- This is the place where VirtualBox will create the disk image with .vdi extension.
- File size should be as per your choice. For this example, I have used 20GB of disk space for Fedora installation.
- Hard disk file type – choose VDI. You may want to choose other options (if you know what they mean).
- Storage on the physical disk – choose as Dynamically allocated. Note: If you choose Fixed size, the entire 20 GB will be allocated immediately.
- Click create.
- After you hit Create, you should be back on the main window. You should see on the left side bar a label “powered off” virtual machine – which you just created. The next step is to select the Fedora Linux ISO file which you have just downloaded.
- To do that, Click on the “[Optical Drive]” label under Storage: Controller IDE section as shown below. And select the ISO File.
- Now, click on START at the top toobar to start booting up from the selected ISO file.
- You should see the Fedora Linux installation prompt as shown below.
- Continue with the normal Fedora Linux installation as you do.
- Once installed, you can always START, STOP the virtual machine from the tool bar. To delete, right-click on the virtual machine name and choose delete data option.
- After you finish the installation, do remember to install the Guest additions using this guide. This will enable the copy/paste and additional configuration options between host and guest machine.
- Also, you can enable the bi-directional clipboard, drag and drop between host and guest using the below –
Settings > General > Advanced.
- To make sure the resolution of your virtual machine is same as the host system, enable the option
View > Auto resize guest display.
In this guide, you learned how to create a simple Virtual machine installation with Fedora Linux using Oracle VirtualBox. In addition, you also understand you how you can use the copy/paste, change resolutions and so on.
Finally, I hope this helps you to set up your Fedora system. Do let me know in the comment box if you have any questions or having issues.