3
4
I have a USB which has OSes on it. Now I want to create VMDK file to use them in VirtualBox.
I read many articles but never found how I can use them. In an article I found the way that:
C:\Program Files\Oracle\VirtualBox > VBoxManage internalcommands createrawvmdk -filename D:\usb.vmdk -rawdisk \\.\physicalDrive<Disk 1> -register
It's not working. I try it without register but nothing happened. If I open my diskmsgmt.msc then they show me the drive's name is Disk 1 Removable
I want to know how I can do this. The problem is that when I run the command the system tells me file not found.
I tried checking the USB. It's working fine. I think that there is may be two reasons for the problem:
- The disk name has whitespace so I think it doesn't work because of that.
- I'm missing something in the commands.
Can anyone explain what commands I need to use so that it works for me?
(I tried the commands with VirtualBox not VMware)
Works perfectly! You will need to run both VirtualBox and VBoxManage as administrator in order to use this (to run VBoxManage as admin, run the command prompt as admin) – Barak Itkin – 2014-11-15T09:36:35.757
Any changes I make to the mounted partition do not appear back on this USB disk, is this normal? – Panda – 2015-03-24T15:14:44.783
On linux, if you don't want to run
virtualbox
orVBoxManage
as root, you can chown the disk to your user:sudo chown USER:USER /dev/sdx
– nishantjr – 2016-03-11T04:07:05.443you dont need the "-register" command. follow the text exactly and it will work. – cyberkeeper1 – 2011-12-04T05:16:46.877