I tried to attach to VM physical disk partition, I was following guide and failed.
First I addsharing of two partitions for 5 users with full access.
Then I opened command line as admin and typed commands below - you can see results:
E:\Desktop>cd C:\Program Files\Oracle\VirtualBox
E:\Desktop>c:
C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands listpartitions -rawdisk \\.\PhysicalDrive5
VBoxManage.exe: error: Cannot open the raw disk: VERR_SHARING_VIOLATION
C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands createrawvmdk -filename L:\APPS-NTFS.vmdk -rawdisk \\.\PhysicalDrive5 -partitions 1
VBoxManage.exe: error: Cannot open the raw disk '\\.\PhysicalDrive5': VERR_SHARING_VIOLATION
VBoxManage.exe: error: The raw disk vmdk file was not created
C:\Program Files\Oracle\VirtualBox>VBoxManage internalcommands createrawvmdk -filename L:\DOS-FAT.vmdk -rawdisk \\.\PhysicalDrive5 -partitions 2
VBoxManage.exe: error: Cannot open the raw disk '\\.\PhysicalDrive5': VERR_SHARING_VIOLATION
VBoxManage.exe: error: The raw disk vmdk file was not created
C:\Program Files\Oracle\VirtualBox>
1) You could ask whoever wrote the guide you're following.
2) You need the disk to be ejected from the host, not being mounted.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
BTW, it's not just Windows, OSX needs the drive to be ejected/unmounted/whatever too, and I suspect so does Linux and Solaris.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Ok, this I didn't knew really and my UEFI has feature which allows to work with drives like removable media... Quick Remove
But last Q is - it must to be unmounted always?
If only while running VirtualBox it's ok, but if always it is useless..
The raw disk option requires the drive to be unmounted, as long as it is being used as a raw disk. You can of course mount it afterwards.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Yesterday evening I tried to unmount partition and tried also whole disk, but unmount button is gray and it means not usable.
When I triedunmount whole disk from taskbar icon, it reports error "Disk is in use, close programs..."
Today I tried to do the same after logoff and then logon - not success.
But really on disk or partitions which I want to unmount are no files - no data, so don't understand...
This is not actually a VirtualBox question, per se. Treat it as such, and search the internet accordingly...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
All I said is to search the internet for your problem. Is that a hard thing to ask? Plus if I'm not mistaken, you do not have a support contract, right? So "demanding" support, is something that you're not entitled to.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.