I want to add physical disk to VBOX - I was reading manual and want to be sure about the commands.
First I tried to display partitions of disk 6 by command:
Code: Select all
VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive5
Code: Select all
VBoxManage.exe: error: Cannot open the raw disk: VERR_SHARING_VIOLATION
Commands which I tried not while it reports error at partition list:
Create disk named APPS-NTFS.vmdk on L:\ root with access to 2nd partition of disk 6 (count beginning 1, command by 0) disk is formatted by NTFS, compression enabled:
Code: Select all
VBoxManage internalcommands createrawvmdk -filename L:\APPS-NTFS.vmdk -rawdisk \\.\PhysicalDrive5 -partitions 1
Code: Select all
VBoxManage internalcommands createrawvmdk -filename L:\DOS-FAT.vmdk -rawdisk \\.\PhysicalDrive5 -partitions 2
Thank you for help.
Miro