author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 02 Sep 2020 14:30:38 +0300 | |
changeset 2434 | 667c1018b3bd |
parent 2255 | d284bcd5a8c3 |
permissions | -rw-r--r-- |
1813 | 1 |
.. -*- coding: utf-8; -*- |
2 |
||
3 |
============= |
|
4 |
VirtualBox. |
|
5 |
============= |
|
6 |
.. contents:: |
|
1905
fba288d59662
Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1813
diff
changeset
|
7 |
:local: |
1813 | 8 |
|
9 |
Supported guests. |
|
10 |
================= |
|
11 |
||
2230 | 12 |
* https://www.virtualbox.org/wiki/Guest_OSes |
1813 | 13 |
|
14 |
TODO: which guests have Additions |
|
15 |
||
16 |
TODO: which guests allow window resizing |
|
17 |
||
2025
10204d808399
Managing VirtualBox guests from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
18 |
Managing VirtualBox guests from command line |
10204d808399
Managing VirtualBox guests from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
19 |
============================================ |
1813 | 20 |
|
2025
10204d808399
Managing VirtualBox guests from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
21 |
List of known guests:: |
10204d808399
Managing VirtualBox guests from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
22 |
|
10204d808399
Managing VirtualBox guests from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
23 |
$ VBoxManage list vms |
10204d808399
Managing VirtualBox guests from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
24 |
|
10204d808399
Managing VirtualBox guests from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
25 |
Start guest by name:: |
10204d808399
Managing VirtualBox guests from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
26 |
|
10204d808399
Managing VirtualBox guests from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
27 |
$ VBoxManage startvm $NAME |
10204d808399
Managing VirtualBox guests from command line
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1912
diff
changeset
|
28 |
|
2255 | 29 |
Resize box |
30 |
========== |
|
31 |
:: |
|
32 |
||
33 |
$ vboxmanage list -l hdds |
|
34 |
$ vboxmanage modifyhd $UUID --resize $SIZE |
|
35 |
||
36 |
Resizing of VMDK image isn't supported, convert to VDI first:: |
|
37 |
||
38 |
$ vboxmanage clonehd $MY.vmdk $MY.vdi --format vdi |
|
39 |
$ vboxmanage modifyhd $MY.vdi --resize $SIZE |
|
40 |
$ vboxmanage clonehd $MY.vdi $MY.new.vmdk --format vmdk |
|
41 |