Creating a VM using VirtualBox
- First verify that the virtualization option is enabled. You can do that by going to the BIOS of your machine. Under security menu, you can see the Virtualization option. If it is disabled, enable it and start the machine.
- Then download the Oracle Virtual Box software for your desired OS from Oracle Virtual Box and install the software.
- Next download the ISO image of the VM Operating System. For this, we used Ubuntu 22.04.5 lts.
- After that, install the ISO using Oracle VirtualBox by clicking "New" button and selecting the downloaded ISO file.
Tick the checkbox with Skip Unattended installation. (Otherwise the terminal cannot be opened. If you're using a different Ubuntu version this may not be necessary).
After clicking next you can select the Memory and processors. choose Memory as 4GB. Then install and create the virtual machine.
For further information refer this video: https://www.youtube.com/watch?v=nvdnQX9UkMY