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!


Popular posts from this blog

Turn off AutoPlay on Windows

On Windows, when you insert an USB or a CD/DVD into your computer, they are usually opened automatically. So the computer maybe infected autorun virus. To avoid that, you should turn off AutoPlay function.

Create Wordpress page template

When creating a new page in Wordpress, we usually have a choice for the page template. It's call Default template . However, we sometimes need to make a new page with a new appearance. Then another page template is needed. Instead of downloading a shared page template from internet, we can create a new page template by below instructions.