Virtualbox linux install extensions

Как установить Oracle VM VirtualBox Extension Pack

Виртуальная машина VirtualBox распространяется с открытым исходным кодом. Однако у неё есть набор проприетарных модулей, которые добавляют дополнительные возможности. Например, поддержку USB 2.0, подключение к машине по VNC или RDP, а также возможность загрузки PXE в виртуальной машине. После установки этого плагина вы получаете возможность пробрасывать вашу мышь и клавиатуру прямо в виртуальную машину.

В этой небольшой статье мы рассмотрим как установить Oracle VM VirtualBox Extension Pack на примере операционной системы Ubuntu.

Установка Oracle VM VirtualBox Extension Pack

Шаг 1. Версия VirtualBox

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

В открывшемся окне вы можете видеть версию VirtualBox, в данном случае это 6.1:

Шаг 2. Загрузка Extension Pack

Скачать VirtualBox Extension Pack можно с официального сайта VirtualBox. Если у вас самая последняя версия VirtualBox, которая есть на этой странице, можно скачивать Extension Pack прямо отсюда. Но в данном случае, нам надо не 6.1.16, а 6.1.10. Поэтому надо найти ссылку на страницу Older builds:

Здесь вы берите нужную мажорную версию виртуальной машины, а уже на самой странице старых сборок VirtualBox найдите свою минорную версию:

Здесь есть ссылка на Extension Pack. Просто кликните по ней, затем выберите Сохранить файл в чтобы скачать плагин в папку Загрузки.

Шаг 3. Установка Extension Pack

Теперь осталось только установить Extension Pack. Для этого в главном окне VirtualBox откройте меню Файл, а затем Настройки. В открывшемся окне выберите Плагины:

В этом окне кликните по кнопке с зелёным плюсом и выберите файл плагина. Затем подтвердите установку с помощью кнопки Установить:

Спустя несколько мгновений программа сообщит, что VirtualBox Extension Pack успешно установлен:

Теперь вы можете использовать USB 2.0, пробрасывать свою мышь или клавиатуру в виртуальную машину, а также подключаться к виртуальной машине по RDP.

Нет похожих записей

Оцените статью:

Об авторе

Основатель и администратор сайта losst.ru, увлекаюсь открытым программным обеспечением и операционной системой Linux. В качестве основной ОС сейчас использую Ubuntu. Кроме Linux, интересуюсь всем, что связано с информационными технологиями и современной наукой.

6 комментариев

Нет, я понимаю, что надо популизировать линукс , что статьи разные нужны и статьи разные важны . Но Losst , вы опускаетесь до уровня Ответы.Mail.ru . Вам нечем наполнить контент ? Сделайте опросник, тем накидают кучу. С уважением , старый ваш читатель.

Отлично! Теперь ждем новость, как то-же самое проделать на QEMU, общий буфер обмена, масштабирование, открытие виртуальной машины в полный экран, подключение локальных дисков, папок, подключение съемных носителей, usb, и. т. д .

