On VirtualBox, if you create a virtual machine or install an app on the guest device, you will probably need to mount an ISO file to access the setup files. An ISO file is a container (a “disk image”) containing an exact copy of all the contents on a physical disc. Also, since no physical discs are involved, it has become the most common method to ship software and other information over the internet.
Using VirtualBox, you can connect ISO files in at least two ways through the VirtualBox Manager or from the virtual machine interface when the guest operating system is running.
This guide will teach you two ways to insert an ISO file into a VirtualBox virtual machine on Windows 10 (or 11).
Mount ISO to virtual machine with VirtualBox Manager
To mount an ISO file to a VM through the VirtualBox Manager, use these steps:
-
Open VirtualBox on Windows 11.
-
Right-click the virtual machine and select the Settings option.
-
Click on Storage.
-
Under the “Storage Drives” section, select the disc (Empty) item.
-
Under the “Attributes” section, click the disc icon and select the “Choose a disk file” button.
-
Select the ISO file.
-
Click the Open button.
-
(Optional) Check the Live CD/DVD option to keep the ISO mount even when the guest operating system tries to eject it.
-
(Optional) Check the Hot-pluggable option to make the virtual drive appear as a hot-pluggable peripheral.
-
Click the OK button.
Once you complete the steps, the ISO file will mount to the virtual machine. If this is an installation media, the setup will appear on the guest device. If you connect the image to a virtual machine, the disk will appear in the operating system.
If you want to unmount the ISO file, click the “Choose a disk file” button while in the “Storage” settings and select the “Remove disk from virtual drive” option.
Mount ISO to running virtual machine on VirtualBox
To mount an image file while the VirtualBox guest machine is running, use these steps:
-
Open VirtualBox.
-
Right-click the virtual machine, select the Start submenu, and choose the Normal start option.
-
Click the Devices menu.
-
Select the Optical Drives submenu and the “Choose a disk file” option.
-
Select the ISO file.
-
Click the Open button.
After you complete the steps, the ISO file will mount to a virtual drive.
If you want to unmount the ISO file on Windows 11 (or 10), open “File Explorer,” right-click the disk drive in “This PC,” and select the “Eject” option.
Alternatively, on VirtualBox, you can open the “Devices” menu, select the “Optical Drivers” submenu, and choose the “Remove disk from virtual drive” option.
If the optical device feature doesn’t work, you could alternatively mount the image to the host operating system, extract its content, and then make it available to the guest machine using a shared folder.
Leave a Reply