Hello,
I´m using the following cmd in a bat file: "C:\Program Files\Oracle\VirtualBox\VBoxManage" createhd --filename output.vdi --size 14500 --format VDI --variant Standard
Is there any way to specify the --size in bytes, instead megabytes?
Thanks.
CreateHD Size
-
mpack
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Mostly XP
Re: CreateHD Size
What's wrong with looking at the user manual?
Note however that a VDI is always an integral number of 1MB blocks, so I'm not sure why you would want to use bytes to express the size.User manual s8.21 wrote: VBoxManage createmedium [disk|dvd|floppy] --filename <filename>
[--size <megabytes>|--sizebyte <bytes>]
[--diffparent <uuid>|<filename>
[--format VDI|VMDK|VHD] (default: VDI)
[--variant Standard,Fixed,Split2G,Stream,ESX]