« ^ »

VirtualBoxメモ

所要時間: 約 2分

インストール

brew install virtualbox --cask

マニュアル

マニュアルは梱包されている。

/Applications/VirtualBox.app/Contents/MacOS/UserManual.pdf

仮想ハードドライブ

気になる項目。

  • ダイナミックサイジング
  • スナップショット
  • パフォーマンス

VDI - VirutalBox Dis Image

  • VirtualBox独自のディスクイメージ
  • ホストOSにシステムファイルとして組み込まれる

VHD - Virutal Hard Disk

  • Microsoft社がOpen Specification Promiseに基づいて策定した仮想ディスクイメージ形式。
  • ファイル拡張子は .vhd

VMDK - Virtual Machine DisK

  • VMware社が策定した仮想ディスクイメージ形式。
  • 拡張子は .vmdk
  • VMwareのvSphereやWorkstation独自のディスクイメージ。

コマンド

VirtualBox

Oracle VM VirtualBox VM Selector v6.1.18
(C) 2005-2021 Oracle Corporation
All rights reserved.

No special options.

If you are looking for --startvm and related options, you need to use VirtualBoxVM.

Process VirtualBox: In /Applications/VirtualBox.app/Contents/MacOS/ finished

vbox-img

Oracle VM VirtualBox Disk Utility 6.1.18
(C) 2005-2021 Oracle Corporation
All rights reserved.

Usage: vbox-img
   setuuid      --filename <filename>
                [--format VDI|VMDK|VHD|...]
                [--uuid <uuid>]
                [--parentuuid <uuid>]
                [--zeroparentuuid]

   geometry     --filename <filename>
                [--format VDI|VMDK|VHD|...]
                [--clearchs]
                [--cylinders <number>]
                [--heads <number>]
                [--sectors <number>]

   convert      --srcfilename <filename>
                --dstfilename <filename>
                [--stdin]|[--stdout]
                [--srcformat VDI|VMDK|VHD|RAW|..]
                [--dstformat VDI|VMDK|VHD|RAW|..]
                [--variant Standard,Fixed,Split2G,Stream,ESX]

   info         --filename <filename>

   compact      --filename <filename>
                [--filesystemaware]

   createcache  --filename <filename>


   createbase   --filename <filename>
                --size <size in bytes>
                [--format VDI|VMDK|VHD] (default: VDI)
                [--variant Standard,Fixed,Split2G,Stream,ESX]
                [--dataalignment <alignment in bytes>]

   createfloppy --filename <filename>
                [--size <size in bytes>]
                [--root-dir-entries <value>]
                [--sector-size <bytes>]
                [--heads <value>]
                [--sectors-per-track <count>]
                [--media-byte <byte>]

   createiso    [too-many-options]

   repair       --filename <filename>
                [--dry-run]
                [--format VDI|VMDK|VHD] (default: autodetect)

   clearcomment --filename <filename>

   resize       --filename <filename>
                --size <new size>
                --size <cache size>
Process vbox-img: In /opt/ng/symdon/ finished

vboximg-mount

vboximg-mount: error: Failed to load the fuse library, rc=VERR_FILE_NOT_FOUND

Process vboximg-mount: In /opt/ng/symdon/ exited abnormally with code 1

vboxwebsrv

Oracle VM VirtualBox web service Version 6.1.18
(C) 2007-2021 Oracle Corporation
All rights reserved.

Usage: vboxwebsrv [options]

Supported options (default values in brackets):
--help, -h:            Print this help message and exit.
--background, -b:      Run in background (daemon mode).
--host, -H:            The host to bind to (localhost).
--port, -p:            The port to bind to (18083).
--ssl, -s:             Enable SSL/TLS encryption.
--keyfile, -K:         Server key and certificate file, PEM format ("").
--passwordfile, -a:    File name for password to server key ("").
--cacert, -c:          CA certificate file, PEM format ("").
--capath, -C:          CA certificate path ("").
--dhfile, -D:          DH file name or DH key length in bits ("").
--randfile, -r:        File containing seed for random number generator ("").
--timeout, -t:         Session timeout in seconds; 0 = disable timeouts (300).
--check-interval, -i:  Frequency of timeout checks in seconds (5).
--threads, -T:         Maximum number of worker threads to run in parallel (100).
--keepalive, -k:       Maximum number of requests before a socket will be closed (100).
--authentication, -A:  Authentication method for the webservice ("").
--verbose, -v:         Be verbose.
--pidfile, -P:         Name of the PID file which is created when the daemon was started.
--logfile, -F:         Name of file to write log to (no file).
--logrotate, -R:       Number of log files (0 disables log rotation).
--logsize, -S:         Maximum size of a log file to trigger rotation (bytes).
--loginterval, -I:     Maximum time interval to trigger log rotation (seconds).

Process vboxwebsrv: In /opt/ng/symdon/ finished