Update virtualbox guest additions on windows guest os

Поддерживаемые операционный системы:


  • Windows XP SP3 (32-bit и 64-bit)
  • Windows Vista SP1 и выше (32-bit и 64-bit).
  • Windows Server 2008 (64-bit)
  • Windows Server 2008 R2 (64-bit)
  • Windows 7 (32-bit и 64-bit)
  • Windows 8 (32-bit и 64-bit)
  • Windows 8.1 (32-bit и 64-bit)
  • Windows 10 RTM build 10240 (32-bit и 64-bit)
  • Windows 10 RTM build 10586 (32-bit и 64-bit)
  • Windows Server 2012 (64-bit)
  • Windows Server 2012 R2 (64-bit)

Mac OS X (64-bit):

  • 10.8 (Mountain Lion)
  • 10.9 (Mavericks)
  • 10.10 (Yosemite)
  • 10.11 (El Capitan)

Linux (32-bit и 64-bit):

  • Ubuntu 10.04 до 15.04
  • Debian GNU/Linux 6.0 («Squeeze») и 8.0 («Jessie»)
  • Oracle Enterprise Linux 5, Oracle Linux 6 и 7
  • Redhat Enterprise Linux 5, 6 и 7
  • Fedora Core / Fedora 6 до 22
  • Gentoo Linux
  • openSUSE 11.4, 12.1, 12.2, 13.1
  • Mandriva 2011

