billy lau
2008-Oct-14 20:17 UTC
[Xen-users] Problem installing WinXP in Xen on Debian etch
Hi xen users, Recently, I am trying to install windows xp using hvm with the below config file: kernel = ''/usr/lib/xen-3.0.3-1/boot/hvmloader'' builder = ''hvm'' memory = 1024 device_model=''/usr/lib/xen/bin/qemu-dm'' #Disks disk = [''file:/mount/extended/vm_image/xp_disk.img,ioemu:hda,w''] cdrom="/home/billy/winxp_sp3.iso" # Hostname name = ''windows'' # Networking vif = [''type=ioemu, bridge=xenbr0''] # Behavior boot=''d'' vnc=1 sdl=0 serial=''pty'' The problem that I have is that as I create this domain, it says Using config file "./windows" Started domain windows but there is no window popping up. As I do xm list there is a domain called windows with ID and VCPU with state ''r'', and time continuously running. Oh, and btw, when I do a vncviewer localhost:5900, I only get a white screen. Can anyone please help? Thanks, - billy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2008-Oct-14 22:39 UTC
Re: [Xen-users] Problem installing WinXP in Xen on Debian etch
On Tue, Oct 14, 2008 at 4:17 PM, billy lau <billylau@umich.edu> wrote:> > Hi xen users, > > Recently, I am trying to install windows xp using hvm with the below config file: > > kernel = ''/usr/lib/xen-3.0.3-1/boot/hvmloader'' > builder = ''hvm'' > memory = 1024 > device_model=''/usr/lib/xen/bin/qemu-dm'' > > #Disks > disk = [''file:/mount/extended/vm_image/xp_disk.img,ioemu:hda,w''] > cdrom="/home/billy/winxp_sp3.iso" > > # Hostname > name = ''windows'' > > # Networking > vif = [''type=ioemu, bridge=xenbr0''] > > # Behavior > boot=''d'' > vnc=1 > sdl=0 > serial=''pty'' > > > > The problem that I have is that as I create this domain, it says > Using config file "./windows" > Started domain windows > > but there is no window popping up. As I do xm list > there is a domain called windows with ID and VCPU with state ''r'', and time continuously running. > > Oh, and btw, when I do a vncviewer localhost:5900, I only get a white screen. > > > Can anyone please help?Can you use a newer version of Xen? or did you try using sdl=1? In Xen starting in 3.3, you should use vncviewer="yes" and that loads the vnc windows automatically. If you can''t use a newer version of Xen, take a look in /var/log/xen/qemu* for errors. Actually looking again at the config, get rid of the cdrom= line and instead add the cdrom to the disk line: something like: disk = [''file:/mount/extended/vm_image/xp_disk.img,ioemu:hda,w'', ''file:/home/billy/winxp_sp3.iso, hdc:cdrom,r''] Hope that helps. Cheers, Todd -- Todd Deshane http://todddeshane.net http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
jonr@destar.net
2008-Oct-14 23:20 UTC
Re: [Xen-users] Problem installing WinXP in Xen on Debian etch
Quoting billy lau <billylau@umich.edu>:> Hi xen users, > > Recently, I am trying to install windows xp using hvm with the below config > file: > > kernel = ''/usr/lib/xen-3.0.3-1/boot/hvmloader'' > builder = ''hvm'' > memory = 1024 > device_model=''/usr/lib/xen/bin/qemu-dm'' > > #Disks > disk = [''file:/mount/extended/vm_image/xp_disk.img,ioemu:hda,w''] > cdrom="/home/billy/winxp_sp3.iso" > > # Hostname > name = ''windows'' > > # Networking > vif = [''type=ioemu, bridge=xenbr0''] > > # Behavior > boot=''d'' > vnc=1 > sdl=0 > serial=''pty'' > > > > The problem that I have is that as I create this domain, it says > Using config file "./windows" > Started domain windows > > but there is no window popping up. As I do xm list > there is a domain called windows with ID and VCPU with state ''r'', and time > continuously running. > > Oh, and btw, when I do a vncviewer localhost:5900, I only get a white > screen. > > > Can anyone please help? > Thanks, > - billy >Hello Billy, What does netstat -an show? Try putting vncunused=0 and vnclisten=0.0.0.0 in your config file as well. Jon _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
billy lau
2008-Oct-15 19:50 UTC
Re: [Xen-users] Problem installing WinXP in Xen on Debian etch
Okay, it turns out that the hvmloader that I use is having problem, because now, I am using a recompiled hvmloader, and then everything works out charmingly, except that now, my vnc window tends to go off by itself whenever I changes windows resolution. Any ideas with that? thanks, - billy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users