How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox

Posted on

Introduction

This article will show how to mount an ISO image file in Linux CentOS 8 virtual server. The term virtual server is also associated with guest machine. It is a term for a virtual server run in any type of virtual machine manager. In this context, the virtual machine manager application is VirtualBox. Actually, mounting an ISO image file is very important. For an example, if there is an urge for installing VirtualBox Guest Additions in the virtual server. It will enhance the functionality of the virtual server itself.

 

Mounting ISO image file in Linux CentOS 8 running in VirtualBox Application

So, the following are steps for mounting an ISO image file in Linux CentOS 8 running in a VirtualBox application :

1. First of all, obviously execute the VirtualBox application. The display will appear as in the following image :

How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox
How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox

2. Select the virtual server as in the above image of VirtualBox application. The example above is a virtual server with the label of ‘CentOS-8’. Right click on it. Then, select the Settings menu. The following Settings Windows will appear :

How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox
How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox

3. Continue on the next step, access the Storage menu. The following image will appear :

How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox
How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox

4. Next step, click the plus icon sign at the right side of the Controller:IDE storage devices. The following image will appear :

How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox
How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox

In order to have an ISO image appear on the list above, just read the article with the title of ‘How to Add ISO Image File in the VirtualBox Application’ in this link.

5. In this context, since the main target is the VBoxGuestAdditions.iso for an example, just select the file as in the following image :

How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox
How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox

6. After selecting the suitable ISO image file, just click the Choose button. So, the following setting for the Storage Device will appear as in the following image :

How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox
How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox

7. Then, click the OK button. After that, start the virtual server. If the virtual server is running the Linux CentOS 8 successfully, the following image appear :

How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox
How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox

8. Soon after, just log in to the virtual server. Either logging in directly to the virtual server or accessing remotely using SSH tool. Read the article with the title of ‘How to Remote CentOS Virtual Server running in a VirtualBox with a NAT Network using SSH’ in this link to be able to remote virtual server.  Just execute the following command :

mount /dev/cdrom /mnt/cdrom

It exist as in the following image display :

How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox
How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox

The above display is the process for mounting ISO image file in the Linux CentOS 8 operating system. By accessing remotely via SSH, the virtual server shell or command line interface is available. But in the above context, sudo command is an additional command since the execution of the command is using a normal user.

The sudo command is important in other to be able to execute a command as another user. Without specifying the user, it will allow the user to execute the command with a root privilege. Just read the article with the title of ‘How to Add User as Super User in CentOS 8 running in a VirtualBox Application’ in this link to read more about sudo command.

 

 

Checking Mounted ISO Image File Linux CentOS 8 running in VirtualBox Application

Finally, after successfully mounting the ISO image file, just check the content of it. Since it is mounted in ‘/mnt/cdrom’, check the content of that path. The following image is displaying the content of the mounted ISO image file :

How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox
How to Mount ISO Image File in Linux CentOS 8 Running in VirtualBox

Leave a Reply