Ian Brown wrote:
I am trying desperately to install windows under xen in FC6 on x86_64;
...
When I ran : xm create windows.hvm , there is some window on the screen for a second then it is closed.
On the console I see xm create windows.hvm Using config file "/etc/xen/windows.hvm". Started domain ExampleHVMDomain and that's it.
I'm just starting to look at getting a HVM running myself (that's an "I'm not an expert disclaimer" :> )
I didn't think that "xm create" would say anything beyond that.
If you do a "xm list" does it show up the HVM domain? Maybe it's just sitting around running in the background waiting for a VNC connection or somesuch.
Regards, Robert
Ian Brown wrote:
I am trying desperately to install windows under xen in FC6 on x86_64;
...
When I ran : xm create windows.hvm , there is some window on the screen for a second then it is closed.
I didn't think that "xm create" would say anything beyond that.
If you do a "xm list" does it show up the HVM domain? Maybe it's just sitting around running in the background waiting for a VNC connection or somesuch.
Seeing as I was after one anyway I gave your config a go. It does *indeed* pop up a window briefly - whatchaknow :)
From "xm dmesg" it looks as though (on my box) it can't see the CDROM to
boot from and shuts down.
There does seem to be something about a CDROM in the window that pops up, but I don't read quite *that* quickly.
If I get it going I'll post back here.
Robert
The xen cdrom config seems to have changed, or at least it's pickier than I'd like.
Here are the non-comment bits from my config that seems to be working.
import os, re arch = os.uname()[4] if re.search('64', arch): arch_libdir = 'lib64' else: arch_libdir = 'lib' kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 128 shadow_memory = 8 name = "winxp" vif = [ 'type=ioemu, bridge=xenbr0' ] disk = [ 'file:/extra/xen/hvm.img,hda,w', 'file:/extra/xen/hvm-cdrom.iso,hdc:cdrom,r' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' sdl=1 vnc=0 stdvga=0 serial='pty'
Hello, I will give it a try in a couple of hours as I am right now not close to that machine with the processors with VT support.
May I ask - is your disk is a SATA disk on non-SATA? (this is for the disk = [ 'file:/extra/xen/hvm.img,hda,w', line, which in my case is disk = [ 'file:/var/lib/xen/windisk.img,ioemu:sda,w' ]).
And : Did you succeed in installing windows with this config file ? Did you succeed in running windows under Xen ?
I am quite surprised that there is not (yet) an HowTo on this , which seems to be a popular task theses days under FC6.
Regards, Ian
On 11/20/06, Robert Thiem junk@remcc.org wrote:
The xen cdrom config seems to have changed, or at least it's pickier than I'd like.
Here are the non-comment bits from my config that seems to be working.
import os, re arch = os.uname()[4] if re.search('64', arch): arch_libdir = 'lib64' else: arch_libdir = 'lib' kernel = "/usr/lib/xen/boot/hvmloader" builder='hvm' memory = 128 shadow_memory = 8 name = "winxp" vif = [ 'type=ioemu, bridge=xenbr0' ] disk = [ 'file:/extra/xen/hvm.img,hda,w', 'file:/extra/xen/hvm-cdrom.iso,hdc:cdrom,r' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' sdl=1 vnc=0 stdvga=0 serial='pty'
-- Fedora-xen mailing list Fedora-xen@redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen
May I ask - is your disk is a SATA disk on non-SATA? (this is for the disk = [ 'file:/extra/xen/hvm.img,hda,w', line, which in my case is disk = [ 'file:/var/lib/xen/windisk.img,ioemu:sda,w' ]).
My disk is a SATA, but I don't think that matters much as I'm just using a file based disk device. I think that second tag tells the HW emulation layer what to present the device as to the guest operating system, so you should be able to present the disk image file as SDA if you like but it would only affect what sort of drivers windows uses to talk to the emulation layer.
They may have to match if you're presenting the guest with real partitions (which gives better performance), not sure.
If you're wanting to point it at a real CD-ROM you put in something like 'phy:/dev/cdrom,hdc:cdrom,r' instead of the iso.
And : Did you succeed in installing windows with this config file ? Did you succeed in running windows under Xen ?
Yes, seems to work fine.
Good luck, Robert
On Mon, Nov 20, 2006 at 08:58:26AM +0200, Ian Brown wrote:
Hello, I will give it a try in a couple of hours as I am right now not close to that machine with the processors with VT support.
May I ask - is your disk is a SATA disk on non-SATA? (this is for the disk = [ 'file:/extra/xen/hvm.img,hda,w', line, which in my case is disk = [ 'file:/var/lib/xen/windisk.img,ioemu:sda,w' ]).
And : Did you succeed in installing windows with this config file ? Did you succeed in running windows under Xen ?
I am quite surprised that there is not (yet) an HowTo on this , which seems to be a popular task theses days under FC6.
If anyone wants to write one - feel free to add it in the Fedora Project wiki - there is a general Xen + FC6 guide you can either add to directly, or link to a new page from
http://fedoraproject.org/wiki/FedoraXenQuickstartFC6
Regards, Dan.