Just to be shure...
Is your path to the logical volume correct?
What does lvdisplay claim about your volumes?
In this working example xen looks for the volumegroup "virt_vm_vg" in /dev
where
the logicalvolume "w2k_sbs" resides.
disk = [ 'phy:/dev/virt_vm_vg/w2k_sbs,hda,w', 'phy:/dev/sdb,hdb,r' ]
In your configuration the path to the volume is relativ "vg/..." while the
path to
the iso is absolute "/mnt/...".
Where is your volumegroup "vg" located (under /dev or /)?
>> disk = [ 'phy:vg/win01,sda,w','file:/mnt/winxp.iso,hdc:cdrom,r' ]
Hope it helps...
Regards,
Guido
> -----Ursprüngliche Nachricht-----
> Von: Chris Ditri [mailto:cjdcom@xxxxxxxxxxxxxxxxxx]
> Gesendet: Mittwoch, 13. Mai 2009 00:27
> An: xen-users@xxxxxxxxxxxxxxxxxxx
> Betreff: RE: [Xen-users] Trying to install windows as guest
>
> Doesn't work, I have tried that: "I have also tried setting
> the hard
> drive to hda"
>
> When I do I this, It just won't recognize the disk at all.
> At boot, it says:
> "Windows could not start because of a computer disk hardware
> configuration problem. Could not read from the selected boot disk.
> Check boot path and disk hardware. Please check the Windows
> documentation about hardware disk configuration and your hardware
> reference manuals for additional information."
>
> No additional information is dumped to the logs.
>
> There must be some secret to this...
>
> Any other ideas?
>
> Thanks.
>
>
>
> Quoting Guido Hecken <guido.hecken@xxxxxxxxxxxxx>:
>
> >
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: Chris [mailto:cjdl01@xxxxxxxxxxxxxxxxxx]
> >> Gesendet: Dienstag, 12. Mai 2009 23:29
> >> An: xen-users@xxxxxxxxxxxxxxxxxxx
> >> Betreff: [Xen-users] Trying to install windows as guest
> >>
> >> Hello everyone,
> >>
> >> I am trying to install windows xp as a guest OS. It runs
> >> through the
> >> installer just fine, but every time I reboot, it keeps
> >> booting back to
> >> the installer.
> >>
> >> Here is my config:
> >> ------------<code>---------------------------------------
> >> kernel="/usr/lib/xen/boot/hvmloader"
> >> builder="hvm"
> >> memory=512
> >> device_model='/usr/lib/xen/bin/qemu-dm'
> >> name="win01"
> >> vcpus=1
> >> vif=['type=ioemu,bridge=xenbr0']
> >> disk = [ 'phy:vg/win01,sda,w','file:/mnt/winxp.iso,hdc:cdrom,r' ]
> >> device_model='/usr/lib/xen/bin/qemu-dm'
> >> sdl=0
> >> vnc=1
> >> vncconsole=0
> >> vncpasswd=''
> >> ne2000=0
> >> boot='dc'
> >
> > This should work:
> > disk = [ 'phy:vg/win01,hda,w','file:/mnt/winxp.iso,hdc:cdrom,r' ]
> > boot='cd'
> >
> > Regards,
> >
> > Guido
> >
> >> -----------</code>----------------------------------------
> >>
> >> I have tried changing removing the
> >> "'file:/mnt/winxp.iso,hdc:cdrom,r'"
> >> line for the disk between reboots, but the thing will not create at
> >> all without it! I have also tried setting the hard drive to
> >> hda, and I
> >> tried using ioemu... it does not help. I have also tried using the
> >> physical cdrom (won't create when I do) and I have tried fully
> >> qualifying the devices to "/dev/vg/win01" and the like, when
> >> I do, the
> >> hard drive is not found.
> >>
> >> I keep getting this in my log file (don't know if it is
> significant):
> >> medium change watch on `hdc' (index: 1): /mnt/winxp.iso
> >> I/O request not ready: 0, ptr: 0, port: 0, data: 0, count:
> 0, size: 0
> >>
> >>
> >> I am using gentoo, xen 3.3 with kernel 2.6.18-xen-r12 and LVM
> >> 2.02.36.
> >> My gentoo guest VMs run without a hitch.
> >>
> >> I'm really close here, but after hours of banging my head on
> >> this, I'm
> >> ready for some outside input. I appreciate the help
> >>
> >> Thanks.
> >>
> >> Chris
> >>
> >> _______________________________________________
> >> 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
>
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|