Rocky Linux 9.1 was officially released on November 22, 2022, and supports x86-64, aarch64, ppc64le, and s390x architectures. Notable changes include:
- New module stream versions include PHP 8.1, Maven 3.8, Node.JS 18, and Ruby 3.1 to mention a few.
- New compiler toolset versions including Rust 1.62, LLVM 14.0.6, GCC 12, and Go 1.18.
- Keylime. This is a remote boot attestation and runtime integrity management solution that leverages the TPM (Trusted Platform Module) module.
- Vagrant images are now available for x86-64 and aarch64.
- Container images are now available for all x86-64, aarch64, ppc64le, and s390x.
For more information and additional major changes in Rocky Linux 9.1, check out the release notes in the official documentation.
This is a three-part guide that constitutes the following sections.
[ez-toc]
Without much ado, letβs get started!
1. Install Oracle VM VirtualBox on Windows
The first step is to install Oracle VM VirtualBox on which you will install your instance of Rocky Linux 9. Therefore, head over to the Oracle VM VirtualBox download page and select βWindows Hostsβ to download the executable file.
The download will commence and the installation file will be saved in the βDownloadsβ folder. To begin the installation, double-click the VirtualBox installation file.
On the UAC (User Access Control) pop-up, click βYesβ to proceed with the installation.
This launches the Oracle VirtualBox installation wizard as shown. The installation is quite a breeze and all you need is to click βNextβ or βYesβ all the way to the final step where you will hit βInstallβ.
The first step is the βWelcomeβ step. Just click βNextβ to proceed.
Next is the βCustom Setupβ step. By default, the Oracle VirtualBox files are stored in the C:\Program Files\Oracle\VirtualBox path. Unless necessary, it is recommended to maintain the default path as it is.
So just click βNextβ.
You will get a warning about the network connections being reset in addition to a new virtual network interface being created. To proceed, click βYesβ.
You might encounter a warning about missing dependencies (Python Core and Win32api). In our case, these were not installed. But fret not, the dependencies can manually be installed later on.
So click βYesβ.
Then click βInstallβ to begin the custom installation of Oracle VirtualBox.
This takes a minute or two at most. Finally, click βFinishβ to complete the installation and exit the Wizard.
The Oracle VirtualBox GUI manager will be displayed as shown. In the next section, we will create a virtual machine for Rocky Linux 9.
2. Creating a Virtual Machine for Rocky Linux 9
To create a virtual machine, click the βNewβ button shown below.
This launches the virtual machine creation wizard. In this step, specify the virtual machine details which include the Name, default folder of the virtual machine, and the path to the Rocky Linux ISO image.
Then click βNextβ.
In this step, specify the amount of memory (RAM) and CPU cores to allocate to the virtual machine.
Then hit βNextβ.
In the next step, specify the size of the virtual hard disk by dragging the slider back and forth, and once satisfied with your selection, click βNextβ.
Finally, review all the selections made, and if all looks good, click βFinishβ to exit the installation Wizard. Otherwise, click βBackβ and make the required changes.
Once created, the virtual machine will be displayed on the right pane as shown below.
3. Installing Rocky Linux 9 on VirtualBox
To start the installation, click the βStartβ button on the menu bar or double-click the rocky-Linux virtual machine icon on the left pane as shown earlier.
Once the virtual machine starts, you will get a black screen with a list of menu options. Select the first option βInstall Rocky Linux 9.1β and hit ENTER.
You will see a flurry of boot messages as the system powers on.
The installer will be initialized and the Rocky Linux 9 installer will finally come into view, and the welcome page will prompt you to select the installation language. Select your preferred language and click βContinueβ.
This displays an βInstallation Summaryβ window showing various components that need to be configured before the installation gets underway. These components are categorized into the following sections:
- Localization
- Software
- System
- User Settings
Let us go over each of these salient components.
We will start off with the βLocalizatonβ section which comprises three key sub-sections: Keyboard, Language Support, and Time & Date.
Configure Keyboard
Click βKeyboardβ. By default, it is set to English(US). You can verify this by typing some text in the provided text field. If all looks good click βDoneβ. Otherwise, if you want to add a new layout, click the plus sign [ + ] at the bottom left, add your preferred keyboard layout, and click βDoneβ.
Configure Langauge
Next, click βLanguage Supportβ and select your preferred language.
Configure Time and Date
Thereafter, click βTime and Dateβ and set the correct time and date settings as per your timezone. You can easily do this by selecting your geographical region on the map provided.
Then click βDoneβ.
Next, up, we have the βSOFTWAREβ section that contains the βInstallation Sourceβ and βSoftware Selectionβ sub-sections.
Configure Installation Source
Click the βInstallation Sourceβ option. By default, the installation media is automatically detected and the AppStream repository is set as the default repository. Therefore, go along with the defaults and simply click βDoneβ.
Software Selection
The βSoftware Selectionβ sub-section provides you with an array of base environments to choose from and additional software for a selected environment. In this case, we have chosen to go with a βServer with GUIβ base environment and a few additional packages. Once you have completed making your selections, once again, click βDoneβ.
The βSYSTEMβ section is another yet crucial section. Here, you will partition your hard drive and also configure networking.
Installation Destination
Next up, click βInstallation Destinationβ. By default, automatic partitioning is the partitioning format. You can choose to go with this as it makes work easier.
The installer intelligently partitions the hard drive and assigns the filesystem and partition size. This is recommended partitioning format for novices or beginners at Linux who are not familiar with manual partitioning.
In this guide, we will take a different approach and demonstrate how you can manually configure the disk partitions. To get around this, under the Storage Configuration section, switch from βAutomaticβ to βCustomβ and click βDoneβ.
This takes you to the βManual Partitioningβ section as shown. We are going to partition the hard drive as follows.
/ (root partition) - 25GB /boot - 1GB /home - 20GB Swap - 4GB
To get started with creating the partitions, click the plus sign [ + ] as shown.
On the pop-up that appears, specify the mount point name and the memory size. Then click βAdd mount pointβ.
You can see the boot partition has been created and listed on the left panel.
Repeat the same drill for the root ( / ) partition.
For /home partition.
And create the swap partition.
This is how our partition table looks. All the crucial partitions have been created. You should have a similar table indicating the created partitions.
To save the changes, click βDoneβ.
A table with all the changes that will be effected will be displayed as shown. Click βAccept Changesβ to save the partitions on the hard drive.
Network and Hostname
Next up, you need to configure the network and hostname. Turn on the toggle to enable network connection and in order to automatically acquire an IP address from the router or DHCP server.
In addition, you can specify your preferred hostname and click βApplyβ.
Then click βApplyβ.
If you wish to set a static IP, click βConfigureβ and navigate to βIPv4β settings, and then click βAddβ.
Fill out the IP address, netmask, and gateway addresses. Be sure to also specify the DNS servers and click βSaveβ.
User Settings
Finally, we have the βUSER SETTINGSβ section that requires you to specify the root account password and create a regular login user account.
Specify the root password and confirm it. You can also decide to enable SSH root login with a password. This is totally up to you.
Then click βDoneβ.
In this βUser Creationβ section specify the regular user details such as full name and username and specify the password.
Then click βDoneβ.
All the crucial components have been successfully configured. The βKDUMPβ and βSecurity Profileβ can be left in their default state as they wonβt affect the installation process.
Begin Rocky Linux Installation
To begin the installation process, click βBegin Installationβ.
The installer will start copying the files from the ISO image to the hard disk. The process can take quite a while, depending on your system specifications. This is an ideal time to take a break and let the installer do its job.
Once the installation is complete, click βRebootβ system in order to boot into your fresh installation of Rocky Linux 9.1.
Booting into Rocky Linux 9.1
Once the system boots, you will get a login screen with the username name of the newly created user displayed.
To log in, click on the user account icon, provide the userβs password, and press ENTER.
Once you have logged in, you will see a βWelcome to Rocky Linuxβ pop-up which offers to take you through a tour of the system in order to help you get started. You can opt to take the tour or cancel by selecting βNo Thanksβ β the decision is entirely up to you.
Finally, you will see the GNOME 40 desktop environment. From here, you can start using your fresh Rocky Linux 9.1 installation.!
You might also like:
Conclusion
In this guide, we started off by installing Oracle VM VirtualBox on Windows 11. We further went a step further and created a virtual machine and finally documented how to install Rocky Liinux 9.1 on Oracle VirtualBox.
Thatβs it for now. We trust you found this guide beneficial. Your feedback is welcome.
If this article helped you solve a problem, consider buying a coffee. It helps keep TecMint free, supports the authors, and keeps the project going.

Got Something to Say? Join the Discussion... Cancel reply