5

I have a VirtualBox virtual machine that I use regularly. In order to use it on many computers, I carry it around on a USB drive.

Sometimes, however, I come across a computer that doesn't support full virtualization (doesn't have the necessary resources). Since the VM is on a USB drive, that made me wonder: is it possible to live-boot a VM?

3 Answers3

2

If "the necessary resources" are hardware related, such as not enough ram, or cpu power. I'm not sure how that would work.

You could perhaps install a linux distro onto a usb drive with Virtualbox installed and boot the computer using that OS and initializing the virtualization through that Virtualbox.

It will likely be slow, but could be an alternative if you are looking for one.

Mallow
  • 339
1

I'm not sure how well this would work but Windows 7 and Windows Server 2008 R2 supports booting from a VHD file. You should be able to use the method to create a bootable usb stick and then add a boot menu entry for your vhd file.

This could result in some weird behavior when switching from virtual to real when Windows detects new hardware and has to reconfigure.

Glorfindel
  • 4,158
Paxxi
  • 7,186
1

In theory yes. You could copy the contents of the virtual drive to a real drive and boot from it. However, the VM is installed on virtual hardware, so when you boot it on a real, physical system, it will need to detect the new hardware and install all the drivers for it. This can be easier said than done since it’s not just the video card or hard-drive that is different but the CPU, the BIOS, and the whole motherboard! Normally, you are supposed to be able to take an installed copy of an operating system and put it in a new computer, but it is quite possible for it to not work (I did this and ran into horribly nasty problems that took a lot of time and effort to sort out).

Synetech
  • 69,547