WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] How to boot Windows from phisical Hard Drive?
From: <tygrawy@xxxxxxxxx>
Date: Fri, 20 Jul 2007 12:38:49 +0200 (CEST)
Delivery-date: Fri, 20 Jul 2007 03:36:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Agora S.A.
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] How to boot Windows from phisical Hard Drive?, tygrawy <=