Installing Rocky Linux 8 for the first time on VirtualBox.

Installing Rocky Linux 8 for the first time on VirtualBox.

Updates and releases of CentOS Linux 8 were discontinued on December 31, 2021, and will be discontinued for CentOS Linux 7 on June 30, 2024, and if you are working on a CentOs-based system and exploring other RedHat family-based OS then you have one of the options to try Rocky Linux.

Before jumping to a conclusion you can try once the Rocky8 on Virtual Machine.
Here, you can find the steps to try Rocky8 to try on VirtualBox and address a couple of issues during the installation.

Download the Oracle VirtualBox ( Download VirtualBox – https://www.virtualbox.org/wiki/Downloads)

Download the Rocky Linux. Recommended Version is 8.6 or greater (Download Rocky Linux: https://rockylinux.org/download/)

After downloading the above two and post-installing the VirtualBox. Open the VirtualBox and select the new button.

Screenshot-2022-12-06-000620.webp

In create Virtual Machine section, add the name of the Virtual Machine for example Rocky8.6 and change the Type to Linux.

Screenshot-2022-12-05-224625.webp

Select next then configure the Virtual Machine selecting RAM size, Disk size, Number of cores in the processor, and other UI settings. Increase the RAM size to 4096 i.e 4GB

Screenshot-2022-12-05-221820-2.webp

Add a disk to the virtual machine and create. You can add the disk size of 25 GB or more. Follow slighshow screen if you want the see the screenshots.

Screenshot-2022-12-05-221841-4.webp

After creating the virtual machine, you can increase the number of processors. Make it at least 2.

Screenshot-2022-12-05-222403.webp

Again go to the storage and then select on optical driver option. Now, select the Rocky Linux 8 ISO image.

Screenshot-2022-12-05-222019.webp

You can also make the general configuration bidirectional, it comes in handy post-installation.

Screenshot-2022-12-05-222145.webp

After saving the configuration, you can click on the start button that will launch the virtual machine and load the Rocky Linux 8 iso image for installation. Select the Install Rocky Linux 8 option from the boot screen.

Screenshot-2022-12-05-222315.webp

Select your prefer language –

Screenshot-2022-12-05-222553-3.webp

Click on the installation destination and by default, it would select the disk you attached in the previous step. Once you are sure the disk is selected you can press on done to continue. It should also remove the warning sign on the “Installation Destination”

Screenshot-2022-12-05-222614-3.webp

Screenshot-2022-12-05-222636-4.webp

Now, it’s time to create a user. Click on user creation and create the user name and add the password for the user. Also, make sure, you check box the “Make this user administration” This is to disable the root account. If you want a root user then you will have to add the password for it. Once the configuration is done press Begin Installation.

Screenshot-2022-12-05-222702-3.webp

Screenshot-2022-12-05-222803-2.webp

Screenshot-2022-12-05-222821-2.webp

Once installation is done press “Reboot System” and your Rocky 8 should start and bring the login screen.

Screenshot-2022-12-05-223752.webp

Read more