Learn How to install rocky linux 8.4 on virtualbox 6.1 In 10 Minutes Or Less

Rocky Linux is an open source, community driven operating system that is led by Gregory Kurtzer, founder of the CentOS project. It is an enterprise grade, production ready operating system, that can be downloaded from the rocky linux website for free and deployed as virtual machine or any x86_64 / ARM64 (aarch64) hardware platform. The Rocky Linux community also developed created the migrate2rocky tool to aid in the conversion to Rocky Linux 8.4 from other Enterprise Linux systems. This tools makes the migration process from other linux distributions to rocky much more simpler. ROCKY LINUX 8.4 comes new modules which are Python 3.9, SWIG 4.0, Subversion 1.14, Redis 6, PostgreSQL 13, MariaDB 10.5 and more as well as major changes and improvements in security, networking, kernel components of the system. This tutorial is a step by step guide that will teach you how to install ROCKY LINUX 8.4 On Oracle VM Virtualbox 6.1. You will also learn how to install virtualbox guest additions for ROCKY LINUX as well as how to create a shared folder. Click on the button below to download a FREE PDF copy of this tutorial. You can also share this tutorial with friends and collegues using the SHARE button below.


In order to complete this tutorial successfully, the following is a list of items that may be needed. Please ensure to have these items available before taking implementation action on this tutorial:
1) The ROCKY LINUX 8.4 disk image file (DVD ISO FILE)
2) Oracle VM VirtualBox 6.1 or any newer version
3) A desktop or laptop  with a dual core processor, 4GB of RAM and atleast 50GB of free disk space
4) An internet connection to check for and install ROCKY LINUX updates
5) The virtualbox extension pack and virtualbox guest additions


1) Rocky Linux minimum system requirements
2) Download ROCKY LINUX 8.4 from the rocky linux website
3) Open virtualbox and create a new redhat based virtual machine
4) Attach the ROCKY LINUX disk image file to the virtual machine
5) Start the virtual machine and install ROCKY LINUX then check for updates, install virtual box guest additions and create a shared folder

System Requirements

1) The table on the right shows a list of minimum system requirements that are needed to deploy ROCKY LINUX as a physical or virtual machine successfully. You can also use this list to configure the virtual hardware of a virtual machine.

Step 1: Download ROCKY LINUX 8.4 from the rocky linux website.

2) Click HERE to go to the ROCKY LINUX download page to download a copy of the installation disk image file.  ROCKY LINUX is available for two main architectures which are x86_64 and ARM64 (aarch64).

click on the DVD download link for you system architecture. Please note that the ISO file is about 9 GB in size.

3) To speed up the amount of time it takes to download the ISO file you can use a download manager such as INTERNET DOWNLOAD MANAGER (IDM). It splits the download file into multiple smaller files to speed up the download then automatically combines the file on your device.

IDM is a paid product but you can use it for free for a limited period of time.

STEP 2: Open Virtualbox And Create A New Redhat Based Virtual Machine.

4) Open VIRTUALBOX 6.1 and click on the NEW button to open the virtual machine creation wizard.

By default, the wizard opens in GUIDED MODE, however a faster way of creating the virtual machine in to use the EXPERT MODE. Click on the EXPERT MODE button to change mode.

5) Set a name for the virtual machine on the NAME text input box, set the TYPE to LINUX and the VERSION to REDHAT (64 BIT) and click on CONTINUE

6)The next step is to set the amount of memory to allocate to the virtual machine. Use the memory slider to set the amount of memory to 2048MB and click on CONTINUE.

7) The virtual machine creation wizard will ask if you would like to create a new virtual hard disk, if you would like to use an existing virtual disk or if you do not want to create a virtual hard disk.

Click on the CREATE A VIRTUAL HARD DISK NOW option and click on CREATE.

8) VirtualBox will now request you to choose the file type for the virtual hard disk. By default virtual box supports the VDI VHD and VMDK file types which gives you the flexibility to move the ROCKY LINUX virtual machine to a different virtualization software in future.

In this case we are creating a virtual machine for virtulbox, select the VDI (VIRTUALBOX DISK IMAGE option) and click on CONTINUE.

9) Next, choose if you would like the virtual hard disk to the dynamically allocated or a fixed size. A dynamically allocated disk will onlu use space on your physical hard disk as it fills up (although it will not shrink again when space is freed) and a fixed size hard disk will take up all allocated physical disk sopace when it is created.

