Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. This worked for me for a Ubuntu Server 14.04 guest VM (no GUI):
  2.  
  3. Edit: also works with Ubuntu Server 15.04
  4.  
  5. 1) Install dkms. From the guest run:
  6.  
  7. sudo apt-get install dkms
  8.  
  9. 2) From the VirtualBox VM window menu select: Devices --> Insert Guest Additions CD image...
  10.  
  11. 3) Use blkid to identify the CD-ROM device. From the guest run:
  12.  
  13. sudo blkid
  14.  
  15. One of the lines in the output should look like this:
  16.  
  17. /dev/sr0: LABEL="VBOXADDITIONS_4.3.16_95972" TYPE="iso9660"
  18.  
  19. The first part (/dev/sr0) is the name of the CD-ROM device.
  20.  
  21. 4) Mount the CD (replace /dev/sr0 by the device name found above):
  22.  
  23. sudo mount /dev/sr0 /media/cdrom/
  24.  
  25. 5) Run the Guest Additions installer:
  26.  
  27. sudo /media/cdrom/VBoxLinuxAdditions.run
  28.  
  29. 6) Reboot the guest.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement