Hi all i followed this link to install windows under xen http://lists.xensource.com/archives/html/xen-users/2006-06/msg00599.html my xen file is as follows: kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1024 name = "winxp" vcpus=1 cpus = "" vif = [ ''type=ioemu, bridge=xenbr0'' ] disk = [ ''file:/root/xenimages/WS128.img,ioemu:hda,w'' ] device_model = ''/usr/lib/xen/bin/qemu-dm'' cdrom=''/tmp/en_windows_server_2003_standard.iso'' boot=''d'' sdl=0 vnc=1 vncviewer=0 stdvga=0 serial=''pty'' ne2000=0 and when i do # xm create -c /etc/xen/winxp it gives message as Using config file "/etc/xen/winxp". Started domain winxp but when i type % vncviewer 172.17.217.155:1 to vien its console so that i can complete the installation . i am not able to connect to the host using the command and even by using windows agent(vncviewer). am i missing something? or do i need to start something to view live vncserver. i also tried starting vncserver but when after starting vncserver. if i run vncviewer 172.17.217.115:1 then i am able to connect server but not able to see the installation window to . kindly let me know what to do. and is there any way i can see the installation on the same machine without using any vnc or any other vnc agent. thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Try 172.17.217.115 or <http://172.17.217.115:1>172.17.217.115:0 - I think the first Windows client is on port 5900 (or :0 suffix in VNS), the second in 5901 (or :1) etcetera. <http://172.17.217.115:1> Hope this helps, John Arpan Jindal wrote:> Hi all > > i followed this link to install windows under xen > http://lists.xensource.com/archives/html/xen-users/2006-06/msg00599.html > > my xen file is as follows: > kernel = "/usr/lib/xen/boot/hvmloader" > builder=''hvm'' > memory = 1024 > name = "winxp" > vcpus=1 > cpus = "" > vif = [ ''type=ioemu, bridge=xenbr0'' ] > disk = [ ''file:/root/xenimages/WS128.img,ioemu:hda,w'' ] > device_model = ''/usr/lib/xen/bin/qemu-dm'' > cdrom=''/tmp/en_windows_server_2003_standard.iso'' > boot=''d'' > sdl=0 > vnc=1 > vncviewer=0 > stdvga=0 > serial=''pty'' > ne2000=0 > > > and when i do > > # xm create -c /etc/xen/winxp > > it gives message as > > Using config file "/etc/xen/winxp". > Started domain winxp > > but when i type > % vncviewer 172.17.217.155:1 <http://172.17.217.155:1> > > to vien its console so that i can complete the installation . > i am not able to connect to the host using the command and even by > using windows agent(vncviewer). > > am i missing something? > or do i need to start something to view live vncserver. > i also tried starting vncserver but when after starting vncserver. > if i run vncviewer 172.17.217.115:1 <http://172.17.217.115:1> then i > am able to connect server but not able to see the installation window to . > > kindly let me know what to do. > > and is there any way i can see the installation on the same machine > without using any vnc or any other vnc agent. > > thanks > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Arpan Jindal schrieb:> Hi all > > i followed this link to install windows under xen > http://lists.xensource.com/archives/html/xen-users/2006-06/msg00599.html > > my xen file is as follows: > kernel = "/usr/lib/xen/boot/hvmloader" > builder=''hvm'' > memory = 1024 > name = "winxp" > vcpus=1 > cpus = "" > vif = [ ''type=ioemu, bridge=xenbr0'' ] > disk = [ ''file:/root/xenimages/WS128.img,ioemu:hda,w'' ] > device_model = ''/usr/lib/xen/bin/qemu-dm'' > cdrom=''/tmp/en_windows_server_2003_standard.iso'' > boot=''d'' > sdl=0 > vnc=1 > vncviewer=0 > stdvga=0 > serial=''pty'' > ne2000=0usb=1 usbdevice=''tablet'' this keeps the remote mousepointer better in sync. also check /etc/xen/xend-config.sxp if you want to connect to your vnc, the server should listen on all interfaces (vnc-listen ''0.0.0.0'') the default is 127.0.0.1 for security reasons. alternatively, install a vncviewer in your dom0 and connect via ssh -X to get X11 forwarded.> > > and when i do > > # xm create -c /etc/xen/winxp > > it gives message as > > Using config file "/etc/xen/winxp". > Started domain winxp > > but when i type > % vncviewer 172.17.217.155:1 <http://172.17.217.155:1> > > to vien its console so that i can complete the installation . > i am not able to connect to the host using the command and even by using > windows agent(vncviewer). > > am i missing something? > or do i need to start something to view live vncserver. > i also tried starting vncserver but when after starting vncserver. > if i run vncviewer 172.17.217.115:1 <http://172.17.217.115:1> then i am > able to connect server but not able to see the installation window to . > > kindly let me know what to do. > > and is there any way i can see the installation on the same machine > without using any vnc or any other vnc agent. > > thanks > > > > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 würzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de <http://www.netz-haut.de/> registriergericht: amtsgericht würzburg, hra 5054 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi first of all thanks for the previous inputs. i am able to see the output using vncviewer. but when i see into vnc window setup i not running i am getting cd rom problem as bellow: CDROM boot failure code : 0002 boot from cdrom failed FATAL: Could you read boot disk kindly help again thanks On 2/19/08, Stephan Seitz <s.seitz@netz-haut.de> wrote:> > Arpan Jindal schrieb: > > Hi all > > > > i followed this link to install windows under xen > > http://lists.xensource.com/archives/html/xen-users/2006-06/msg00599.html > > > > my xen file is as follows: > > kernel = "/usr/lib/xen/boot/hvmloader" > > builder=''hvm'' > > memory = 1024 > > name = "winxp" > > vcpus=1 > > cpus = "" > > vif = [ ''type=ioemu, bridge=xenbr0'' ] > > disk = [ ''file:/root/xenimages/WS128.img,ioemu:hda,w'' ] > > device_model = ''/usr/lib/xen/bin/qemu-dm'' > > cdrom=''/tmp/en_windows_server_2003_standard.iso'' > > boot=''d'' > > sdl=0 > > vnc=1 > > vncviewer=0 > > stdvga=0 > > serial=''pty'' > > ne2000=0 > usb=1 > usbdevice=''tablet'' > > this keeps the remote mousepointer better in sync. > > > also check /etc/xen/xend-config.sxp > > if you want to connect to your vnc, the server should listen on all > interfaces > > (vnc-listen ''0.0.0.0'') > the default is 127.0.0.1 for security reasons. > > alternatively, install a vncviewer in your dom0 and connect via ssh -X to > get > X11 forwarded. > > > > > > > > > > and when i do > > > > # xm create -c /etc/xen/winxp > > > > it gives message as > > > > Using config file "/etc/xen/winxp". > > Started domain winxp > > > > but when i type > > % vncviewer 172.17.217.155:1 <http://172.17.217.155:1> > > > > to vien its console so that i can complete the installation . > > i am not able to connect to the host using the command and even by using > > windows agent(vncviewer). > > > > am i missing something? > > or do i need to start something to view live vncserver. > > i also tried starting vncserver but when after starting vncserver. > > if i run vncviewer 172.17.217.115:1 <http://172.17.217.115:1> then i am > > able to connect server but not able to see the installation window to . > > > > kindly let me know what to do. > > > > and is there any way i can see the installation on the same machine > > without using any vnc or any other vnc agent. > > > > thanks > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > -- > Stephan Seitz > Senior System Administrator > > *netz-haut* e.K. > multimediale kommunikation > > zweierweg 22 > 97074 würzburg > > fon: +49 931 2876247 > fax: +49 931 2876248 > > web: www.netz-haut.de <http://www.netz-haut.de/> > > registriergericht: amtsgericht würzburg, hra 5054 > >-- Arpan Jindal Mumbai +91-9819680008 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Arpan Jindal schrieb:> Hi > first of all thanks for the previous inputs. i am able to see the > output using vncviewer. > but when i see into vnc window setup i not running i am getting cd rom > problem as bellow: > > CDROM boot failure code : 0002 > boot from cdrom failed > FATAL: Could you read boot disk > > kindly help again > > thanksoh, your config is slightly outdated ;) the cdrom='''' statement is obsolete. use the disk line instead, like: disk = [ ''file:/root/xenimages/WS128.img,ioemu:hda,w'', ''file:/tmp/en_windows_server_2003_standard.iso,ioemu:hdc:cdrom,r'' ] on recent xen versions, i prefer: disk = [ ''file:/root/xenimages/WS128.img,xvda,w'', ''file:/tmp/en_windows_server_2003_standard.iso,xvdc:cdrom,r'' ] hope this helps.> > On 2/19/08, *Stephan Seitz* <s.seitz@netz-haut.de > <mailto:s.seitz@netz-haut.de>> wrote: > > Arpan Jindal schrieb: > > Hi all > > > > i followed this link to install windows under xen > > > http://lists.xensource.com/archives/html/xen-users/2006-06/msg00599.html > > > > my xen file is as follows: > > kernel = "/usr/lib/xen/boot/hvmloader" > > builder=''hvm'' > > memory = 1024 > > name = "winxp" > > vcpus=1 > > cpus = "" > > vif = [ ''type=ioemu, bridge=xenbr0'' ] > > disk = [ ''file:/root/xenimages/WS128.img,ioemu:hda,w'' ] > > device_model = ''/usr/lib/xen/bin/qemu-dm'' > > cdrom=''/tmp/en_windows_server_2003_standard.iso'' > > boot=''d'' > > sdl=0 > > vnc=1 > > vncviewer=0 > > stdvga=0 > > serial=''pty'' > > ne2000=0 > usb=1 > usbdevice=''tablet'' > > this keeps the remote mousepointer better in sync. > > > also check /etc/xen/xend-config.sxp > > if you want to connect to your vnc, the server should listen on all > interfaces > > (vnc-listen ''0.0.0.0 <http://0.0.0.0>'') > the default is 127.0.0.1 <http://127.0.0.1> for security reasons. > > alternatively, install a vncviewer in your dom0 and connect via ssh > -X to get > X11 forwarded. > > > > > > > > > > and when i do > > > > # xm create -c /etc/xen/winxp > > > > it gives message as > > > > Using config file "/etc/xen/winxp". > > Started domain winxp > > > > but when i type > > % vncviewer 172.17.217.155:1 <http://172.17.217.155:1> > <http://172.17.217.155:1> > > > > to vien its console so that i can complete the installation . > > i am not able to connect to the host using the command and even > by using > > windows agent(vncviewer). > > > > am i missing something? > > or do i need to start something to view live vncserver. > > i also tried starting vncserver but when after starting vncserver. > > if i run vncviewer 172.17.217.115:1 <http://172.17.217.115:1> > <http://172.17.217.115:1> then i am > > able to connect server but not able to see the installation > window to . > > > > kindly let me know what to do. > > > > and is there any way i can see the installation on the same machine > > without using any vnc or any other vnc agent. > > > > thanks > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > > http://lists.xensource.com/xen-users > > > -- > Stephan Seitz > Senior System Administrator > > *netz-haut* e.K. > multimediale kommunikation > > zweierweg 22 > 97074 würzburg > > fon: +49 931 2876247 > fax: +49 931 2876248 > > web: www.netz-haut.de <http://www.netz-haut.de> > <http://www.netz-haut.de/> > > registriergericht: amtsgericht würzburg, hra 5054 > > > > > -- > Arpan Jindal > Mumbai > +91-9819680008 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 würzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de <http://www.netz-haut.de/> registriergericht: amtsgericht würzburg, hra 5054 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tuesday 19 February 2008 10:51:26 am Stephan Seitz wrote:> on recent xen versions, i prefer: > > disk = [ > 'file:/root/xenimages/WS128.img,xvda,w', > 'file:/tmp/en_windows_server_2003_standard.iso,xvdc:cdrom,r' > ]Does that work for hvm, which is what he's using? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
jim burns schrieb:> On Tuesday 19 February 2008 10:51:26 am Stephan Seitz wrote: >> on recent xen versions, i prefer: >> >> disk = [ >> ''file:/root/xenimages/WS128.img,xvda,w'', >> ''file:/tmp/en_windows_server_2003_standard.iso,xvdc:cdrom,r'' >> ] > > Does that work for hvm, which is what he''s using?Yepp, I don''t know if this is possible for compatibility reasons or if xvda provides another (better?) emulation layer, but indeed, it works.> > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 würzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de <http://www.netz-haut.de/> registriergericht: amtsgericht würzburg, hra 5054 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi All thanks for support by changing disk entry to: disk = [ ''file:/root/xenimages/WS128.img,ioemu:hda,w'', ''file:/tmp/en_windows_server_2003_standard.iso,ioemu:hdc:cdrom,r'' ] make it working but i have not tried the other one. thanks On 2/20/08, Stephan Seitz <s.seitz@netz-haut.de> wrote:> > jim burns schrieb: > > On Tuesday 19 February 2008 10:51:26 am Stephan Seitz wrote: > >> on recent xen versions, i prefer: > >> > >> disk = [ > >> ''file:/root/xenimages/WS128.img,xvda,w'', > >> ''file:/tmp/en_windows_server_2003_standard.iso,xvdc:cdrom,r'' > >> ] > > > > Does that work for hvm, which is what he''s using? > > Yepp, I don''t know if this is possible for compatibility reasons or if > xvda provides another (better?) emulation layer, but indeed, it works. > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > -- > Stephan Seitz > Senior System Administrator > > *netz-haut* e.K. > multimediale kommunikation > > zweierweg 22 > 97074 würzburg > > fon: +49 931 2876247 > fax: +49 931 2876248 > > web: www.netz-haut.de <http://www.netz-haut.de/> > > registriergericht: amtsgericht würzburg, hra 5054 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >-- Arpan Jindal Mumbai +91-9819680008 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
hi all i have am able to install windows on xen. but i need to run 3-4 same virtual machines of same time. for the same i am following this process. *for first windows machine configuration file /etc/xen/winxp as bellow:* kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1024 name = "winxp" vcpus=1 pae=0 acpi=0 apic=0 cpus = "" vif = [ ''type=ioemu, bridge=xenbr0'' ] disk = [ ''phy:/dev/hda3,ioemu:hda,w'' ] on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''destroy'' device_model = ''/usr/lib/xen/bin/qemu-dm'' sdl=0 vnc=1 vncviewer=0 stdvga=0 serial=''pty'' ne2000=0 usb=1 usbdevice=''tablet'' *with the help of above configuration i am able to run windows.* *for if do * mount /dev/hda3 /a mount /dev/hda6 /a2 rsync -av /a /a2 *then change the configuration file to /etc/xen/winxp2* kernel = "/usr/lib/xen/boot/hvmloader" builder=''hvm'' memory = 1024 name = "winxp2" vcpus=1 pae=0 acpi=0 apic=0 cpus = "" vif = [ ''type=ioemu, bridge=xenbr0'' ] disk = [ ''phy:/dev/hda6,ioemu:hda,w'' ] on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''destroy'' device_model = ''/usr/lib/xen/bin/qemu-dm'' sdl=0 vnc=1 vncviewer=0 stdvga=0 serial=''pty'' ne2000=0 usb=1 usbdevice=''tablet'' *then i do * xm create /etc/xen/winxp2 -c *i am getting error as * boot from hard disk 0 failed FATAL: not a bootable disk seems like rsync is not woking or i m doing something wrongly, is there any way make multiple coples of windows system. without each time installing it thanks On Feb 20, 2008 9:06 AM, Arpan Jindal <jindalarpan@gmail.com> wrote:> Hi All > thanks for support by changing disk entry to: > > disk = [ > ''file:/root/xenimages/WS128.img,ioemu:hda,w'', > ''file:/tmp/en_windows_server_2003_standard.iso,ioemu:hdc:cdrom,r'' > ] > > make it working but i have not tried the other one. > > thanks > > > On 2/20/08, Stephan Seitz <s.seitz@netz-haut.de> wrote: > > > > jim burns schrieb: > > > On Tuesday 19 February 2008 10:51:26 am Stephan Seitz wrote: > > >> on recent xen versions, i prefer: > > >> > > >> disk = [ > > >> ''file:/root/xenimages/WS128.img,xvda,w'', > > >> ''file:/tmp/en_windows_server_2003_standard.iso,xvdc:cdrom,r'' > > >> ] > > > > > > Does that work for hvm, which is what he''s using? > > > > Yepp, I don''t know if this is possible for compatibility reasons or if > > xvda provides another (better?) emulation layer, but indeed, it works. > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > -- > > Stephan Seitz > > Senior System Administrator > > > > *netz-haut* e.K. > > multimediale kommunikation > > > > zweierweg 22 > > 97074 würzburg > > > > fon: +49 931 2876247 > > fax: +49 931 2876248 > > > > web: www.netz-haut.de <http://www.netz-haut.de/> > > > > registriergericht: amtsgericht würzburg, hra 5054 > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > > -- > Arpan Jindal > Mumbai > +91-9819680008 >-- Arpan Jindal Mumbai +91-9819680008 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wednesday 20 February 2008 02:29:51 am Arpan Jindal wrote:> then i do > xm create /etc/xen/winxp2 -c > > i am getting error as > > boot from hard disk 0 failed > FATAL: not a bootable disk > > seems like rsync is not woking or i m doing something wrongly, is there any > way make multiple coples of windows system. without each time installing itI''m not an ''rsync'' user, but I would think it would not copy the boot record (MBR). Use ''dd'' instead, when the partitions in question are not in use by vms: dd if=/dev/hda3 of=/dev/hda6 Then you can use ''rsync'' for synchronizations after that, if desired. Make sure the hostname, etc. have been changed from within the new guest. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Arpan Jindal wrote:> *for first windows machine configuration file /etc/xen/winxp as > bellow:* > [...] > disk = [ ''phy:/dev/hda3,ioemu:hda,w'' ] > > *with the help of above configuration i am able to run windows.* > *for if do * > > mount /dev/hda3 /a > mount /dev/hda6 /a2 > rsync -av /a /a2 > > *then change the configuration file to /etc/xen/winxp2* > [...] > disk = [ ''phy:/dev/hda6,ioemu:hda,w'' ] > > *then i do * > xm create /etc/xen/winxp2 -c > > *i am getting error as * > > boot from hard disk 0 failed > FATAL: not a bootable disk > > seems like rsync is not woking or i m doing something wrongly, is > there any way make multiple coples of windows system. without each > time installing itI''m a little bit confused at to how you''re even able to mount /dev/hda3 after you''ve used it as a virtual disk for Windows, which should have installed a partition table on it, not a raw, mountable partition. When I''ve done this sort of thing, I''ve needed to use kpartx. At any rate, you will need a boot block, so copy the first 512 bytes from /dev/hda3 to /dev/hda6. (dd bs=512 count=1 if=/dev/hda3 of=/dev/hda6) If your hda3 and hda6 are exactly the same size (or hda6 is slightly bigger) you could just dd the entire partition. John _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users