|
1 .. -*- coding: utf-8; -*- |
|
2 .. include:: HEADER.rst |
|
3 |
|
4 ======================== |
|
5 VM (virtual machines). |
|
6 ======================== |
|
7 .. contents:: |
|
8 :local: |
|
9 |
|
10 Virtualization projects. |
|
11 ======================== |
|
12 |
|
13 VMware, VirtualBox, QEMU, Bochs, DosBox. |
|
14 |
|
15 VirtualBox. |
|
16 =========== |
|
17 |
|
18 About VirtualBox. |
|
19 ----------------- |
|
20 |
|
21 http://www.virtualbox.org/wiki/Guest_OSes |
|
22 Guest OSes support status for VirtualBox. |
|
23 |
|
24 Copy and resize VirtualBox disk. |
|
25 -------------------------------- |
|
26 |
|
27 I have clear copies of several OSes for VirtualBox. When I need new one I copy |
|
28 and resize them to get desired size. |
|
29 |
|
30 To copy I make a copy:: |
|
31 |
|
32 $ vboxmanage clonehd /path/to/Hurd.vdi /path/to/Hurd-new.vdi |
|
33 |
|
34 determine size:: |
|
35 |
|
36 $ vboxmanage showhdinfo /path/to/Hurd-new.vdi |
|
37 |
|
38 UUID: 63b87983-3130-4db3-cd8c-6d693dcfd92b |
|
39 Accessible: yes |
|
40 Logical size: 2996 MBytes |
|
41 Current size on disk: 1660 MBytes |
|
42 Type: normal (base) |
|
43 Storage format: VDI |
|
44 Format variant: dynamic default |
|
45 In use by VMs: Hurd (UUID: f7591848-2c60-4c7c-3886-b66bdb35e425) |
|
46 Location: /path/to/Hurd-new.vdi |
|
47 |
|
48 and then apply new size (in MiB):: |
|
49 |
|
50 $ vboxmanage modifyhd --resize 35000 /path/to/Hurd-new.vdi |
|
51 |
|
52 Next I mount ``parted-magic`` and boot to it and use ``gparted`` to extend |
|
53 existing fs to free space. |
|
54 |
|
55 VMWare. |
|
56 ======= |
|
57 |
|
58 VMWare remote graphical client. |
|
59 =============================== |
|
60 :: |
|
61 |
|
62 $ vmware-vmrc.exe -h 192.168.1.2 -u user -p passwd "dir/file.vmx" |
|
63 |