Rawdisk on partition
Posted: 20. Sep 2015, 11:48
I use VirtualBox 5.0.4 on windows 10. When I run the command
VBoxManage internalcommands listpartitions -rawdisk "\\.\PhysicalDrive0"
Show
Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0x00 0 /0 /0 0 /0 /0 260 2048
2 0x00 0 /0 /0 0 /0 /0 1474 534528
3 0x00 0 /0 /0 0 /0 /0 260 3553280
4 0x00 0 /0 /0 0 /0 /0 128 4085760
5 0x00 0 /0 /0 0 /0 /0 520085 4347904
6 0x00 0 /0 /0 0 /0 /0 59999 1069481984
7 0x00 0 /0 /0 0 /0 /0 350 1192361984
8 0x00 0 /0 /0 0 /0 /0 27922 1193078784
on partition 6 i want create a rawdisk and i execute commad
VBoxManage internalcommands createrawvmdk -filename "C:\virtualmachines\raw\internalraw.vmdk" -rawdisk "\\.\PhysicalDrive0" -partitions 6
RAW host disk access VMDK file C:\virtualmachines\raw\internalraw.vmdk created successfully.
When I hook the drive to my virtual machine the disk has dimension 596,17 GB as the entire disk.
What am I wrong? because you do not see the partition?
Thanks
Sergio
VBoxManage internalcommands listpartitions -rawdisk "\\.\PhysicalDrive0"
Show
Number Type StartCHS EndCHS Size (MiB) Start (Sect)
1 0x00 0 /0 /0 0 /0 /0 260 2048
2 0x00 0 /0 /0 0 /0 /0 1474 534528
3 0x00 0 /0 /0 0 /0 /0 260 3553280
4 0x00 0 /0 /0 0 /0 /0 128 4085760
5 0x00 0 /0 /0 0 /0 /0 520085 4347904
6 0x00 0 /0 /0 0 /0 /0 59999 1069481984
7 0x00 0 /0 /0 0 /0 /0 350 1192361984
8 0x00 0 /0 /0 0 /0 /0 27922 1193078784
on partition 6 i want create a rawdisk and i execute commad
VBoxManage internalcommands createrawvmdk -filename "C:\virtualmachines\raw\internalraw.vmdk" -rawdisk "\\.\PhysicalDrive0" -partitions 6
RAW host disk access VMDK file C:\virtualmachines\raw\internalraw.vmdk created successfully.
When I hook the drive to my virtual machine the disk has dimension 596,17 GB as the entire disk.
What am I wrong? because you do not see the partition?
Thanks
Sergio