Installing fedora linux on virtualbox

How to Install Fedora 36 on VirtualBox

If you want to use an operating system that is close to RedHat, then Fedora should be on top of your list because it has the same package manager that RedHat does use, and apart from that, you will get the same experience.

So let’s see how you can install Fedora 36 on your VirtualBox with the following steps, and after that, you can enhance your skills with an enterprise-grade OS.

Prerequisites

The basic things you need to have are “VirtualBox” and “Fedora” ISO images. I believe you have already installed VirtualBox on your operating system, but you may don’t have the ISO image.

No big deal, we will show you how to get an ISO image of Fedora 36.

Download Fedora 36

If you already have an ISO file, then you can skip the download step and read how to start with VirtualBox. For those who don’t have an ISO file, click on the below button to redirect to the official download page.

Download Fedora 36 ISO

Once the page loads, select the Fedora 36: x86_64 Live ISO, which has a size of around 2.0 GB. If you want to download Fedora from a torrent, then use this link.

The default Fedora 36 Workstation ships with GNOME. If you don’t want to use the GNOME version, then use the torrent option where you can choose an ISO image according to your choices, like KDE, XFCE, LXDE, LXQT, and other flavors of Fedora.

I’m interested in having the KDE version, so I’ll select the “Fedora-KDE-Live-x86_64_36.torrent”. You can choose any other version. Just make sure that you select the x86_64-bit architecture ISO.

Download Fedora 36 ISO from torrent

Steps to Install Fedora 36 on VirtualBox

The steps are pretty simple. If you have tried to install any Linux distribution on VirtualBox, then it might be a bit easier to follow the steps.

Fedora uses the same Ananconda system installer to install the operating system on your disk, which is very intuitive to use.

Step 1: Open Oracle VM VirtualBox

Once you have completed the above prerequisites, you are ready to install Fedora on your VirtualBox.

For the first time, if you use VirtualBox, you will find the same interface as mine. VirtualBox is not looking good without any virtual machines, so let us create our first Fedora virtual system.

Click on the Add button to create a virtual machine.

VirtualBox Main Interface _Click on Add

Step 2: Create a Virtual Machine

There will be a couple of screens where you need to provide configuration details for your virtual machine. On the first screen you need to enter the machine name, so simply type “Fedora” and keep the virtual machine name unique if you are planning to install multiple virtual machines.

Читайте также:  Сменить пароль под linux

If you want to change the default location (“Machine Folder“) of your VM, then click on the drop-down arrow to specify a different path.

If you mention “Fedora” on the top as a machine name, then the “Type” section will automatically change it to “Fedora”, and keep the rest of the thing as it is.

After that, click on Expert Mode to go to the next screen.

Add following Details to proceed ahead

For optimal performance, you can change the Memory size to at least 2 GB or more according to your usage and availability. To change the RAM size, scroll back and forth to increase and reduce the size.

In the “Hard disk” section, click “Create a virtual hard disk now” and click on “Next” to create a new virtual disk on the next screen.

Increase RAM size and create virtual disk

As per the official documentation, you should at least give 10 GB of space for Fedora installation. I’m giving 20 GB. You can add more as per your usage by dragging the scroll bar back and forth.

Create Virtual Hardisk

And once it is done, click on “Create”.

Step 3: Attach Fedora ISO Image

In this step, you need to attach the Fedora image to VirtualBox. It is similar to attaching a USB to the USB port. To specify the ISO image, click on “Optical Drive” and select the ISO file.

Select choose a disk file ISO file addedSelect Disk

After that, click on the Settings gear icon, which is in the top section of the screen, which will show you virtual machine settings.

From here you can configure virtual machine resources like memory, CPU, storage, network, and other peripheral resources.

On the left side of the Settings window, go to the “System” section. In the first option, you will find the option to change the memory capacity. If you haven’t changed it yet, then you can change it now.

After that, have a look at the “Processor” tab, and change the CPU core as per your requirements.

Memory Section Processor SectionVirtual Machine Settings

And once you are done with the changes, make sure to click on “OK” to save them.

Step 4: Boot Virtual Machine

After following the above procedure, click on start button to power on the machine. Once you start the machine, you will be prompted with a mouse integration message. Simply click on “continue”. Basically, it instructs you to get out of the machine using the “Right Ctrl” key.

Next, you will find the boot option. Simply press enter on “Start Fedora-KDE Live 36”.

VirtualBox-information Select FedoraBoot Fedora

And once you get the screen like the below image, double click on “Install to Hard Drive” to start the installation process.

Step 5: Select Languge

The first screen will prompt you to select a language, so choose the language as per your preference and click on Continue to proceed ahead.

Step 6: Installation tasks need to be completed

You can use the below screen as a checkpoint to complete the installation.

Читайте также:  Kes linux контроль устройств

