Install CentOS 8 on VirtualBox

|
Last Updated:
|
|

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.

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

SUPPORT US VIA A VIRTUAL CUP OF COFFEE

We're passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!

Photo of author
koromicha
I am the Co-founder of Kifarunix.com, Linux and the whole FOSS enthusiast, Linux System Admin and a Blue Teamer who loves to share technological tips and hacks with others as a way of sharing knowledge as: "In vain have you acquired knowledge if you have not imparted it to others".

8 thoughts on “Install CentOS 8 on VirtualBox”

  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

    Reply

Leave a Comment