Install Ubuntu using VirtualBox

Install Ubuntu using VirtualBox

In case Ubuntu external Terminal is not working and user has no rights to perform privileged operations

·

2 min read

  1. Install VirtualBox.

  2. Download ISO of Ubuntu.

  3. Open VirtualBox and press Create.

  4. Allocate RAM to the machine. To begin with, if you have 8 GB of RAM, you can allocate Ubuntu 2 GB. At 16 GB — 4 Gb. This setting can be changed before starting the VM.

  5. Create a virtual hard disk.

  6. If the initial 10 GB on the hard disk is not enough, you can enter expert mode and immediately allocate more space to the machine. By default, the virtual disk is dynamic, and its size can be changed in the future.

  7. After creating a machine, you can control the resources allocated to it if you click "Configure". By default, 1 CPU core gets into the machine, but more can be allocated.

  8. After the installation is complete, your Ubuntu will be available. Install the latest updates and restart the virtual machine.

  9. In case is external Terminal is not working press Ctrl+Alt+F3 in Ubuntu.

  10. You will need to go through the authorization process.

  11. In case your user has no rights to perform privileged operations:

    adduser yourusername sudo
    
  12. Then run:

    reboot
    
  13. After rebooting go to terminal again - Ctrl+Alt+F3 and run:

    sudo apt-get update
    sudo apt-get upgrade
    
  14. Update all apps through Ubuntu Software and reload.

  15. In VirtualBox after clicking on the menu item "Devices" → "Connect the disk image of the Guest OS Additions", launch the application, enter the user password and wait for the installation to complete, then press Enter.

  16. Install alternative termunal app like Tilix.

  17. Through Tilix run VBoxLinuxAdditions.run file.

  18. You can now setup screen properties - View -> Virtual Screen and bufer - Devices -> Shared Clipboard -> Bidirectional.