← 返回命令列表

Linux command

vboxmanage-createvm 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Create VM

vboxmanage createvm --name [vmname] --register

Create with OS type

vboxmanage createvm --name [vmname] --ostype [Ubuntu_64] --register

Create in folder

vboxmanage createvm --name [vmname] --basefolder [path] --register

说明

vboxmanage createvm creates a new virtual machine definition. Creates VM configuration without hardware. Use modifyvm to configure CPU, memory, and storage.

参数

--name _name_
VM name.
--ostype _type_
Guest OS type.
--register
Register with VirtualBox.
--basefolder _path_
VM files location.
--uuid _uuid_
Specify UUID.
--groups _groups_
VM groups.

FAQ

What is the vboxmanage-createvm command used for?

vboxmanage createvm creates a new virtual machine definition. Creates VM configuration without hardware. Use modifyvm to configure CPU, memory, and storage.

How do I run a basic vboxmanage-createvm example?

Run `vboxmanage createvm --name [vmname] --register` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --name _name_ do in vboxmanage-createvm?

VM name.