virtualbox.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 19 Dec 2018 14:07:30 +0200
changeset 2307 08aa10b9c7ff
parent 2255 d284bcd5a8c3
permissions -rw-r--r--
Add timestamp to Vagrant log.

.. -*- coding: utf-8; -*-

=============
 VirtualBox.
=============
.. contents::
   :local:

Supported guests.
=================

* https://www.virtualbox.org/wiki/Guest_OSes

TODO: which guests have Additions

TODO: which guests allow window resizing

Managing VirtualBox guests from command line
============================================

List of known guests::

  $ VBoxManage list vms

Start guest by name::

  $ VBoxManage startvm $NAME

Resize box
==========
::

   $ vboxmanage list -l hdds
   $ vboxmanage modifyhd $UUID --resize $SIZE

Resizing of VMDK image isn't supported, convert to VDI first::

  $ vboxmanage clonehd $MY.vmdk $MY.vdi --format vdi
  $ vboxmanage modifyhd $MY.vdi --resize $SIZE
  $ vboxmanage clonehd $MY.vdi $MY.new.vmdk --format vmdk