Install CentOS 8 on VirtualBox

5
1794

So CentOS 8 is just released a few days ago and you would like to test it? Well, let us learn how to install CentOS 8 on VirtualBox.

Install CentOS 8 on VirtualBox

The installation of CentOS 8 on VirtualBox follows the same process you usually use to create VirtualBox VMs.

Download CentOS 8 ISO file

First things first. Get the CentOS 8 iso file from CentOS Mirror. You can simply grab a download link and use wget to pull the iso file.

wget -c http://isoredirect.centos.org/centos/8/isos/x86_64/CentOS-8-x86_64-1905-dvd1.iso

Create New VirtualBox VM

Launch VirtualBox and create a new VM with your preferred settings such as networking, disk, system resources etc.

CentOS 8 VM settings

Attach CentOS 8 Installation ISO

Once you have created and setup a new VirtualBox VM for CentOS 8, click Storage > Controller:IDE.

Next, click the disk like icon with a plus sign to choose the CentOS 8 disk to attach.

Attach CentOS 8 iso file

Install CentOS 8 VM

Once you have setup your VM and attached the CentOS boot disk, start the vm to begin the installation.

When it runs, select the first installation option, Install CentOS Linux 8.0.1905.

Install CentOS 8 on VirtualBox

Next, choose your installation language, the installation disk and click Begin Installation to proceed with installation.

Want to Install the CentOS 8 minimal version instead? Click on Software Selection. (By default, Server with GUI is selected for install).

Install Minimal CentOS 8 virtualbox

Next, select Minimal Install > Done and begin the installation.

Install Minimal CentOS 8 on Vrtualbox

This guide installs server with GUI CentOS 8 edition.

Set your root password and if you want, create a non-root user account and proceed.

CentOS 8 user settings
Install CentOS 8 on VirtualBox

After the installation completes, instead of rebooting your CentOS 8 virtual machine just power it off and detach the installation ISO file from the storage, otherwise the installation process will reinitiate.

Running CentOS 8 Server on VirtualBox

Once you have detached the installation medium, boot up your CentOS 8 virtual machine.

Accept CentOS 8 EULA

CentOS 8 requires that your accept the End User License Agreement.

CentOS 8 End User License Agreement

Hence, click on the License Information and accept the license.

Accept CentOS 8 EULA

Click Done and finish the configuration to proceed to CentOS 8 desktop.

CentOS 8 Login

Login to your CentOS 8 system.

CentOS 8 virtual machine

That is all about how to install CentOS 8 on VirtualBox.

Related Tutorials

AutoStart VirtualBox VMs on System Boot on Linux

Resize Root Partition of VirtualBox VM Snapshot

Install VirtualBox Guest Additions on Debian 10 Buster

Install Debian 10 Buster on VirtualBox

5 COMMENTS

  1. After Installing CENTOS 8 as VBoxs Guest the display is corrupted and can’t be used.
    A restart doesn’t solve the problem.

    CentOS 8 is complete unuseable as VirtualBox guest due to display error’S

LEAVE A REPLY

Please enter your comment!
Please enter your name here