Unable to Install the VirtualBox Guest Additions to My Ubuntu VM

Started by kalpana, Nov 08, 2023, 04:21 AM

Previous topic - Next topic

kalpana

Hi All,

I am trying to setup my virtual box lab environment, but I am unable to install VirtualBox Guest Additions. Host (PC) is Windows and Guest is Ubuntu.

I already went through these steps.

1. Update Ubuntu

$ sudo apt update
$ sudo apt install build-essential dkms linux-headers-$(uname -r)

2. On the virtual machine window, click on Devices > Insert Guest Additions CD Image.

3. On the command line type the command:

$ sudo ./VBoxLinuxAdditions.run

Error Message: sudo: /.VBoxLinuxAdditions.run: command not found

Alternatively, I used sh ./VBoxLinuxAdditions.run

Error Message: sh: 0: cannot open ./VBoxLinuxtAdditions.run: No such file

From the disk image from the desktop, I click VBoxLinuxAdditions.run to no avail. What do I do now?

References used:

a.https://www.youtube.com/watch?v=Kbez-XdXqrw&t=120s

b.https://docs.oracle.com/en/virtualiz...ngadditionsiso

c. https://linuxconfig.org/install-virt...on-linux-guest

d. https://help.ubuntu.com/community/Vi...561.1658085098