


VirtualBox can only access raw disk devices with administrator privileges.Ĭreate a new virtual machine by clicking the New button and go through the wizard. Right-click the VirtualBox shortcut and select Run as administrator. When you load the VMDK file as a drive in VirtualBox, VirtualBox will actually access the physical device. This command creates a virtual machine disk (VMDK) file that points to the physical drive you select. You can replace C:\usb.vmdk with any file path you want. VBoxManage internalcommands createrawvmdk -filename C:\usb.vmdk -rawdisk \\.\PhysicalDrive # Type the following command into the Command Prompt window, replacing # with the number of the disk you found above, and press Enter. If you installed VirtualBox to a custom directory, you’ll need to replace the directory path in the command with the path to your own VirtualBox directory: This command will change to VirtualBox’s default installation directory. Type the following command into the Command Prompt window and press Enter.
#How to install ubuntu from usb on windows 8 windows 8
On Windows 8 or 8.1, press Windows Key + X and click Command Prompt (Administrator). On Windows 7, open the Start menu, search for Command Prompt, right-click the Command Prompt shortcut, and select Run as administrator.

Next, open a Command Prompt as Administrator.
