一、查看分区号,从0开始
VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive0
二、添加链接,生成vmdk文件
VBoxManage internalcommands createrawvmdk -filename "D:\Program Files\Oracle\virtul\X.vmdk" -rawdisk \\.\PhysicalDrive0 -partitions 5
一、查看分区号,从0开始
VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive0
二、添加链接,生成vmdk文件
VBoxManage internalcommands createrawvmdk -filename "D:\Program Files\Oracle\virtul\X.vmdk" -rawdisk \\.\PhysicalDrive0 -partitions 5