[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] windows guest


  • To: "ko0nz" <yesiko0nz@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
  • Date: Tue, 29 May 2007 13:03:20 +0200
  • Delivery-date: Tue, 29 May 2007 04:05:19 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Aceh4GaFe9RgvjN9Q3q9dav0WOgFwAAAC5dw
  • Thread-topic: [Xen-users] windows guest

 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of ko0nz
> Sent: 29 May 2007 11:59
> To: xen-users@xxxxxxxxxxxxxxxxxxx
> 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@xxxxxxx> wrote:
> >
> >
> > > -----Original Message-----
> > > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> > > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of ko0nz
> > > Sent: 29 May 2007 11:13
> > > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > > 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@xxxxxxxxxxxxxxxxxxx
> > > http://lists.xensource.com/xen-users
> > >
> > >
> > >
> >
> >
> >
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.