id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host 4703,VBoxManage creterawvmdk on osx only allows first 4 partitions.,Bengt-Arne Fjellner,,"VBoxManage creterawvmdk on osx only allows first 4 partitions to be used. Also allows nonexistitng partitions with too high numbers on the commandline without any error message. Example command: {{{ sudo VBoxManage internalcommands createrawvmdk -filename /tmp/foo.vmdk -rawdisk /dev/disk0 -partitions 1,2,3,4,5,6,7,8,9,10,11,12,13 }}} partition table (gpt) {{{ sudo gpt -r show /dev/disk0 Password: gpt show: /dev/disk0: Suspicious MBR at sector 0 start size index contents 0 1 MBR 1 1 Pri GPT header 2 32 Pri GPT table 34 6 40 409600 1 GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B 409640 26542320 2 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 26951960 262150 27214110 10586832 3 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 37800942 3 37800945 24659775 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 62460720 455432536 5 GPT part - 48465300-0000-11AA-AA11-00306543ECAC 517893256 95864960 6 GPT part - 48465300-0000-11AA-AA11-00306543ECAC 613758216 262149 614020365 4128705 7 GPT part - 0657FD6D-A4AB-43C4-84E5-0933C84B4F4F 618149070 6988275 8 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 625137345 5070 625142415 32 Sec GPT table 625142447 1 Sec GPT header }}} Resulting vmdk file {{{ # Disk DescriptorFile version=1 CID=4dd10ca2 parentCID=ffffffff createType=""partitionedDevice"" # Extent description RW 1 FLAT ""foo-pt.vmdk"" RW 409639 FLAT ""/dev/disk0s1"" RW 26542320 FLAT ""/dev/disk0s2"" RW 262150 ZERO RW 10586832 FLAT ""/dev/disk0s3"" RW 3 ZERO RW 24659775 FLAT ""/dev/disk0s4"" RW 562681728 ZERO snipped from here }}}",defect,new,other,VirtualBox 3.0.4,,,,other,Mac OS X