Mount raw hard disk partition drive on Virtual Box

Mount raw hard disk partition drive on Virtual Box

Know your drive number

To know the drive number of your system go to

Run > compmgmt.msc

Go to disk Management

See the Disk 1 , Disk 0 , Disk 3 etc

See the number

Replace this at the end of command here. Example replace 1 with 2 or something what ever you note


Know the partition number

C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive1

This will show all the partitions of current drive

Choose the partition you want to mount

Create VMDK disk based on this info

C:\Program Files\Oracle\VirtualBox\VBoxManage.exe internalcommands createrawvmdk -filename C:\Jagat\VirtualBox\directDisk.vmdk -rawdisk \\.\PhysicalDrive1 -partitions 7

Done

No comments:

Post a Comment

Please share your views and comments below.

Thank You.