Virtual machines require some form of installation media, whether it be a template, assembly, ISO file, or mounted ISO file. Different domain types may require slightly different installation source files.
So, this article will describe the steps involved in creating a Virtual Machine, mounting the ISO file of your Operating System, booting from it, and starting the installation.
You might be interested in Setting Up Microsoft Teams on MacOs: A How to Guide and How to Password Protect a Folder in a Mac
What’s Virtual Machine?
A virtual machine is a program you run on a computer that acts like it is a separate computer. It is basically a way to create a computer within a computer.
A virtual machine runs in a window on the host computer and gives a user the same experience they would have if they were using a completely different computer. Virtual machines are sandboxed from the host computer. This means that nothing that runs on the virtual machine can impact the host computer.
Virtual machines are often used for running software on operating systems that software wasn’t originally intended for. For instance, if you are using a Mac computer you can run Windows programs inside a Windows virtual machine on the Mac computer. Virtual machines are also used to quickly set up software with an image, access virus-infected data, and test other operating systems.
How to Set Up a Virtual Machine (VirtualBox)
Step 1: Create a virtual machine, to do so open VirtualBox and click “New” from the toolbar.
Step 2: Enter any name for your Virtual Machine and select the Operating System you’re going to use as your GUEST OS.
Step 3: Select the RAM size to be allocated to your guest OS, choose this wisely it should be equal to or more than the minimum system requirement of your guest OS at the same time if it goes more than 50% of your physical machine’s RAM it’ll slow down your host OS.
Step 4: You need to create a Virtual Hard disk for your Virtual Machine, this is just a file with a .vdi extension which will contain all files stored inside that virtual machine.
Step 5: Choose a size suited for your guest OS and select the “Dynamically expanding disk” if you want to save disk creation time and file size.
If you choose “Fixed size disk” it will take up the entire size specified but the performance of your Virtual Machine will be better. After clicking finish move on to the next step.
Step 6: Right-click the newly created Virtual machine and go to settings.
Step 7: Select storage from the left side list, select the CD icon and from the right select “Choose a virtual CD/DVD disk file”, navigate to the ISO image file of the OS on your computer. Now the OS image is mounted to your Virtual machine.
Step 8: To change the boot device order of your virtual machine go to the “System” option from the left side list, select Hard Disk and click the up arrow to bring it to the top of the list. Make the CD/DVD-ROM the second device and uncheck the other devices.
Step 9: To start the virtual machine double-click the VM, a window opens where you can press F12 if you want to select a device of your choice to boot.
Step 10: To boot from the CD-ROM press c.
Your VM will now boot from your Operating System image file and the OS installation will start as usual. Congratulations! You’ve run your first Virtual Machine in VirtualBox.
We hope you find this guide helpful, kindly leave a comment if you have any questions.