Three items are highlighted. Let me finish the task in the following sequences: Installation Destination -> Root Account -> User Creation.

If you want to change the keyboard layout, then click on Keyboard and select Keyboard as per your preference.

In my case, the system automatically detects the time and date, so I don’t think I need to change it. But it is not like that in your case. Then click on Time & Date to set it according to your region.

Fedora Installation Summary

Step 7: Installation Destination

In this step, you need to select the disk where you want to install Fedora.

From the initial steps, you have already created the disk, so first select the disk and then choose “Automatic” Storage Configuration for the sake of simplicity.

If you want to keep a separate partition, then choose the custom option and specify the separate space home, /, swap.

I’m good with the following configuration, so let me click on “Done” to save the changes.

Installation Destination

Step 8: Enable root account

Now you are left to enable the root account to manage the system. By default it is disabled. Click on “Enable root account” and set the root password.

Once you have entered the password, click on Done.

Enable root account

Step 9: Create a User

The last step is to create a user to perform regular tasks. You should not use your root account for general purposes. To create a new user, click on “User Selection”.

And fill in the following details like Full name, User name, you can mark a check on the “Add administrative privilege to become a super user”, and to make the account secure, also check on “Require a password to use this account” and type the password.

To save the following changes, click on “Done”.

Create User

Step 10: Installation Summary

Final checkpoint! You can still make any changes if you want to, and once you are satisfied with the configuration, click on “Begin Installation”.

Meanwhile, you can grab a cup of coffee for yourself and wait for the installation to be finished.

Start Installation Installation startedFinal Checkpoint

Once the installation is finished, restart your virtual machine to get a hand on a fresh installation of Fedora.

Troubleshoot

When you try to run Fedora, it may take you to the boot menu, and to avoid that, you need to detach the ISO file from the Storage section like the below-attached image.

Uncheck ISO file in VirtualBox

If you are not able to connect your Fedora machine locally through an SSH connection, then you need to change the Network Adapter setting, or else you can check the SSH service status before that change the type of network adapter in VirtualBox.

To change, first go to the settings of your Fedora Virtual Machine and change the tab to the Network section. Under the Network Section by Default, you will find NAT. Change it to “Bridge”, and specify the active network interface of your current host.

Default Network Adapter setting in VirtualBox Change NAT to BridgeVirtualBox Network setting change for SSH

After following the above changes, you can use VirtualBox on your local network, and still, if you face some issues while starting, you can refer to this link:

Читайте также:  Find linux process start time

Watch Video

Wrap up

That’s all to install Fedora on your VirtualBox.

A man with a tech effusive who has explored some of the amazing technology stuff and is exploring more. While moving towards, I had a chance to work on Android development, Linux, AWS, and DevOps with several open-source tools.

Источник

How to install Fedora on VirtualBox

fedora desktop

F edora, first released to the market as Fedora core, is a Linux distro developed by members of the Fedora Project. Red Hat supports it alongside other companies. This is one of the most stable and bleeding-edge Linux distros out there that centralized its project around generating a multi-purpose OS of free software packages. It is great for office work, software development, multimedia, web development, and more.

Fedora releases a new version of the software every 6-8 months. For example, when this article was written in December 2022, Fedora 37 was the latest version of Fedora’s workstation. This version features the latest release of the GNOME Desktop Environment -GNOME 43. It also has a bunch of updated software packages.

There are various approaches to trying Fedora if you are currently running another OS. One way that will impact your current OS is to create Fedora’s live USB and directly boot it into your system’s hardware. On the flip side, you could deploy a virtualization tech like VMware or VirtualBox to run a Fedora install. The virtualization approach permits you to work on your Fedora install without restarting your system at each instance you want to use Fedora. It does not also impact your primary operating system.

One pro of using a virtualization tech is that it allows you to carry out some risky stuff like hacking or running some test software on a spare installation without damaging your primary OS; as such, you have the option of starting from zero time and again without losing any of your works on a virtualized OS. Also, you can restore a backup of your virtualized system if something goes wrong in the test.

What is a VirtualBox?

VirtualBox is a well-known virtual machine app that allows you to try out several operating systems like Linux and windows without necessarily having to install them into your hardware physically.

This tool runs on top of your system and, in brief, emulates computer hardware(however, in a real sense, the subject is a little bit more complex than perceived). A VirtualBox allows you to configure a couple of virtual machines, configure several hardware specifications like RAM, type of chipset (PIIX3 or ICH9), number of virtual CPUs, up to four network cards, and which model, how many virtual hard disks, audio device, boot order, and a couple of other things.

Also, you can install as many VMs as you want and run them simultaneously, in this case, as much as your physical hardware can support.

With that covered, let us now focus on the core part of the guide, where we will discuss how to install Fedora on a VirtualBox.

Requirements

Let’s get the article going!

Источник

Оцените статью
Adblock
detector