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

[Xen-users] How to boot Windows from phisical Hard Drive?



I have XEN 3.0.2_09749-0.4 on Linux t60 2.6.16.21-0.8-xen #1 SMP

my w2k3.hvm:

import os, re
arch = os.uname()[4]
arch_libdir = 'lib'
kernel = '/usr/lib/xen/boot/hvmloader'
builder='hvm'
memory = 512
name = "w2k3-001"
vif = [ 'type=ioemu, mac=00:16:3e:00:00:94, bridge=xenbr0' ]
disk = disk = [ 'phy:/dev/sda,ioemu:hda,w' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
cdrom='/tmp/WINDOWS_2003_STANDARD.ISO'
boot="c"
sdl=1
vnc=0
vncviewer=0
ne2000=0

So I would like use all my disk that contains Windows and Linux
(with Grub and when I choos system normally everything is OK).

Under Linux I would like to run Windows useing XEN.

I start /usr/sbin/xm create w2k3.hvm and I see grub I can choose
Linux and everything is OK, but when I choose Windows I see
chainloader (hd0,1)+1 and no more...

So how to boot linux?

My partitions:

/dev/sda1               1         777     6235136   27  Unknown
Partition 1 does not end on cylinder boundary.
/dev/sda2   *         777        6386    45056000    7  HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3            6386       12888    52224000    7  HPFS/NTFS
Partition 3 does not end on cylinder boundary.
/dev/sda4           12888       14593    13698720    5  Extended
Partition 4 does not end on cylinder boundary.
/dev/sda5           12888       14324    11536528+  83  Linux
/dev/sda6           14324       14593     2162128+  82  Linux swap /
Solaris


and Windows is on /dev/sda2

So how to boot this Windows?





_______________________________________________
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®.