6

I want to run a bare-metal Hypervisor on my laptop, with the ability to run Windows 7 AND Ubuntu 17.10 at the same time. For instance, I want to be able to have both OSes running simultaneously, and switch between both OSes instantly.

I honestly don't know if this is possible, most examples I've seen require a separate computer to access the OS running on the Hypervisor.

3
  • Welcome to Super User! What are you trying to achieve, that 'regular' virtualisation (eg VirtualBox, vfio) won't do? What do you mean by switch between them instantly? What about a laptop causes issues?
    – bertieb
    Mar 14, 2018 at 1:47
  • 1
    Hypervisors like ESXi run multiple OSes simultaneously, but you cant access them from the ESXi host. I want to be able to run more than one OS,and be able to access them from the same machine. Also I really am just looking for ways to experiment and practice with Hypervisors, so I'm not really trying to achieve much. Mar 14, 2018 at 1:56
  • Hey, @EliasDahar I want to achieve the exact same thing. Did you have any luck?
    – drkostas
    Sep 22, 2020 at 9:24

1 Answer 1

7

You want a type-1 hypervisor

From the way you describe the scenario, it sounds like you want a type-1 hypervisor specifically:

hypervisor types

(image CC0 by Scsami)

That is, sitting above an OS.

Windows Server with Hyper-V and Desktop roles

To fulfil your requirements of having a type-1 hypervisor and being able to run and switch between Windows and Linux (some flavours thereof), running Windows Server (eg Server 2016) with the Hyper-V and Desktop experience roles should let you manage them locally via console.

There is more information on Hyper-V available on its overview page:

Hyper-V is Microsoft's hardware virtualization product. It lets you create and run a software version of a computer, called a virtual machine. Each virtual machine acts like a complete computer, running an operating system and programs. When you need computing resources, virtual machines give you more flexibility, help save time and money, and are a more efficient way to use hardware than just running one operating system on physical hardware.

And it does support Linux (and FreeBSD) as well.

(Side note: the question of Hyper-V being type-1 has been raised and answered over on Server Fault)

If you use an additional GPU, you could use Xen

Using an eGPU (like one added via USB, for example) would let you pass through one graphics card to a guest (DomU, in Xen parlance) and retain the other to access the OS (Dom0).

Xen 4.0.0 is the first version to support VGA graphics adapter passthrough to Xen HVM (fully virtualized) guests. This means you can give HVM guest full and direct control of the graphics adapter, making it possible to have high performance full 3D and video acceleration in a virtual machine.

but note that your laptop must support this:

Xen VGA passthrough requires IOMMU (Intel VT-d) support from the motherboard chipset, from the motherboard BIOS and from Xen. Please see the VTdHowTo wiki page for more information about Xen VT-d support and supported chipsets with IOMMU.

Xen does support Windows as a DomU (see under 'Windows 7/XP/Vista/Server 2008'), and has a FAQ on drivers which may be worth reading if you go down this route.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.