Всё хорошо, но никак не могу создать общую папку. Приходится чесать правой рукой левое ухо: передавать данные из системы в виртуальную машину с помощью флешки (((

Читайте также:  Restore from dump linux

samba тебе в помощь. Расшарь папку и лазь по сетке

Лет пять назад написал себе скрип:

VBOX_VER=`VBoxManage —version|awk -Fr ‘‘`
EXTPACK_FILENAME=Oracle_VM_VirtualBox_Extension_Pack-$VBOX_VER.vbox-extpack
gfile=http://download.virtualbox.org/virtualbox/$VBOX_VER/$EXTPACK_FILENAME
al=—accept-license=33d7284dc4a0ece381196fda3cfe2ed0e1e8e7ed7f27b9a9ebc4ee22e24bd23c

echo $EXTPACK_FILENAME
if [ -e $EXTPACK_FILENAME ]; then
echo «Файл $EXTPACK_FILENAME обнаружен.»
echo «Устанавливаем файл $EXTPACK_FILENAME. »
VBoxManage extpack install —replace $EXTPACK_FILENAME $al
exit 0
else
echo «Файл $EXTPACK_FILENAME не обнаружен.»
echo «Загружаем файл $EXTPACK_FILENAME. »
wget $gfile
echo «Устанавливаем файл $EXTPACK_FILENAME. »
VBoxManage extpack install —replace $EXTPACK_FILENAME $al
fi
#========================================================

Источник

Как грамотно установить VirtualBox Extension Pack?

Как установить VirtualBox Extension Pack в гостевую Linux-машину?

В прежние года это делалось запросто. Но с годами стало запутаннее и непонятнее, т.к Oracle перестала следить даже за документацией.
Например, что мы видим в документации на сегодняшний день?

1.5. Installing VirtualBox and extension packs
VirtualBox extension packages have a .vbox-extpack file name extension. To install an extension, simply double-click on the package file and a Network Operations Manager window will appear, guiding you through the required steps.

Двойной клик и вы в дамках? Ага, щаззз!
Это относится только в их сраной обожаемой винде.

В Линуксе же этот пак откроется просто как архив, где есть кое-что для Линукса —
— VBoxLinuxAddition.run
— autorun.sh
— runasroot.sh
ну и виндовые файлы, куда ж без них.
Кстати, в архиве есть Readme.txt, но опять-таки — только для винды!

Пробовал установить с помощью этих ‘sh’ — ничего хорошего не получилось, хотя в VirtualBox Manager появился плагин VirtualBox Extension Pack.
Но что толку — мне же нужно установить его в гостевую Linux-машине.

Есть еще, правда, п. «8.41. VBoxManage extpack», в котором якобы можно этот пак установить из консоли —

Extension package management.
Synopsis

VBoxManage extpack install [—replace]
VBoxManage extpack uninstall [—force]
VBoxManage extpack cleanup

VBoxManage extpack install [—replace]

— пробую этот вариант — а фигушки, приложения ‘VBoxManage’ нет и в помине!
Потому что оракловцы забили на Linux.

Короче, я в диком а..е — простейшая задача превратилась в неодолимую проблему.
И что особенно бесит — в гостевой виндовс-машине с установкой пака проблем нет никаких (Р-ррр. )

Источник

Install VirtualBox Extension Pack

Functionalities such as USB 2.0 and 3.0 support, full disk encryption for your virtual disk images and even physical disk passthrough are available within this pack. A few extra functionalities include NVMe support, Remote Desktop and PXE boot for Intel chips.

Installation

To get your copy of the extension pack, visit the official VirtualBox site and scroll down to the Oracle section and download the extension pack for your running version of VirtualBox. Click on “All supported platforms” to get this file.

The file is about 20 MB in size and has the extension .vbox-extpack which is the same exact file for any host operating system be it Windows, Linux or macOS.

Once the file is downloaded, open up your VirtualBox manager, from the top menu select File → Preferences (Top-left corner) and a new VirtualBox Preferences window will pop up.

Читайте также:  Как spotify windows phone

In this Window, select the Extensions option from the left-side menu.

Use the icon on the right side which has a plus sign on it, to open File explorer and locate the Extension pack that we downloaded earlier, in your filesystem. Most likely, it is in your Downloads folder. Upon selecting and clicking OK, you will be informed that some of the system level software can harm your computer if they are untrusted.

Since we obtained our extension pack from the official website, it is quite safe to install it. Click install and then Agree to the terms and services if you would like to use the extension pack.

You will then be prompted for your root or sudo password (for Linux users) and Windows users will be greeted by a familiar UAC prompt. In either case, give VirtualBox the permission to install the necessary packages.

Once the extension pack is installed, your Preferences → Extension window will show something like this.

Testing out New Features

Let’s start using a few of the features that we now have at our disposal.

1. Full Disk Encryption

First and foremost would be full disk encryption. This is one of the best ways to ensure that your data inside the VM stays safe from the host.

There are cases where you may not trust the host operating system with your data or privacy, for example, if you are using a company laptop or some obscure OS with un-audited source code. Having your personal data inside a VM doesn’t help very much, unless you have the entire disk encrypted, in which case, the host has fewer ways of getting that information.

To enable disk encryption select your virtual machine from the VirtualBox manager, right click and go to its settings. In the General settings you would notice that the Disk Encryption option is available. Enable it and select any of the cipher that you prefer and then set your password. Once that is done, click OK and it will encrypt the entire .vdi (virtual disk image) file where your OS resides. You can do this while creating a new VM or for your pre-existing VMs as well.

Depending on the actual size of the virtual disk it might take some time. Now everytime you boot your VM, you will be asked for a passphrase:

If you are already using full disk encryption from inside the VM, then this might not be necessary. But, of course, encrypting your disks in this way secures it against vulnerabilities in guest operating system as well.

2. USB 2.0 devices

If you have some data on a USB device and you want to transfer it to your VM, you would typically do that by copying the data to the host machine and then copy the data from there to the guest machine. You may also try using a shared folder to speed up the process, but there will be copying of data involved.

Читайте также:  Как звонить во windows phone

Wouldn’t it be nice if you can just plug your USB device directly into your VM? Well this can be easily achieved once your extension packs are installed. Just go to your VM’s settings as before, and select USB menu from the sidebar.

Settings → USB

Select the kind of controller that your hardware offers. It can be USB 2.0 or USB 3.0. USB ports are backwards compatible so if you select 3.0 and use a 2.0 device that would still work.

You need not select any USB filtering for now, if you are just experimenting, but I urge you to explore further into it.Things can turn ugly if you select the wrong USB device. For example if your USB mouse is selected to be passed through to the VM, then your host machine, your main computer, has no mouse connected to it!

So for now, we shall leave the filtering part untouched and boot our VM, And once again use the Device option from the menu, go to USB option and select the USB device fitting the description of, say, our flash drive, as shown below.

Once you select that, you will notice that a new media is mounted inside the guest operating system which contains all the data held by your flash device.

Once again, your host operating system will have no idea about the existence of this flash device plugged into its hardware. Your VM would have taken control of the USB interface completely.

Removing Extension Pack

To ensure that removing the extension pack doesn’t break any of your VM, make sure that none of the feature like disk encryption or USB passthrough are actively being used.

With USB devices it is a simple matter of powering down all your VMs and none would use any physical interface avaible to them. With disk encryption, however, it is recommended that you go back to the Settings → General → Disk Encryption and uncheck the Enable Disk Encryption option. This is because your data is encrypted even at rest (on your hard disk) and if you remove the extension pack you have no way of decrypting it unless you reinstall the pack.

Once you are sure that none of the extension features are actively in use, you can go to VirtualBox Manger’s File → Preferences –> Extension.

Then click on the red icon on the right-column and you are back to the vanilla VirtualBox environment.

Hope you found this article on VirtualBox extension pack helpful, informative and fun! Please let us know if there’s any Linux related topic that you might want us to cover. You can reach us on Twitter, Facebook or subscribe to us via email.

About the author

Ranvir Singh

I am a tech and science writer with quite a diverse range of interests. A strong believer of the Unix philosophy. Few of the things I am passionate about include system administration, computer hardware and physics.

Источник

Оцените статью