How Install VirtualBox Guest Additions on Ubuntu 22.04 Guest / virtual machine

preview_player
Показать описание
The new Ubuntu 22.04 LTS Focal Fossa is out now. But VirtualBox Guest Additions software is not working properly after installation. So this post shows the step by step procedure on how to install it properly.

Step 1. Install required packages.
Before installing VirtualBox Guest Additions on Ubuntu 22.04 we need to install some required packages. So open the terminal and run the following command.

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

Step 2. Install Guest Additions using virtual box.
In order To install VirtualBox Guest Additions on Ubuntu virtual machine, Got to VirtualBox - select the Devices from VirtualBox host application menu - click Insert Guest Additions CD image.

Step 3. This will open a pop up window and it will ask you to run it. Press Run button (see the picture below)
After pressing Run button it will install VirtualBox Guest Additions on Ubuntu 22.04 . Press enter to close the window.
Step 4. Shut down your Ubuntu 22.04 Guest.
Step 5. Start Ubuntu 22.04 virtual machine and check if copy and paste works.
Finish

★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

So I spent over an hour to find the solution for this error. I watched tons of videos and none worked. Finally, I found your video. Thanks goodness! You saved my life. Thank you very much for putting this video out here and helping lots of people struggling with the issue like I did. Really appreciated!

thuphan
Автор

At last there is some one who knows how things work, i searched all over internet but not able to find the solution. Keep up the good work and solved my problem. Your channel truly deserve like and subscription. Thank you once again

waseembari
Автор

Worked on this for many hours last night and got sooo close, but no cigar. Then, I found THIS video! Worked like a charm. Can't thank you enough!! I was already subscribed to your channel. I LOVE it!!! Thank you, thank you, thank YOU!!!!

codenamelatte
Автор

Finally a tutorial that works, thank you so much

joaocorona
Автор

Duuude.
I almost couldn't believe it when it finally worked. Like every other tutorial i've tried before failed. And that pissed me off even more since i initially tried dual boot with ubuntu and it screwed me up good time.
THANK YOU. My pain is gone
Edit: my problem wasn't even the screen, it was the bidirectional copy-pasting. This fixes that too.

TheLuckyyy
Автор

Very clear instructions. I was stumped earlier before watching the video. My Guest Virtual CD install was not happening automatically. Right clicking on the mounted folder was a brilliant idea! It beats entering long path name manually! I saw other videos before & nobody cared to mention it.

SanjayWale
Автор

Your work on this is much appreciated. Super clearly presented and saved lots of time.

jamielaci
Автор

Finally! Thank you for this tutorial. However, at 2:35, this newbie was a little lost. So I zoomed in and see that you typed "ls" as the command, then "./autorun.sh." Also, people should be warned not to use the MAXIMIZE button, you will get a black screen. I thought this didn't work. I realize you need to drag the windows slowly in the lower right. If you drag too fast, it will go black too. But if your screen goes black, just drag it back slowly to make the windows small again, the display will come back. To increase, drag slowly allowing the display time to catch up to the new size.

KungFuMojo
Автор

You're an absolute legend! I've been struggling with this for the past 4 hours as I just got started with VBox today. Coincidentally enough, you dropped this video haha.

navdeepsengh
Автор

I've been trying to figure out my error i've gotten for 1 hour now and u were the only person that helped me. Great explenation, thank you.

janruretief
Автор

I was chasing my tail for several hours ( it was not clear to me exactly what was supposed to happen and what gets installed to where....what a waste of precious time ). Very clear concise instructions! Thank You! Hope to be able to pay it forward someday....

rezamostafid
Автор

Thank you, thank you, thank you, thank you.
I was stuck with this issue for 2 days. And now its fixed. Thanks a ton!!
2:15 Nice trick to open in terminal because mine wasn't automatically running.

kunal_chand
Автор

Amazing... I wasted so much time trying to fix it until I came across your video... Awesome!!!

shawncharles
Автор

Thank you for this great presentation, I have struggled for months to get a clear demonstration/tutorial on guest additions

nqowothando
Автор

EU FIQUEI MAIS DE 1 DIA TENTANDO ARRUMAR ISSO, VOCÊ CONSEGUIU DEMAIS! THANK

alyssondiego
Автор

The ONLY tutorial that has worked for me. Idk what the hell is wrong with my VM but none of the similar methods worked for me and I've been losing my mind. Thank you.

nickc
Автор

After exploring a lot of articles and videos, finally, You made it.
Thank you man

rizwanashraf
Автор

I have been trying to install that thing for hours now, over multiple tries, when your video was all I needed. Thank you so much!

navarabellatrixdinivien
Автор

OMG DUDE! Thank you so much! It finally worked, I spent the whole day yesterday and missed my lecture just trying to fix this and it finally worked thanks to you! <3

rupacFan
Автор

Thanks. The only one that worked. I'm stunned how Linux is still in 2022 making things harder and not easier!

Popart-xhfd