Install Ubuntu On Virtual Box
Install Ubuntu On Virtual Box
Select the amount of RAM for guest OS as per the green section of the bar
Create virtual disk to be used by guest OS
Change the maximum size of virtual disk (default is 10GB), we are changing it to 60GB
You will see the virtual machine created but it does not have iso file installed yet.
Before installing iso file for guest OS, we need to establish some setting, so right client on virtual
machine and click on setting option
In General option, go to Advance tab and select “Shared Clipboard” and “Drag n Drop” option as
Bidirectional (Default is disabled). This will allow to use copy-paste using clipboard between host
and guest OS
In System option, go to Processor tab, now select number of processors to be used for guest OS
(default is 1). This option is available only if you have multicore/multiprocessor machine
In Storage option, under Controller IDE click on Empty, this is the primary controller drive where
we need to specify the ISO file.
All other settings you can leave as default unless you want to change some settings.
After settings are set, we install Guest OS from iso file by clicking on start button
Select Language, click Install Ubuntu
Erase disk and install Ubuntu → It will not erase anything (this for the virtual disk)
Click Install Now
This to create ext4 partition in virtual disk where Ubuntu will be installed, Click Continue
Once again click on start button to start the Guest OS. Once the Guest OS boots login screen is
displayed.
6. To share files between Host OS and Guest OS follow these instructions
First install the Guest Addition, Devices, Insert Guest Addition CD Image
Click on Run
Authenticate the installation and wait for installation to complete
You will require to restart the Guest OS after the Guest Addition installation
Once the Share from Host OS is create you can mount it on Guest OS to a specific folder
Create a new folder in Guest OS sa “HostFiles” under home folder
Now mount the HostFiles folder to Share using “sudo mount -t vboxsf, SharedFiles
/home/ubuntu18/HostFiles”
Now you can share the files between Host OS and Guest OS using the share