Click on the DYNAMICALLY ALLOCATED option and click on CONTINUE.

10) Next, click on the FOLDER icon to select a location to save the virtual hard disk, though we recommend that you leave the default location that has been set.

Proceed by setting the size of the virtual hard disk and click on CREATE

Step 2: Attach The ROCKY LINUX Disk Image File To The Virtual Machine

11) Right click on the newly created virtual machine and click on SETTINGS. Click on the STORAGE tab, click on the ADD NEW STORAGE button and select OPTICAL DRIVE.

12) Click on the ADD button, browse to the folder were the ROCKY LINUX disk image file is located and click on OPEN.

13) Select the ROCKY LINUX ISO file and click on  CHOOSE

14) Next, click on the empty optical drive and click on REMOVE as shown in the image on the right then click on OK.

Step 3: Start The Virtual Machine And Install ROCKY LINUX Then Check For Updates, Install Virtualbox Guest Additions And Create A Shared Folder

15) Right click on the virtual machine and click on  START > NORMAL START

16) Use the up or down key on your keyboard to select the INSTALL ROCKY LINUX 8 option and press ENTER.

17) On the WELCOME TO ROCKY LINUX 8 screen, select ENGLISH and ENGLISH (UNITED STATES) and click on CONTINUE.

18) Click on the INSTALLATION DESTINATION button, click on the 30GB virtual hard disk and click on DONE.

19) Scroll down to the USER SETTINGS section and click on the ROOT PASSWORD button. Set a password on the password input boxes provided and click on DONE.

proceed by clicking on the USER CREATION button,  enter a user name and password on the spaces provided and click on DONE.

20) Click on the BEGIN INSTALLATION button, to start the installation process. You will see a installation progress bar with status messages of all installation steps.

Wait for the installation process to complete.

21) Once the installation process is complete, click on the REBOOT SYSTEM button to restart the virtual machine and start using ROCKY LINUX!

22) When ROCKY LINUX starts up for the first time, you are required to accept the terms and conditions of use that are outlined in the LICENSE AGREEMENT.

Click on LISENCE INFORMATION to proceed.

23) Click on the “I ACCEPT THE LICENSE AGREEMENT” checkbox and click on DONE


24) Next, enter  the username and password that you set at the beginning of the ROCKY LINUX installation and click on SIGN IN.

25) On the WELCOME screen, select the LANGAUGE you would like to use in ROCKY LINUX from the list of languages and click on NEXT.

26) Proceed by selecting your keyboard layout or input method from the list of keyboard layout options and click on NEXT. Usually the default option that is already selected is best.

27) On the PRIVACY page, if you would like apps to be able to determine your geographical location, toggle the LOCATION SERVICES  switch to ON and click on NEXT.

28) On the ONLINE ACCOUNTS page, you can connect your social media and web services accounts so as to easily access your email, online calendar, contacts, documents and photos.

However if you would like to skip this step, click on the SKIP button.

29) Once the initial post insta;;ation process is complete, click on the START USING ROCKY LINUX button to proceed to the next step.

30) To install ROCKY LINUX updates, click on ACTIVITIES and click on the TERMINAL icon. Run the following command to install updates:

sudo dnf update

sudo dnf upgrade.


31) To install virtualbox guest additions, click on DEVICES > INSERT GUEST ADDITIONS CD IMAGE.

Click on ACTIVITIES and click on FILES. Click on the VBOX cd drive and click on RUN SOFTWARE.

32) A popup message will be displayed prompting you if you would like to run the VIRTUALBOX GUEST ADDITIONS software. Click on RUN to proceed.

33) Next, enter the password for the ROCKY LINUX root user account and click on AUTHENTICATE.

34) You will see some output display in the ROCKY LINUX terminal window, showing information about the installation progress.

Press the SPACE bar on your keyboard when the installation is complete and restart the virtual machine. 

35) To create a virtualbox shared folder so you can access files stored on your host computer from the ROCKY LINUX virtual machine, right click on the virtual machine and click on SETTINGS. Click on the SHARED FOLDERS tab and click on the ADD NEW FOLDER button.

36) Select a folder you would like to access on the FOLDER PATH folder selection field, enter a name for the folder on the FOLDER NAME text box, click on the AUTO MOUNT and MAKE PERMANENT check boxes and click on OK.

37) To view the shared folder and access its contents, open the FILES application, click on OTHER LOCATIONS and click on NETWORKS