Install Rocky Linux 9 on VirtualBox

|
Last Updated:
|
|

In this tutorial, you will learn on how to easily install Rocky Linux 9 on VirtualBox. With Rocky Linux 9 now being available, you might want to try it out and the best way out is through installing it as a virtual machine.

Install Rocky Linux 9 on VirtualBox

Download Rocky Linux Installation ISO file

Navigate to Rocky Linux downloads page and grab an ISO file for your specific system architecture.

Create New VirtualBox VM

Launch VirtualBox and create a new VM with your preferred settings such as networking, disk size, system resources etc.

Install Rocky Linux 9 on VirtualBox

Next, step through the new vm wizard to;

  • assign enough memory to the VM
  • Create hard disk for the VM
  • Set the hard disk type
  • Storage location and size

Attach Rocky Linux 9 Installation ISO to the VM

Once you have created and setup a new VirtualBox VM for Rocky Linux 9, higlight the vm open the settings.

Click Storage > Controller:IDE.

Next, click the disk like icon with a plus sign to choose the Rocky Linux 9 disk to attach.

rocky linux 9 virtualbox 2 1

You can also add other network interfaces for example;

  • Adapter 1 set it to NAT to allow the VM to access Internet via the host system.
  • Adapter 2 you can set it to host only just in case you want it to communicate with other vms on your host machine and even facilitate easy access from the host system.
rocky linux 9 virtualbox 3
  • Click Ok when done updating the Rocky Linux 9 vm settings.

Install Rocky Linux 9 Virtual Machine on VirtualBox

Once you have setup your VM and attached the Rocky ISO file, and done updating other settings, start the vm to begin the installation.

When it runs, select the first installation option, Install Rocky Linux 9.0.

Install Rocky Linux 9 on VirtualBox

Next;

  • Choose your installation language,
  • Under the installation summary;
    • set your Localization settings
    • Under Software summary, you can choose whether to install minimal version, server headless version (Server) or Rocky Linux 9 desktop version (Server with GUI).
    • Under System settings, choose the installation medium, set the networking
    • Under User settings, set the root account password as well as other user accounts.
Install Rocky Linux 9 on VirtualBox

Click Begin Installation to proceed with installation of Rocky Linux 9 desktop version.

Install Rocky Linux 9 on VirtualBox

After the installation completes, instead of rebooting your Rocky Linux 9 virtual machine just power it off and detach the installation ISO file from the storage, otherwise the installation process will restart.

Running Rocky Linux 9 on VirtualBox

Once you have detached the installation medium, boot up your Rocky Linux 9 virtual machine.

Grub menu, the first entry is selected by default.

Install Rocky Linux 9 on VirtualBox

And there you go!

Install Rocky Linux 9 on VirtualBox

If you installed the desktop version, go through the setup and create your standard user account ans start using Rocky Linux 9!

To finalize the installation such screenshot is login interface.

rocky linux 9 virtualbox 9

Sample login screen.

rocky linux 9 virtualbox 10

That is all about how to install Rocky Linux 9 Virtual Machine on VirtualBox.

Also check;

Install VirtualBox Guest Additions on Rocky Linux 9

Other Tutorials

Install Kali Linux 2022.2 on VirtualBox

Install Portainer on Rocky Linux

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".

Leave a Comment