Skip to main content

Boot from USB disk on Oracle VM VirtualBox virtual machine

VM VirtualBox is Oracle's virtual machine software. In the complete installation virtual machine, you can attach and use any USB form host computer. But when you want to boot the guest virtual machine from a bootable USB, the attachment isn't useful. Then you can try this tip:



  • Plug your USB into the host computer and get the disk ID number in Disk management:



  • Run Windows command prompt as administrator. Input following commands:

cd "C:\Program Files\Oracle\VirtualBox"
VBoxManage internalcommands createrawvmdk -filename "C:\usb.vmdk" -rawdisk \\.\PhysicalDriveTHE_DISK_ID_NUMBER_HERE

  • Return VirtualBox, open virtual machine settings and choose to add file "C:\usb.vmdk" as a virtual hard disk






  • Now, when you boot up virtual machine, you can choose to boot from USB disk (press F12 to choose boot devices).


Wish succeed!


Comments

Popular posts from this blog

Fix network printer error 0x0000709

When printing in the network, sometimes you see the error "Operation could not be completed (error 0x00000709). Double click the printer name and make sure that the printer is connected to the network".  Here we show how to fix the error: Open Windows Control Panel Open Credential Manager Choose Windows Credentials Click Add a Windows credential Internet or network address: input the computer name which share the printer User name: input "guest" Password: leave it blank Then click OK and reconnect the shared printer Do not need: uninstall Windows updates; change Windows registry... This maybe applied for error: 0x00000005, 0x0000011b... Watch the step by step video on here: