I've been trying to install Guest Additions for Raspbian Desktop on VirtualBox hosted on Linux. The script won't run even under root. How is it possible?

enter image description here


2 Answers 2


8. of the preferred answer here. Not much of an explanation, yet it certainly works.

# sh /media/cdrom0/VBoxLinuxAdditions.run

In my case this worked for me.

$ sudo apt update

$ sudo apt install build-essential module-assistant dkms

$ sudo m-a prepare

then select the menu devices/insert guest...

CD is mounted and select ok

$ sudo sh /media/cdrom/VBoxLinuxAdditions.run

$ sudo reboot

proudly borrowed from, https://www.neontribe.co.uk/debian-virtualbox-guest-additions/

I don't know why root wouldn't work for me sudo -i was enough

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.