[SOLVED]: How to Install RHEL 8 on VirtualBox ?

Install RHEL 8 on VirtualBox

  • In this article, we will see how to install RHEL 8 (8.6) on virtual box
  • Below 7 steps can be used to install RHEL8 on virtualBox

Step 1: RHEL 8.6 ISO download

  • Login to RHEL Developers portal and navigate to RHEL download page .
  • Select the ISO type, for this exercise i have used DVD iso. post selecting you will be redirected to download page

How to Install RHEL 8 on VirtualBox ?

  • Click on Download RHEL at no-cost

How to Install RHEL 8 on VirtualBox ?

  • Download should start immediately, if you are facing any issue in download, you can use the direct link for downloading
  • In the drop down, you can select the required software you want to download

How to Install RHEL 8 on VirtualBox ?

 

Step 2: Create Virtual Machine

  •  Click on New or the gear button to start creation of the VM. Create a Redhat Based Virtual Machine on the Virtual Box.

Install Rocky Linux 8 On VirtualBox

  • Name the VM (RHEL 8.6)
  • By default, Type and Version will get filled, if not Version  as Red Hat (64 bit) and Select Type  as Linux

 

How to Install RHEL 8 on VirtualBox ?

Assign RAM to RHEL VM

For smooth VM operation, it is recommended to use 4096 MB, ( 2048 MB is also sufficient)

How to Install RHEL 8 on VirtualBox ?

Step 3: Create Virtual Hard Disk

  • Create a virtual hard disk of size  40GB
  • Below screen shot shows the same

How to Install RHEL 8 on VirtualBox ?

  • Out of the available Hard disk file type , Select Virtual Hard Disk (VHD)

How to Install RHEL 8 on VirtualBox ?

  • Storage on physical hard disk can be set as "Dynamically allocated"

How to Install RHEL 8 on VirtualBox ?

  • Provide necessary disk size, 40GB in our case, and select the location for the vdi file to be placed

How to Install RHEL 8 on VirtualBox ?

Step 4: Select Bridged Adapter  for Networking

If you have downloaded minimal ISO, it is required to have internet connection to the created VM. Below steps can be used to do the same

  • Navigate to Network and Select Adapter1
  • Select Bridged Adapter  in Attached  to dropdown
  • Select the check box to Enable Network Adapter and Cable Connected

How to Install RHEL 8 on VirtualBox ?

Step 5: Attach RHEL 8.6 Image

  • The downloaded ISO image need to be attached to the VM
  • In VM settings, Navigate to storage and Click on Controller: IDE
  • Click on Empty and in the attributes tab , Click on the Disk icon
  • Select the  Choose a disk file , which opens up the file explorer
  • Navigate to the downloaded ISO image and select the image

How to Install RHEL 8 on VirtualBox ?

Step 6: VCPU allocation to the VM

  • In VM settings, Navigate to System and Select Processor
  • Under Processor tab, assign required VCPUs, by default 1 VCPU will be allocated
  • In my case I'm assigning 2 VCPUs

How to Install RHEL 8 on VirtualBox ?

Step7: Start RHEL Linux Installation

  • Select the created VM and click on the Start to begin the RHEL linux 8.6 installation on VirtualBox

How to Install RHEL 8 on VirtualBox ?

  • Up on starting the VM a screen will be loaded. Select Install RHEL Linux (use keyboard up and down keys) and click on Enter

How to Install RHEL 8 on VirtualBox ?

  • In the welcome screen, we can select the preferred language for installation process

How to Install RHEL 8 on VirtualBox ?

  • Create password for root user by selecting Root Password in the installation summary screen

How to Install RHEL 8 on VirtualBox ?

How to Install RHEL 8 on VirtualBox ?

  • Assign hostname(optional) and enable the network interface

How to Install RHEL 8 on VirtualBox ?

  • Once the required configuration is done, the Begin installation button become active and Click on Begin installation

How to Install RHEL 8 on VirtualBox ?

  • Once the installation process is started, it will take some for installation process to complete. Make sure internet is available to the machine as some package will be downloaded as part of the installation
  • Once installation is completed, Reboot machine, use Reboot System button seen in the screen

How to Install RHEL 8 on VirtualBox ?

  • Once Reboot is initiated, the VM will be booted from the OS installed on the VHD

How to Install RHEL 8 on VirtualBox ?

  • Once the boot up is successful, login prompt can be seen. you can use root user and the root password set during the configuration stage to access the VM

How to Install RHEL 8 on VirtualBox ?

 

Search on LinuxDataHub

1 thought on “[SOLVED]: How to Install RHEL 8 on VirtualBox ?”

Leave a Comment