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