[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 12:26:12 +0200
  • Delivery-date: Tue, 29 May 2007 03:25:03 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Aceh2g7WCHiSLUepRnaYec0wJTwPSAAAPTTA
  • 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: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


 


Rackspace

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