hi, i have a debian lenny. Xen works with a debian guest. i''ve tried to run wixp guest but i have some problems: i can''t boot from the cdrom...and i can''t display the "windows" of the installation when i run: "xm create winxp.hvm" xm list: Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 953 2 r----- 96.8 winxp 3 1024 1 ------ 0.0 winxp.hvm config: kernel = "/usr/lib/xen-3.0.3-1/boot/hvmloader" builder = ''hvm'' memory = 1024 name = "winxp" vif = [ ''type=ioemu, bridge=xenbr0'' ] disk = [ ''file:/home/xen/domains/WinXP.img,ioemu:sda,w'' ] # disk = [ ''file:/home/xen/domains/WinXP.img,ioemu:sda,w'',''file:/home/iso/winxp_pro.iso,scd0:cdrom,r'' ] # disk = [ ''phy:/dev/sda6/winxp,ioemu:sda,w'' ] # disk = [ ''phy:/dev/sda6/winxp,ioemu:sda,w'',''file:/home/iso/winxp_pro.iso,scd0:cdrom,r'' ] device_model = ''/usr/lib/xen-3.0.3-1/bin/qemu-dm'' # cdrom=''/dev/cdrom'' cdrom=''/dev/scd0'' # cdrom=''/dev/hdb'' # boot on floppy (a), hard disk (c) or CD-ROM (d) boot=''d'' vnc=0 vncviewer=0 serial=''pty'' ne2000=0 thank you in advance for your help. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of ko0nz > Sent: 29 May 2007 11:13 > To: xen-users@lists.xensource.com > Subject: [Xen-users] windows guest > > hi, > > i have a debian lenny. > Xen works with a debian guest. > i''ve tried to run wixp guest but i have some problems: i can''t boot > from the cdrom...and i can''t display the "windows" of the installation > when i run: > "xm create winxp.hvm" > > xm list: > Name ID Mem(MiB) VCPUs > State Time(s) > Domain-0 0 953 2 > r----- 96.8 > winxp 3 1024 1 > ------ 0.0 > > winxp.hvm config: > > kernel = "/usr/lib/xen-3.0.3-1/boot/hvmloader" > builder = ''hvm'' > memory = 1024 > name = "winxp" > vif = [ ''type=ioemu, bridge=xenbr0'' ] > disk = [ ''file:/home/xen/domains/WinXP.img,ioemu:sda,w'' ] > # disk = [ > ''file:/home/xen/domains/WinXP.img,ioemu:sda,w'',''file:/home/iso > /winxp_pro.iso,scd0:cdrom,r'' > ] > # disk = [ ''phy:/dev/sda6/winxp,ioemu:sda,w'' ] > # disk = [ > ''phy:/dev/sda6/winxp,ioemu:sda,w'',''file:/home/iso/winxp_pro.is > o,scd0:cdrom,r'' > ]You need to NOT give a "partition number" for the CDROM device. That _MAY_ not solve the whole problem, but it''s certainly not helping to have it there. So replace "scd0" with "sdb" or something. If that doesn''t help, try using IDE controller instead of SCSI (I have a feeling that booting from SCSI devices isn''t supported by the BIOS - if the QEMU-DM of 3.0.3 even supports SCSI devices at all). Using "hda" and "hdb" should DEFINITELY work.> device_model = ''/usr/lib/xen-3.0.3-1/bin/qemu-dm'' > # cdrom=''/dev/cdrom'' > cdrom=''/dev/scd0''You don''t want to specity a physical CDROM and a file entry in the "disk" as CDROM at the same time - I''m not sure which takes priority, but it''s certainly not right to have both - and it makes trouble-shooting a lot harder.> # cdrom=''/dev/hdb'' > # boot on floppy (a), hard disk (c) or CD-ROM (d) > boot=''d'' > vnc=0 > vncviewer=0You may want to set either "vnc=1" (and "vncviewer=1") or "sdl=1" somewhere to get your Windows console up and running. -- Mats> serial=''pty'' > ne2000=0 > > thank you in advance for your help. > > _______________________________________________ > 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
here''s my error: http://img237.imageshack.us/my.php?image=captureia0.png on my ubuntu or debian, i have the same. here''s my config from ubuntu edge: kernel = "/usr/lib/xen-ioemu-3.0/boot/hvmloader" builder = ''hvm'' memory = 1024 name = "winxp" vcpus = 1 vif = [ ''type=ioemu, bridge=xenbr0'' ] disk = [ ''file:/home/xen/images/WinXP.img,ioemu:sda,w'' ] device_model = ''/usr/lib/xen-ioemu-3.0/bin/qemu-dm'' cdrom=''/dev/sdc'' vnc=1 vncviewer=1 serial=''pty'' sdl=1 ne2000=0 stdvga=0 boot=''d'' something''s wrong somewhere but i can''t see it.... On 5/29/07, Petersson, Mats <Mats.Petersson@amd.com> wrote:> > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of ko0nz > > Sent: 29 May 2007 11:13 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] windows guest > > > > hi, > > > > i have a debian lenny. > > Xen works with a debian guest. > > i''ve tried to run wixp guest but i have some problems: i can''t boot > > from the cdrom...and i can''t display the "windows" of the installation > > when i run: > > "xm create winxp.hvm" > > > > xm list: > > Name ID Mem(MiB) VCPUs > > State Time(s) > > Domain-0 0 953 2 > > r----- 96.8 > > winxp 3 1024 1 > > ------ 0.0 > > > > winxp.hvm config: > > > > kernel = "/usr/lib/xen-3.0.3-1/boot/hvmloader" > > builder = ''hvm'' > > memory = 1024 > > name = "winxp" > > vif = [ ''type=ioemu, bridge=xenbr0'' ] > > disk = [ ''file:/home/xen/domains/WinXP.img,ioemu:sda,w'' ] > > # disk = [ > > ''file:/home/xen/domains/WinXP.img,ioemu:sda,w'',''file:/home/iso > > /winxp_pro.iso,scd0:cdrom,r'' > > ] > > # disk = [ ''phy:/dev/sda6/winxp,ioemu:sda,w'' ] > > # disk = [ > > ''phy:/dev/sda6/winxp,ioemu:sda,w'',''file:/home/iso/winxp_pro.is > > o,scd0:cdrom,r'' > > ] > > You need to NOT give a "partition number" for the CDROM device. That > _MAY_ not solve the whole problem, but it''s certainly not helping to > have it there. So replace "scd0" with "sdb" or something. > > If that doesn''t help, try using IDE controller instead of SCSI (I have a > feeling that booting from SCSI devices isn''t supported by the BIOS - if > the QEMU-DM of 3.0.3 even supports SCSI devices at all). Using "hda" and > "hdb" should DEFINITELY work. > > > > device_model = ''/usr/lib/xen-3.0.3-1/bin/qemu-dm'' > > # cdrom=''/dev/cdrom'' > > cdrom=''/dev/scd0'' > > You don''t want to specity a physical CDROM and a file entry in the > "disk" as CDROM at the same time - I''m not sure which takes priority, > but it''s certainly not right to have both - and it makes > trouble-shooting a lot harder. > > > > # cdrom=''/dev/hdb'' > > # boot on floppy (a), hard disk (c) or CD-ROM (d) > > boot=''d'' > > vnc=0 > > vncviewer=0 > You may want to set either "vnc=1" (and "vncviewer=1") or "sdl=1" > somewhere to get your Windows console up and running. > > -- > Mats > > serial=''pty'' > > ne2000=0 > > > > thank you in advance for your help. > > > > _______________________________________________ > > 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
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of ko0nz > Sent: 29 May 2007 11:59 > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] windows guest > > here''s my error: > > http://img237.imageshack.us/my.php?image=captureia0.png > > on my ubuntu or debian, i have the same. > > here''s my config from ubuntu edge: > kernel = "/usr/lib/xen-ioemu-3.0/boot/hvmloader" > builder = ''hvm'' > memory = 1024 > name = "winxp" > vcpus = 1 > vif = [ ''type=ioemu, bridge=xenbr0'' ] > disk = [ ''file:/home/xen/images/WinXP.img,ioemu:sda,w'' ]So why not try with "hda" instead of "sda" and add "phy:/dev/sdc,ioemu:hdc:cdrom,r" on that line, and remove the "cdrom=" in the line below (as that is the OLD way to do the same as the above, but less flexible). That does work for me, and has done for some time. -- Mats> device_model = ''/usr/lib/xen-ioemu-3.0/bin/qemu-dm'' > cdrom=''/dev/sdc'' > vnc=1 > vncviewer=1 > serial=''pty'' > sdl=1 > ne2000=0 > stdvga=0 > boot=''d'' > > something''s wrong somewhere but i can''t see it.... > > > On 5/29/07, Petersson, Mats <Mats.Petersson@amd.com> wrote: > > > > > > > -----Original Message----- > > > From: xen-users-bounces@lists.xensource.com > > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of ko0nz > > > Sent: 29 May 2007 11:13 > > > To: xen-users@lists.xensource.com > > > Subject: [Xen-users] windows guest > > > > > > hi, > > > > > > i have a debian lenny. > > > Xen works with a debian guest. > > > i''ve tried to run wixp guest but i have some problems: i > can''t boot > > > from the cdrom...and i can''t display the "windows" of the > installation > > > when i run: > > > "xm create winxp.hvm" > > > > > > xm list: > > > Name ID Mem(MiB) VCPUs > > > State Time(s) > > > Domain-0 0 953 2 > > > r----- 96.8 > > > winxp 3 1024 1 > > > ------ 0.0 > > > > > > winxp.hvm config: > > > > > > kernel = "/usr/lib/xen-3.0.3-1/boot/hvmloader" > > > builder = ''hvm'' > > > memory = 1024 > > > name = "winxp" > > > vif = [ ''type=ioemu, bridge=xenbr0'' ] > > > disk = [ ''file:/home/xen/domains/WinXP.img,ioemu:sda,w'' ] > > > # disk = [ > > > ''file:/home/xen/domains/WinXP.img,ioemu:sda,w'',''file:/home/iso > > > /winxp_pro.iso,scd0:cdrom,r'' > > > ] > > > # disk = [ ''phy:/dev/sda6/winxp,ioemu:sda,w'' ] > > > # disk = [ > > > ''phy:/dev/sda6/winxp,ioemu:sda,w'',''file:/home/iso/winxp_pro.is > > > o,scd0:cdrom,r'' > > > ] > > > > You need to NOT give a "partition number" for the CDROM device. That > > _MAY_ not solve the whole problem, but it''s certainly not helping to > > have it there. So replace "scd0" with "sdb" or something. > > > > If that doesn''t help, try using IDE controller instead of > SCSI (I have a > > feeling that booting from SCSI devices isn''t supported by > the BIOS - if > > the QEMU-DM of 3.0.3 even supports SCSI devices at all). > Using "hda" and > > "hdb" should DEFINITELY work. > > > > > > > device_model = ''/usr/lib/xen-3.0.3-1/bin/qemu-dm'' > > > # cdrom=''/dev/cdrom'' > > > cdrom=''/dev/scd0'' > > > > You don''t want to specity a physical CDROM and a file entry in the > > "disk" as CDROM at the same time - I''m not sure which takes > priority, > > but it''s certainly not right to have both - and it makes > > trouble-shooting a lot harder. > > > > > > > # cdrom=''/dev/hdb'' > > > # boot on floppy (a), hard disk (c) or CD-ROM (d) > > > boot=''d'' > > > vnc=0 > > > vncviewer=0 > > You may want to set either "vnc=1" (and "vncviewer=1") or "sdl=1" > > somewhere to get your Windows console up and running. > > > > -- > > Mats > > > serial=''pty'' > > > ne2000=0 > > > > > > thank you in advance for your help. > > > > > > _______________________________________________ > > > 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 > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
oki it works. :) nice! thank you all. here''s my config with a HD /dev/sd6: kernel = "/usr/lib/xen-3.0.3-1/boot/hvmloader" builder = ''hvm'' memory = 1024 name = "winxp" vif = [ ''type=ioemu, bridge=xenbr0'' ] disk = [ ''phy:/dev/sda6,ioemu:hda,w'',''file:/home/iso/winxp_pro.iso,ioemu:hdc:cdrom,r'' ] device_model = ''/usr/lib/xen-3.0.3-1/bin/qemu-dm'' boot=''d'' sdl=1 sdtvga=0 vnc=1 vncviewer=1 serial=''pty'' ne2000=0 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users