Aha, you miss the 'ioemu' in disk option.
Please try with this:
disk = [ 'phy:/dev/sda,ioemu:hda,w' ]
if still can not, please paste /var/log/xend.log and /var/log/xend-debug.log.
Best Regards,
Yongkang (Kangkang) 永康
-----Original Message-----
From: Matthias Bayer [mailto:matbayer.web@web.de]
Sent: 2006年4月5日 23:34
To: fedora-xen(a)redhat.com; You, Yongkang
Subject: RE: [Fedora-xen] configuration for windows image with VT machine
Hi Yonkang,
you are right, grub is installed on /dev/sda and i can choose which OS i want to
boot.
i still can't boot the windows system from my first partition using this config file
(any ideas what's wrong here ?).
name = "WinXPPro_xendom1_local"
builder = "hvm"
memory = "512"
disk = [ 'phy:/dev/sda,hda,w' ]
vif = [ 'type=ioemu,bridge=xenbr0,mac=00:16:3e:63:72:e2' ]
on_reboot = 'restart'
on_crash = 'restart'
kernel = '/usr/lib/xen/boot/hvmloader'
device_model = '/usr/lib/xen/bin/qemu-dm'
sdl = 1 # use SDL for graphics
vnc = 0 # use VNC for graphics
vncviewer = 0 # spawn vncviewer by default
if i create the domain with 'xm create WinXPPro_xendom1_local' everything
looks good, no errors shown.
xm list shows:
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 2504 2 r----- 320.7
WinXPPro_xendom1_local 4 512 1 -b---- 0.0
also, where can is see why it stops and how far the boot process went ?
any hints very welcome !
regards,
Matthias
> Hi Matthias,
>
> I think the bootloader is installed at /dev/sda, which can select to boot the
Windows XP partition right?
> You can modify /etc/xen/xmexample.hvm to change to following
configuration and create the VMX with it.
> disk = [ 'phy:/dev/sda,ioemu:hda,w' ]
> sdl=1
> vnc=0
> vncviewer=0
>
> Creating Windows VMX has no difference with other unmodified Linux.
>
> Best Regards,
> Yongkang (Kangkang) 氞康
> ________________________________________
> From: fedora-xen-bounces(a)redhat.com
[mailto:fedora-xen-bounces@redhat.com] On Behalf Of Matthias Bayer
> Sent: 2006幎4æ4æ¥ 19:16
> To: fedora-xen(a)redhat.com
> Subject: [Fedora-xen] configuration for windows image with VT machine
>
> Hi,
>
> i have a brand new system with VT technology (HP XW4300).
> i am running FC5 with XEN kernel 2.6.16-1.2080_FC5xen0 on it.
> on the harddisk (/dev/sda) there are two partitions. sda1 has a native
windows XP system installed while sda2 is /boot and sda3 is / for the FC5
system.
>
> now i want to run the windows system under xen control using the installed
windows system on the first partition.
>
> what would i need to configure to make this work ?
> how does the config file needs to look like ?
> is there a documentation available on how to make windows run unmodified
under xen ?
>
> any hints welcome !
>
> Thanks.
>
>
> !
>
> SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
> kostenguenstig. Jetzt gleich testen!
http://f.web.de/?mc=021192
>
>
______________________________________________________________
_
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen!
http://f.web.de/?mc=021192