
virtualbox & Install VirtualBox in Fedora, CentOS & RHEL Make sure the system is up-to-date and running with the latest Linux kernel. sudo apt-get install virtualbox-6.1 Now launch VirtualBox from the application menu or from the terminal by running the following command. You’ll see the default VDI storage location and size on the next screen, leave them as they are, and select Create. Install VirtualBox by running the following command.Choose Dynamically allocated and select Next.Choose VDI (VirtualBox Disk Image) and select Next. Next, you’ll need to choose the type of file you’d like to use for the virtual hard disk.Choose the Create a virtual hard disk now option and click Create. On the next screen, you’ll need to create a new hard disk for your virtual machine.You have two options to choose from you could either use Dynamically allocated storage which grows as you keep using the storage, or allocate a Fixed-size storage limit that offers faster performance. This portion will only be accessible to your virtual operating system, i.e., Ubuntu in this case. It enables you to install other operating systems in virtual machines. Open a terminal, and enter the following to update the repository: sudo apt-get update. The easiest way to install VirtualBox is by using the official Ubuntu repositories. You’ll also need to allocate a portion of your hard disk to the virtual machine. Installing Linux inside Windows using VirtualBox VirtualBox is free and open source virtualization software from Oracle. Option 1: Install VirtualBox from Ubuntu Repositories. For instance, if you have 16GB total RAM, allocate 4GB to the virtual machine. Ideally, you should choose to allocate about a fourth of your PC’s RAM.

Allocate Memory size to your virtual machine.
