These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Creating a Windows VM on the new forum.
I tried following this link: http://www.virtualmin.com/documentation/cloudmin/windows without any real success. The VM seems to startup. When I use a VNC client on my laptop to connect, I get a solid black screen. I resize the window, I get all sorts of weird remnants but never the desktop.
My host is CentOS 6. plenty of RAM and HDD.
I changed the vnc=0 as it said but no matter what I did, VNC was always on for the other guests. I eventually shut them down just to be safe.
Following the rest of the guide, I merged their instructions with my existing files. This is what I came up with.
memory = 8192 maxmem = 8192 shadow_memory = 8 name = 'win-server-2008-dev-com' address = '65.39.x.x' netmask = '255.255.255.224' kernel = "/usr/lib/xen/boot/hvmloader" builder = 'hvm' vif = [ 'type=ioemu,ip=65.39.x.x,mac=00:16:3e:01:80:33' ] cdrom = 'file:/images/en_windows_server_2012_r2_vl_x64_dvd_3319595.iso' disk = ['phy:/dev/vg_hosting1/fms,hdc,w', 'file:/images/en_windows_server_2012_r2_vl_x64_dvd_3319595.iso,hdb:cdrom,r' ] device_model = '/usr/lib/xen/bin/qemu-dm' # boot on floppy (a), hard disk (c) or CD-ROM (d) # default: hard disk, cd-rom, floppy #### boot must be dc to install windows after that you change it to c or cd boot = "dc" #boot = "c" #vfb = ['type=vnc,vncunused=1,vncpasswd=mypass,vnclisten=0.0.0.0'] vnc = 1 vnclisten = "0.0.0.0" vncunused = 1 vncpasswd = "mypass" #vncconsole = 0 #vncviewer = 1 vcpus = 2 # number of cpu's to assign stdvga = 0 serial = 'pty' usbdevice = 'tablet' # Required for USB mouse on_reboot = 'restart' on_crash = 'restart'
What's the best way to really understand what's going on?
Still not there yet. Here is the new config
and here is the log. Not sure how to fix these errors.
Not getting anywhere. According to what I see online, I have HVM enabled for this to work.
[root@h2 ~]# xl dmesg | grep -i hvm (XEN) HVM: ASIDs disabled. (XEN) HVM: VMX enabled
Yet, this says nothing: [root@h2 ~]# grep vmx /proc/cpuinfo
How can that be?
I found a simple little pictorial to try rather than beating myself up over the perfect config: http://www.bulletvps.eu/client/knowledgebase/14/Creating-VM-from-CD-Wind...
I get the following error: Creating virtual system with Xen .. .. creation failed : The CPU or BIOS on host system hosting2.hldns.xen does not support Xen HVM
But how is that? HVM VMX is there.
I've had a similar issue, turned out to be the xl toolstack
everything worked after switching to xm
Here is what I settled on and works well.
Once you have your VM up and running you will need to install some PVM drivers to ensure everything works smoothly.
http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers
I had another bookmark but the site seems unresponsive. I'll post back if I find it.
This is the hard to create VM in windows but now the user can easily create this from here https://rememberpasswordsinmicrosoftedge.net and solution is here.