Solaris hosts (64-bit):

  • Solaris 11
  • Solaris 10 (U10 и выше

Installing VirtualBox Guest Additions on Ubuntu

The scenario here is that you have Ubuntu Linux installed inside VirtualBox. The host system could be any operating system.

I’ll demonstrate the installation process on a minimal install of a Ubuntu virtual machine. First run your virtual machine:

VirtualBox Ubuntu Virtual Machine

To get started, select Device > Insert Guest Additions CD image…:

Insert Guest Additions CD Image

This will provide you with the required installer inside the guest system (i.e. the virtual operating system). It will try auto-running, so just click Run:

AutoRun Guest Additions Installation

This should open up the installation in a terminal window. Follow the on-screen instructions and you’ll have the Guest Additions installed in a few minutes at most.

Troubleshooting tips:

If you get an error like this one, it means you are missing some kernel modules (happens in some cases, such as minimal installs):

Error while installing Guest Additions in Ubuntu

You need to install a few more packages here. Just to clarify, you need to run these commands in the virtual Ubuntu system:

Now run the Guest Addition setup again:

VirtualBox Guest Additions Security[edit]

General concerns have been raised about the security of VirtualBox, for example see the article The VirtualBox Kernel Driver Is Tainted Crap . However, this refers to the kernel driver (on the host), not guest additions. For opposite viewpoints, see here and here .


It is possible to achieve similar functionality without installing guest additions:

  • For file exchange with Whonix , see: File Transfer and File Sharing.
  • To achieve a higher screen resolution, see: Higher Screen Resolution without VirtualBox Guest Additions.
  • To achieve mouse integration, it is possible to set a USB tablet in VirtualBox settings. This is recommended against because it requires adding a USB controller to VirtualBox. ( → → → → )

Uninstall virtualbox-guest-additions-iso[edit]

This is discouraged and should not be required. However, if you wish to uninstall VirtualBox guest additions as installed by by Whonix developers, follow the steps below.

  1. Purge package . This will result in by Whonix developers in future doing effectively nothing.

    sudo apt purge virtualbox-guest-additions-iso

    sudo apt purge virtualbox-guest-additions-iso

  2. Remove VirtualBox guest additions (previously installed by Whonix from . Run VirtualBox guest additions uninstaller by VirtualBox developers.

    sudo /usr/sbin/vbox-uninstall-guest-additions

    sudo /usr/sbin/vbox-uninstall-guest-additions

How to Install VirtualBox’s Guest Additions

It’s easy to install the Guest Additions on your VirtualBox system. In fact, every time VirtualBox receives an update, it includes a new version of the Guest Additions too. You don’t necessarily need to update the Guest Additions every time you update VirtualBox, but Oracle recommends it for best performance.

Keep in mind that the Guest Additions are available for Windows and Linux, but not macOS. You’ll need other workarounds if you’re running macOS in a virtual machine.

Install Guest Additions on Windows VMs

To install the Guest Additions for VirtualBox in a Windows VM, boot into your guest OS as normal. On the toolbar at the top, select Devices > Insert Guest Additions CD Image. This mounts a virtual disc to the VM.

When you do this, Windows will respond as if you’ve just inserted a physical disc. If it doesn’t prompt you to run it, open a File Explorer window and go to This PC. You should see a device in the CD Drive named something like VBox_GAs_x.

Double-click this to open the disc’s contents. Inside, run the VBxWindowsAdditions file (or VBxWindowsAdditions-x86 on a 32-bit VM).

From there, simply walk through the steps to install the Guest Additions like you would any other software. After it completes, you’ll be prompted to reboot the VM, which you should do as soon as possible.

Once you’re done, you can go to Devices > Optical Drives > Remove disk from virtual drive to «eject» the virtual Guest Additions disc.

Install Guest Additions on Linux VMs

The process to install VirtualBox’s Guest Additions into a Linux VM is quite similar. Once you’ve booted up, select Devices > Insert Guest Additions CD Image from VirtualBox’s menu bar. Depending on your flavor of Linux, you may see a message to automatically run the CD’s contents.

You can accept this, but if you don’t, you’ll find the CD available on the taskbar in many Linux distros. If it doesn’t appear there, open the file browser and look for VBox_GAs_x on the left sidebar.

On Ubuntu, a Run Software button appears at the top-right of the window. Click this to start the install process, then provide your admin password to continue. A Terminal window will open to keep you updated with its progress.

Once it’s done, reboot the VM and you’re all set. You can then eject the disk using the Devices > Optical Drives > Remove disk from virtual drive option, or by right-clicking it in your OS and choosing Eject.

Whonix-Custom-Workstation ™[edit]

If you are using a Whonix-Custom-Workstation additional steps are required. Please click on expand on the right.

Two options exist: automatic mounting or manual mounting. The automatic mounting method is described below. For additional information on shared folders refer to the . Any additional questions are unspecific to Whonix and should be addressed as per the Free Support Principle.

  1. Install VirtualBox guest additions inside the VM.
  2. Add the user that will utilize shared folders from inside the VM to group :

    sudo addgroup user vboxsf

    sudo addgroup user vboxsf

  3. A reboot is required to make group changes take effect.
  4. Follow the instructions above.


If the following message appears during a kernel upgrade, it is a non-issue.

VirtualBox Guest Additions: Building the modules for kernel 5.6.0-0.bpo.2-amd64.
Failed to rename process, ignoring: Operation not permitted
update-initramfs terminated by signal TERM.


  1. Host -> Whonix-Gateway clipboard sharing enable by default?
  2. https://forums.whonix.org/t/security-risks-of-virtualbox-shared-folders/10119

  3. To learn more about VirtualBox shared folders, see: .

  4. Admittedly, this recommendation does not have a strong rationale. Disabling additional features in other virtualizers or general applications will similarly lead to less code paths being utilized and arguably increasing security. VirtualBox software is not special in this regard.

  5. Because otherwise you cannot change VirtualBox VM settings.
  6. Using /lib/systemd/system/mnt-shared-vbox.service .
  7. If the option is unavailable, upgrade VirtualBox.

  8. Alternatively folder can be chosen. The VirtualBox default means that folder would be owned by owner and group .

  9. This is specific to the VirtualBox version; newer versions do not have this option anymore.
    Check if this setting should persist after restart of the virtual machine. Otherwise this setting will be temporary.

  10. This step is required. Quote :

  11. Installation of VirtualBox guest additions from CD might also cause issues.

  12. http://www.webcitation.org/6HqJVN0br
  13. https://www.whonix.org/w/index.php?title=Ga&action=edit

Whonix is Supported by Evolution Host DDoS
Protected VPS. Stay private and get your VPS with Bitcoin or Monero.

Search engines: YaCy | Qwant | ecosia | MetaGer | peekier | Whonix Wiki





Did you know that anyone can edit the Whonix wiki to improve it?

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to , then Edit! Edits are held for moderation. Policy of Whonix Website and Whonix Chat and Policy On Nonfreedom Software applies.

Copyright (C) 2012 — 2020 ENCRYPTED SUPPORT LP. Whonix is a trademark. Whonix is a licensee of the Open Invention Network . Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software as Whonix itself. (Why?)

Whonix is a derivative of and not affiliated with Debian . Debian is a registered trademark owned by Software in the Public Interest, Inc .

Whonix is produced independently from the Tor anonymity software and carries no guarantee from The Tor Project about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix is provided by ENCRYPTED SUPPORT LP. See Imprint, Contact.

Using VirtualBox Guest Addition features

Here are some screenshots for enabling/using helpful features of VirtualBox Guest Additions in use:

Configure Drag And Drop (any files)

You can enable drag and drop from the top menu -> Devices ->Drag and Drop -> Bidirectional.

With Bidirectional, you can drag and drop from guest to host and from host to guest, both.

Drag and Drop

Configure Shared Clipboard (for copy-pasting)

Similarly, you can enable shared clipboard from the top menu -> Devices -> Shared Clipboard -> Bidirectional.

Shared Clipboard
Uninstalling VirtualBox Guest Additions (if you don’t want to use it anymore)

Navigate to the CD image and open it in terminal (Right Click inside directory > Open in Terminal):

Open in Terminal

Now enter:

However, in some cases you might have to do some more cleanup. Use the command:

Note: Replace VBoxGuestAdditions-version with the right version (you can hit tab to autocomplete; in my case it is VBoxGuestAdditions-6.0.4).

Guest Additions Make VirtualBox Even Better

As we’ve seen, the Guest Additions make running virtual machines with VirtualBox much smoother. You should always take a few moments to install the Guest Additions when setting up a new VM, as there’s no drawback to doing so.

If VirtualBox isn’t working for you, check out how VirtualBox compares to other virtualization tools.

iOS 14.3 Is Now Available, and Here’s What’s New…

Apple has released iOS 14.3, which adds Apple Fitness+, and ProRAW photos for iPhone 12 Pro users.

About The Author

Ben Stegner
(1607 Articles Published)

Ben is a Deputy Editor and the Onboarding Manager at MakeUseOf. He left his IT job to write full-time in 2016 and has never looked back. He’s been covering tech tutorials, video game recommendations, and more as a professional writer for over six years.

More From Ben Stegner

Install VirtualBox Guest Additions

This guest additions installation step applies only on a GUI-less server. If you need to installing this features with the full GUI mode then jump to method 2

Method 1: Install from Terminal

  1. First, Start your VirtualBox.
  2. Then, start the host in question.
  3. Once the host has booted, click Devices | Insert Guest Additions CD Image.
  4. After that, Log in to your guest server.
  5. Mount the CD-ROM with the command
  6. Change into the mounted directory with the command
  7. Install the necessary dependencies with the command
  8. Change to the root user with the command
  9. Install the Guest Additions package with the command
  10. Please Allow the installation to complete.
  11. Now, You will see an error stating that the installer couldn’t find the X.Org or XFree86 Window System—that’s okay, because it doesn’t exist on this host.
  12. For the last, Reboot your machine, and the Guest Additions will be working.

You should see a bit of a performance increase, as well as the extra features (shared clipboard, shared folders, and more) awarded by this installation.

Method 2: Install from GUI Mode

  1. In the Window containing the running virtual machine, select Install Guest Additions from the Devices menu.
  2. When the AutoPlay window is displayed (prompting you to run the VBoxWindowsAdditions.exe program), close the window without installing the Guest Additions. Closing the window leaves the ISO image used to install the Guest Additions inserted in the virtual CD/DVD drive. You need to install the VirtualBox Guest Additions from the command line to get all the features we need.
  3. In the virtual machine, on the Windows Start menu, type run in the search field and press Return. The Run dialog is displayed. Enter in the Open field.
  4. Press the Return key. If you are preparing a Windows XP desktop template, you can omit the command line switch.
  5. When you are prompted, click Yes to install the Guest Additions. The VirtualBox Guest Additions Setup wizard is displayed in a new window. 
  6. Click the Next button to move though the various steps of the wizard. Accept all the default
    settings and then click Install to install the Guest Additions. If a Windows Security dialog is displayed that prompts you to install device software.(see the screenshoot for an example), click Install.
  7. When the Guest Additions installation is complete, ensure Reboot now is selected and click Finish.
  8. The VirtualBox Guest Additions Setup wizard closes and the virtual machine is rebooted.
  9. When the virtual machine reboots, log in.

Next, for the last step you will need perform some additional configuration in the virtual machine. For the best setting please refer to this configuration that described on: “Additional Virtual Machine Preparation”.

Conclusions: VirtualBox: The Go-to Virtualization Option

As you can conclude, the VirtualBox Windows 10 download is very simple to implement. There is not much to it. The process itself only takes a few minutes to complete, as the download comes accompanied by instructions that are very simple to follow. Numerous people around the globe are currently taking advantage of VirtualBox. Go ahead and download it so that you can put it to good use and thus also benefit from it. It is a well-structured program that has caused a positive buzz thatseems to become muchlouder every day.

Term for this post:
Virtualbox Guest Additions • Virtualbox Guest Additions Download • Virtualbox Guest Additions Windows 10 Download • Vm Virtualbox Guest Additions Download • Guest Additions Virtualbox Download • Download Virtualbox Guest Additions • Virtualbox Guest Additions Windows Download • Virtualbox Drivers Guest Windows 10 • Virtualbox Guest Additions Iso File • Free Download Virtualbox Guest Additions • Virtualbox Guest Addition • Guest Addition • Virtualbox Download Windows 10 • Guest Virtualbox • Download Vboxguestadditions Iso File


Whonix ™-Default[edit]


  • From VirtualBox v6+ it is no longer necessary to power off the virtual machine.
  • For better usability, package shared-folder-help has already added user to group .
  1. Navigate to the shared folder settings of the virtual machine: → → →
  2. Click the folder icon that has a symbol in the upper right-hand section of the screen.
  3. → Navigate to the folder you want to share.
  4. → Type: . A different folder name can be utilized, but is recommended so it is the same as the example documented below — do not use (without the trailing )!
  5. Check if you do not want to write to that folder from within the guest.
  6. Check .
  7. → Leave as is (leave it empty and do not make any changes).
  8. Check (if that option exists).
  9. Press to close shared folder dialog.
  10. Press to close VirtualBox settings.
  11. The process is now complete and the shared folder can be used.

VirtualBox shared folders are found inside the virtual machine in folder .

By default, VirtualBox uses the prefix .

In the above example, the folder will become . It can be opened using a file manager like Thunar. To open it using the the command line, run.

cd /media/sf_shared

cd /media/sf_shared

Why should you use VirtualBox Guest Additions?

With VirtualBox Guest Additions enabled, using the virtual machine becomes a lot more comfortable. Don’t believe me? Here are the important features that the Guest Additions offer:

  • Mouse pointer integration: You no longer need to press any key to “free” the cursor from the Guest OS.
  • Shared clipboard: With the Guest Additions installed, you can copy-paste between the guest and the host operating systems.
  • Drag and drop: You can also drag and drop files between the host and the guest OS.
  • Shared folders: My favorite feature; this feature allows you to exchange files between the host and the guest. You can tell VirtualBox to treat a certain host directory as a shared folder, and the program will make it available to the guest operating system as a network share, irrespective of whether guest actually has a network.
  • Better video support: The custom video drivers that are installed with the Guest Additions provide you with extra high and non-standard video modes, as well as accelerated video performance. It also allows you to resize the virtual machine’s window. The video resolution in the guest will be automatically adjusted, as if you had manually entered an arbitrary resolution in the guest’s Display settings.
  • Seamless windows: The individual windows that are displayed on the desktop of the virtual machine can be mapped on the host’s desktop, as if the underlying application was actually running on the host.
  • Generic host/guest communication channels: The Guest Additions enable you to control and monitor guest execution. The “guest properties” provide a generic string-based mechanism to exchange data bits between a guest and a host, some of which have special meanings for controlling and monitoring the guest. Applications can be started in the Guest machine from the Host.
  • Time synchronization: The Guest Additions will resynchronize the time with that of the Host machine regularly. The parameters of the time synchronization mechanism can be configured.
  • Automated logins: Basically credentials passing, it can be a useful feature.

Impressed by the features it provides? Let’s see how you can install VirtualBox Guest Additions on Ubuntu Linux.

Общая информация по VirtualBox Guest Additions

Для более эффективной работы и взаимодействием между реальной и виртуальной машиной, созданной в VirtualBox, используется специальное дополнение к последнему – Guest Additions. Данный пакет расширений открывает дополнительные возможности, среди которых:

  • Создание реальной сети в виртуальной машине. Благодаря ней из операционной системы, которая установлена в VirtualBox можно выходить в интернет, производить обмен данными между основной машиной и виртуальной;
  • Добавляет поддержку видеодрайверов. Благодаря этому вы можете менять разрешение экрана, на установленной виртуальной системе, проверять производительность программ, требующих наличие графических драйверов и т.д;
  • Более удобная интеграция курсора мыши между операционными системами. Например, теперь не нужно нажимать дополнительные кнопки, чтобы курсор переместился из виртуальной системы, что стоит в VirtualBox, в вашу основную;
  • Синхронизация времени между основной операционной системой и виртуальной;
  • Возможность автоматического входа в виртуальную систему.

Монтирование образа VirtulBox Guest Additions

По умолчанию все пакеты этого дополнения уже внесены в VirtualBox, поэтому нет смысла скачивать что-либо дополнительно с официального сайта разработчика. Для установки нужно только подключить уже скаченный пакет:

  1. Остановите уже запущенную виртуальную машину в интерфейсе VirtualBox. Для этого нажмите правой кнопкой мыши по нужной операционной системе и выберите из контекстного меню пункт «Отключить».
  2. Выберите нужную машину и нажмите на кнопку «Настройки», что расположена в верхнем меню интерфейса.

В окне «Настроек» перейдите во вкладку «Носители».
Обратите внимание на форму «Носители информации». Под «Контроллер IDE» выберите виртуальный диск.

Если в 4-м пункте вы не нашли образ виртуального диска, то нажмите на иконку диска, расположенную напротив «Привод».
В выпавшем меню нажмите «Выбрать образ оптического диска».

Откроется окно стандартного «Проводника» Windows, где вам придётся выбрать образ. В данном случае нужно перейти в корневую папку VirtualBox и найти там элемент с наименованием «VBoxGuestAdditions.iso».

Когда образ отобразится в «Контроллер IDE» перейдите к запуску виртуальной машины.

Теперь нужно перейти в папку «Компьютер», если в качестве виртуальной машины выступает ОС Windows. Под «Устройства со съёмными носителями» должен отобразится смонтированный образ.

В качестве альтернативы этой инструкции можно воспользоваться ещё этой, но при этом виртуальная машина должна быть запущена и полностью работоспособна:

  1. В интерфейсе запущенной виртуальной машины нажмите на пункт «Устройства».
  2. Откроется контекстное меню, где нужно нажать по «Подключить образ диска дополнительной гостевой ОС…».

Подключение займёт некоторое время. После перейдите в папку «Компьютер» и обратите внимание на «Устройства со съёмными носителями». Там должен быть образ.

Установка из образа

Процесс установки выглядит следующим образом:

  1. Откройте смонтированный образ.
  2. Здесь запустите файл установщика. Всего их три: универсальный, для 64-битных систем и 32-битных систем. Последние два имеют соответствующие приписки в наименовании файла.

Откроется окно с приветствием. Здесь нужно просто нажать «Next».

Следующее окно предлагает выбрать место для установки. Здесь можно оставить всё по умолчанию. Для перехода на следующий шаг нажмите «Next».

Рекомендуется снять галочку напротив пункта «Direct 3D Support», так как установка этого драйвера возможна только в «Безопасном режиме».

Начнётся установка, в ходе которой может несколько раз появится окно, где вас просят дать соглашение на установку. Везде жмите на «Установить».

Когда завершится установка «Guest Additions» установите маркер напротив пункта «Reboot now» и нажмите на «Finish».

В установки дополнения VirtualBox Guest Additions нет ничего сложного, особенно, если у вас есть опыт взаимодействия с виртуальными машинами.

Общие папки

Благодаря функции «общие папки» VirtualBox вы можете получить доступ к файлам вашей хост-системы из гостевой системы. Это похоже на то, как бы вы использовали сетевые ресурсы в сетях Windows – за исключением того, что для общих папок не требуется создание сетей, а нужны только гостевые дополнения. Общие папки поддерживаются с Windows (2000 или более поздними), гостевыми Linux и Solaris.

Общие папки должны физически находиться на хосте и у них должен быть общий доступ с гостем, который использует специальный драйвер файловой системы в гостевом дополнении для разговора с хостом. Для гостей Windows общие папки реализуются как псевдо-сетевой перенаправитель; для пользователей Linux и Solaris, гостевые дополнения предоставляют виртуальную файловую систему.

Как настроить общую папку в VirtualBox

На хосте создайте папку, которая будет общей для хоста и гостевой ОС. Не требуется делать эту папку сетевой или давать ей какие-либо специальные разрешения.

Перейдите в настройки виртуальной машины на вкладку «Общие папки». Нажмите изображение маленькой папки с зелёным крестиком, укажите путь до папки:

Download Virtualbox Guest Additions

We have never realized how difficult it is to find the VirtualBox Guest additions download page. It is not accessible from the wiki. But, at this time… After some time spent on Google, we collect some vBoxGuestAdditions installation file with many version. This link will directly download the offline installer .iso from the official website. So, it’s secure and free from malware. Here is the answer:

File Name Version Last Update File Size
(Open the link to download)
VBoxGuestAdditions_6.0.4.iso 6.0 28-Jan-2019 82 MB
VBoxGuestAdditions_5.2.26.iso 5.2 28-Jan-2019 56 MB
VBoxGuestAdditions_5.1.38.iso 5.1 09-May-2018 57 MB
VBoxGuestAdditions_5.0.40.iso 5.0 28-Apr-2017 56 MB
VBoxGuestAdditions_4.3.40.iso 4.3 22-Aug-2016 55 MB
VBoxGuestAdditions_4.2.38.iso 4.2 14-Sep-2016 59 MB
VBoxGuestAdditions_4.1.44.iso 4.1 11-Nov-2015 52 MB
VBoxGuestAdditions_4.0.36.iso 4.0 11-Nov-2015 46 MB


In Whonix , VirtualBox guest additions are installed by default.

To avoid any issues with the guest additions, users are highly recommended to:

  1. Use the Recommended VirtualBox Version for use with Whonix .
  2. Leave installation of the recommended version of VirtualBox guest additions to Whonix as dcoumented and to avoid manual installation. This documentation will be updated as required. Check back later in case you have issues.

VirtualBox guest additions from package installation helper by Whonix developers ( ) will keep guest additions updated when Whonix is updated.

There might be a few odd messages during updates which are actually . Unless actual functionality is broken, please do not ask about odd messages as per .

In case of issues, see also VirtualBox troubleshooting and consider a bug report.

What Are Guest Additions in VirtualBox?

The VirtualBox Guest Additions are extra pieces of software, included with your copy of VirtualBox, that enable better performance and functionality in virtual machines. You install Guest Additions inside the virtual machine to activate this functionality.

As you probably know, VirtualBox is a hypervisor, which allows you to create and use virtual machines. This means that you can install Windows and other operating systems inside VirtualBox and have them think that they’re running on actual hardware.

Read our full guide to using VirtualBox to get up to speed if you’re not familiar.

How to Use VirtualBox: User’s Guide

With VirtualBox you can easily install and test multiple operating systems. We’ll show you how to set up Windows 10 and Ubuntu Linux as a virtual machine.

However, just because you get a working virtual machine running in VirtualBox doesn’t mean the experience is perfect from the start. There are certain elements of running an OS in an app window that are frustrating.

For example, on your main computer, Windows knows what resolutions it can display using the drivers from your graphics card. A virtual machine can’t do this, though, so it displays in a low resolution (such as 800×600) by default.

The Guest Additions of VirtualBox contain display drivers and other useful tools that make your virtual machine much more usable.

Manually installing VBoxGuestAdditions [linux guest]


0. Guest: Common Errors
1. Host: ‘Putting the Additions in the DVD drive’
2. Guest: Mount the DVD
3. Guest: Install Additions (in case of errors, see 0.)
4. Guest: Unmount the DVD

0. Common Errors: Make sure GCC, MAKE and KERNEL-DEVEL (headers) are installed…

 # yum install gcc make <kernel-devel...>
(or similar package command for your distribution)

If not installed, you might run into next trouble:

 # cat /var/log/vboxadd-install.log
Makefile:23: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again..  Stop.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.

To see what went wrong run ‘/etc/init.d/vboxadd setup’:

 # /etc/init.d/vboxadd setup
Removing existing VirtualBox DKMS kernel modules           
Removing existing VirtualBox non-DKMS kernel modules       
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
The missing package can be probably installed with
yum install <kernel-devel...>                              

Your system does not seem to be set up to build kernel modules.
Look at /var/log/vboxadd-install.log to find out what went wrong.
Once you have corrected it, you can run /etc/init.d/vboxadd setup to build them.
Doing non-kernel setup of the Guest Additions              

Correct what went wrong and run ‘/etc/init.d/vboxadd setup’ again:

 # yum install gcc make <kernel-devel...>
(yada yada yada)
 # /etc/init.d/vboxadd setup
Removing existing VirtualBox DKMS kernel modules           
Removing existing VirtualBox non-DKMS kernel modules       
Building the VirtualBox Guest Additions kernel modules
Your guest system does not seem to have sufficient OpenGL support to enable
accelerated 3D effects (this requires Linux 2.6.27 or later in the guest
system).  This Guest Additions feature will be disabled.
Building the main Guest Additions module                   
Building the shared folder support module                  
Doing non-kernel setup of the Guest Additions              
Starting the VirtualBox Guest Additions                    

1a. Find the IDE Controller device numbers

 # vboxmanage showvminfo "<vbox_name>" | grep "Storage Controller Name"
 Storage Controller Name (0):            IDE controller

1d. Attach the VBoxGuestAdditions.iso as dvddrive

Port and device numbers needed here!

 # vboxmanage storageattach "<vbox_name>" --storagectl "IDE controller" \
--port 1 --device 0 --type dvddrive \
--medium /usr/share/virtualbox/VBoxGuestAdditions.iso
 # cd /mnt/dvd
 # ./VBoxLinuxAdditions.run

If you encounter errors here, see: ‘0. Common Errors‘.

4. Done? Unmount and remove

 # umount /dev/dvd
 # vboxmanage controlvm "<vbox_name>" poweroff
 # vboxmanage storageattach "<vbox_name>" --storagectl "IDE controller" \
--port 1 --device 0 --type dvddrive --medium emptydrive

What Is VirtualBox?

Often referred to as the best virtual machine, VirtualBox is a powerful AMD64/Intel64 and x86 virtualization creation for both home and enterprise use. For the time being, VirtualBox is the only professional solution available freely as Open Source Software, which is one of the top reasons why its popularity has skyrocketed and thus several releases of it have taken place.

VirtualBox has been established with great community effort and is back by a company that is very dedicated to providing a first-class service in every aspect. It is downloaded in record numbers every day. It is currently the top Windows 10 virtual machine, and it does not seem this is going to change anytime soon.

Virtualbox Guest Additions

The VirtualBox Guest Additions consist of device drivers and system applications that optimize the operating system for better performance and usability. One of the usability features required in this guide is automated logons, which is why you need to install the Guest Additions in the virtual machine. For a Windows 7 desktop template, you also enable Windows media redirection for enhanced playback of multimedia content played in Windows Media Player (including content displayed in Internet Explorer).

To accessing this option In the Window containing the running virtual machine, select Install Guest Additions from the Devices menu. And the AutoPlay to run this guest additions will prompt.

Перетаскивание в VirtualBox

Начиная с версии 5.0, VirtualBox поддерживает перетаскивание содержимого с хоста на гостя и наоборот. Для этого на госте должны быть установлены последние гостевые дополнения.

По соображениям безопасности перетаскивание можно настроить во время выполнения на основе каждой виртуальной машины либо с помощью пункта меню «Функция Drag and Drop» в меню «Устройства» виртуальной машины или в VBoxManage. Доступны следующие четыре режима:

  • «Выключено»: полностью отключает перетаскивание. Это значение по умолчанию при создании новых виртуальных машин.
  • «Из основной в гостевую»: позволяет выполнять операции перетаскивания только с хоста на гостя.
  • «Из гостевой в основную»: позволяет выполнять операции перетаскивания только от гостя к хосту.
  • «Двунаправленный»: этот режим позволяет выполнять операции перетаскивания в обоих направлениях, например,. от хоста до гостя и наоборот.

Известные ограничения

Известны следующие ограничения:

Теперь на хостах Windows не разрешено перетаскивание содержимого из UAC-повышенных (контроль учетных записей пользователей) программ в не-UAC-повышенные программы и наоборот. Таким образом, при запуске VirtualBox с правами администратора, перетаскивание не будет работать с проводником Windows, который по умолчанию работает с обычными пользовательскими привилегиями.

Продолжение «Руководство по VirtualBox (часть 6): Подсказки, советы и дополнительные материалы по использованию VirtualBox».

Оцените статью
Рейтинг автора
Материал подготовил
Андрей Измаилов
Наш эксперт
Написано статей
Добавить комментарий