Installing Guest additions in Ubuntu

Hi @Itachixkurosaki A few things you can try… First, make sure your VM has a decent internet connection becasee sometimes it’s just slow package downloads that make it look stuck. Simple ping google.com or wget something like ~ 100 MB to see if traffic is flowing.

If the network is fine, try running “sudo apt update” first should always be first before updates or package installs. Sometimes stale metadata causes things to hang on dependency resolution.

Also worth checking how much RAM and CPU you’ve given the VM. At least 2 GB RAM and 2 cores is a good minimum.

Oh, one more thing! Try inserting the Guest Additions image from the VirtualBox menu (Devices > Insert Guest Additions image) and running the installer from there.

If it still hangs, try running the install with:

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

Instead of linux-headers-generic that way you’re only grabbing the headers for your exact running kernel, which is less to download and compile.

Let us know what happens! Good luck!