Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo
* * * * * 3 votes

How to install Guest Additions on a Linux VirtualBox VM


  • Please log in to reply
4 replies to this topic

#1 DeimosChaos

DeimosChaos

  • BC Advisor
  • 1,400 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:United States, Delaware
  • Local time:09:54 PM

Posted 12 April 2016 - 08:23 AM

You are playing with Linux on a VM using Oracle VirtualBox, but the dang thing won't go full screen. Well, you need to install Guest Additions for it to do so. The following will show you step by step how to do just that.

 

The guide was made using a host OS of Ubuntu 14.04, the latest VirtualBox (at the time of this post) from the repository, and a guest VM of Peppermint 6. If you are using Windows as a host OS and a different Linux distro, that is okay. These steps are pretty general and should be about the same on either a Linux host or Windows host OS. 

 

 

1. Devices -> Insert Guest Additions CD Image

 

peppermint_guestadditions_1.png

 

2. Download disk image file if necessary. Skip to step 4 if you don't have to download.

 

peppermint_guestadditions_2.png

 

3. Insert the disk if you had to download it

 

peppermint_guestadditions_3.png

 

4. Once disk is inserted you probably won't see anything happen... that is because it didn't. Go to Menu -> File Manager.

 

peppermint_guestadditions_4.png

 

5. Click on "VBOX..." under Devices then right click on empty space on the left hand side of the window then click on "Open in Terminal".

 

peppermint_guestadditions_5.png

 

6. You will have a terminal pop up once you do that. Run the following command inside that terminal.

 


sudo ./VBoxLinuxAdditons.run

 

peppermint_guestadditions_6.png

 

7. You should get some output on the terminal screen... everything should be installed. Restart for it to work.

 

peppermint_guestadditions_7.png

 

Voila! You can now run full screen!

 

peppermint_guestadditions_8.png


Edited by DeimosChaos, 14 April 2016 - 12:15 PM.

OS - Ubuntu 14.04/16.04 & Windows 10
Custom Desktop PC / Lenovo Y580 / Sager NP8258 / Dell XPS 13 (9350)
_____________________________________________________
Bachelor of Science in Computing Security from Drexel University
Security +


BC AdBot (Login to Remove)

 


m

#2 Guest_GNULINUX_*

Guest_GNULINUX_*

  • Guests
  • OFFLINE
  •  

Posted 12 April 2016 - 04:35 PM

Good tutorial and very nice Guest OS...  B)
 
I think you could/should add one recommended step just before you install the Guest Additions!
You can even see the "error" in the seventh screenshot...
 
Before you install the Guest Additions I advise to fully update the system and install the dkms module:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install dkms

After that, reboot your Guest OS and install the Guest Additions.
 
Extra info: Why install the Dynamic Kernel Module Support Framework? 

This will keep the Guest Additions installed if you update the kernel in the Guest OS. This is important for systems that have kernel updates enabled, like the one used in your example (Peppermint OS). Otherwise you need to reinstall the Guest Additions after every kernel update!
 
Greets! 



#3 DeimosChaos

DeimosChaos
  • Topic Starter

  • BC Advisor
  • 1,400 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:United States, Delaware

Posted 12 April 2016 - 04:40 PM

Good point and advice GNULINUX! I have never gotten as far as that in a guest OS. It's usually gone or not used by the time a kernel update would appear.

OS - Ubuntu 14.04/16.04 & Windows 10
Custom Desktop PC / Lenovo Y580 / Sager NP8258 / Dell XPS 13 (9350)
_____________________________________________________
Bachelor of Science in Computing Security from Drexel University
Security +


#4 Guest_GNULINUX_*

Guest_GNULINUX_*

  • Guests
  • OFFLINE
  •  

Posted 15 April 2016 - 04:31 AM

Good point and advice GNULINUX!

Apparently my advice was partially incomplete, see this topic...

 

PS: Posted this as reference for when you update this tutorial.  :wink:

 

Greets!



#5 dannyboy950

dannyboy950

  • Members
  • 1,338 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:port arthur tx
  • Local time:09:54 PM

Posted 15 April 2016 - 06:04 AM

The depth of knowledge in this forum is staggering.   Keep on keeping on.


HP 15-f009wm notebook AMD-E1-2100 APV 1Ghz Processor 8 GB memory 500 GB Hdd

Linux Mint 17.3 Rosa Cinamon





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users