Xen: Is it possible to run an installed Windows inside Xen?

1

Is it possible to run an already-installed Windows inside Xen, similar to how Parallels Desktop and VMware Fusion can run a bootcamp Windows as a VM on Mac OS?

My plan is, in a few weeks when Windows 7 is out, to buy a netbook with Windows 7 (assuming these beasts will exist) and install Linux with Xen on it so I can boot between Windows, Linux, and Xen with Xen running both the installed Linux and the installed Windows 7.

Any ideas?

Andrew J. Brehm

Posted 2009-08-20T12:33:24.290

Reputation: 4 411

Quite some time passed meanwhile, but possibly somebody cares anyway. Here are my experiences + one problem I'm still trying to solve: http://serverfault.com/questions/624339/linux-xen-directly-boot-windows-domu Besides of that (and, also Windows keeps telling me that it's not genuine) works nicely.

– tge – 2014-10-17T08:48:15.680

Answers

1

In my experience, running an installed OS on virtualized hardware doesn't work well. Every time you switch back and forth the OS has to reconfigure itself. I'm not sure to what extent this applies to xen, but in VMWare it was extremely difficult to make it work properly and it would probably trip modern Windows (XP onwards) hardware activation (i.e. you'd have to get a new activation key from MS).

Mr. Shiny and New 安宇

Posted 2009-08-20T12:33:24.290

Reputation: 1 112

Yes, that was what I was thinking too. But I'd hate to require two Windows installations on the same box. I believe 7 Ultimate comes with the license to run four virtual machines though. – Andrew J. Brehm – 2009-08-20T13:18:52.583

1

I'm currently running Win7 under Debian Xen (deb 64 bit, win7 32 bit).

Runs fine, but only have 1G RAM right now -- I'm upgrading to 8G soon. Problems are no sound support and it keeps wanting me to register.

Ed45626

Posted 2009-08-20T12:33:24.290

Reputation:

Is this an installed (on the hard disk) Windows 7 or a Windows 7 installed in a Xen VM in a disk image? – Andrew J. Brehm – 2010-02-01T15:32:27.020