

Insert Guest Additions ISO File Manually.Guest Addition ISO file can be inserted into the VM in two ways In order to install VirtualBox Guest Additions on Ubuntu 21.04, you need to have the Guest Additions ISO file. sudo apt update -y sudo apt upgrade sudo apt install dkms linux-headers-$(uname -r) build-essential Install VirtualBox Guest Additions on Ubuntu 21.04 If none if these packages is installed, you can simply use the APT package manager to install them. You can then install the missing tools by running the command apt update apt install dkms build-essential As you can see from the output, dkms and build-essential are not installed. The ii means that the package is installed.

sudo dpkg -l | grep -E "dkms|linux-headers-$(uname -r)|build-essential" ii linux-headers-5.11.0-11-generic 5.11.0-11.12 amd64 Linux kernel headers for version 5.11.0 on 64 bit x86 SMP Run the command below to verify if these requirements have already been installed.

Wait, a moment until the Ubuntu virtual machine is started.Again type sudo update-grub to apply your changes.įinally, reboot your system by typing sudo reboot.The final line should look like GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080" After splash word, click on space from the keyword.Go to this line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash".Provide the password for your superuser.Type the below command line sudo vi /etc/default/grub Once the Ubuntu virtual machine is started, right-click on any desktop, and select Open Terminal.Connect to your Ubuntu virtual machine.To show Ubuntu virtual machine in Full-Screen Mode by default, you should do the following: by default, the Ubuntu virtual machine display resolution is set to the recommended display resolution, and unfortunately, you can't change this setting from the GUI.

Change Ubuntu Display Resolution in Hyper-V and Virtual Box and VMwareĪctually, it's a known issue.
