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

Re: [Xen-users] boot a existing windows in hvm domain

To: "Artur Linhart - Linux communication" <AL.LINUX@xxxxxxxxxxx>
Subject: Re: [Xen-users] boot a existing windows in hvm domain
From: "Brady Chen" <chenchp@xxxxxxxxx>
Date: Tue, 7 Aug 2007 18:35:49 +0800
Cc: tygrawy@xxxxxxxxx, Z24 <z24@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 07 Aug 2007 03:33:33 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Mixh9yE1PPzLlKLQ/AaEMgqqMzioc3/iu/sSEdm2iSbhcMKcIFsuuPM7Op/wGyrEsNbbR4T1rgyoAuFh8h8sSNZDtiEO/S8ReW64ul/bdPcFaDAs6uiDzpKyUvUkJ/expGfcIiNxElJiNlmBaQV0jCO4OybW5LAo6qNQMrj8Ayk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jI0+uMBODj+r6q6nI60aPSF3SXikH+UNwOk4//LY/ctAwWHIqdAmWJMQ9Cn79GhMcTQEkMTOlctIz8hb4BvSxPx+X1yiRUfOKrxelT87cXQz0ryg+KnXdeiberGykd7yXrNDDZGUYIFXDyDjYBiQevDhMhFnEge+ow5K4n6Xsm8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <012401c7d8d8$fa2cbd00$6d58a8c0@xxxxxxxxxxxxxxxxxxxxxxxxx>
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>
References: <8fec1fce0707300537g5a1f9e2dgdb4cc27add99d218@xxxxxxxxxxxxxx> <f8sbfr.2so.1@xxxxxxxxxxxxxxxxxx> <8fec1fce0708020247k242c53f9ne3eab45cc85aaad1@xxxxxxxxxxxxxx> <f8srjg.1no.1@xxxxxxxxxxxxxxxxxx> <8fec1fce0708020811q73017eb7g85f8fd353a3a20dc@xxxxxxxxxxxxxx> <8fec1fce0708061955xb5018b4tf1e51863154e0f1a@xxxxxxxxxxxxxx> <012401c7d8d8$fa2cbd00$6d58a8c0@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I understand,
if use the windows partition carefully, and not modify the partition
which linux located in.
I think it should be ok. Just don't have another disk to install
windows separately :)

On 8/7/07, Artur Linhart - Linux communication <AL.LINUX@xxxxxxxxxxx> wrote:
>
> Hello,
>
>         Yes, I communicated to this thread also. Exactly the same
> configuration I have on my notebook...
>         My opinion is, either the boot into windows as Domu, nor the boot
> into Linux as a DomU (re-enter) is possible, or, if possible, then very
> unsafe - but I did not get working even the re-entrance of linux.
>         I understand it so, if there is no underlaying mechanism like nfs
> allowing the synchronization of the write-accesses, the device where DomU is
> installed (it does not matter if it is a real physical device or virtual
> disk emulated through file or logical volume) must give to windows or other
> Domu operating system the possibility to control exclusively the
> write-access to this device (disk). Even the domain installed on logical
> volume will not start if the logical volume is mounted in Dom0 as
> read/write...
>         And even if nfs is used, I think it is not a good idea run the
> system twice a time at the same time from the same physical location - I can
> imagine some services will not be started, because there are some locks
> already from the other system instance, data on teh disk can get confused or
> destroyed by the parallel access, etc....
>         So, from my point of view, it cannot work and even if it would be
> from some unclear reason possible it is not intended and not safe to do it
> so, like described below.
>
>         With best regards, Archie.
>
> -----Original Message-----
> From: Brady Chen [mailto:chenchp@xxxxxxxxx]
> Sent: Tuesday, August 07, 2007 4:55 AM
> To: Z24; AL.LINUX@xxxxxxxxxxx; tygrawy@xxxxxxxxx
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] boot a existing windows in hvm domain
>
> Hi Z24, AL,
> ccing tygrawy@gazeta,pl, for I found he got the same issue.
>
> I tried in ThinkPad T60,
> /dev/sda1 -- windows
> /dev/sda2 -- Linux + Xen 3.1.0
>
> in xen guest, the whole sda is mapped to virtual hda.
> disk = [ 'phy:/dev/sda, hda, w' ]
>
> I could see the grub menu in xen guest, and could boot in to the linux
> (you know, it's re-enter into the linux), but when I select windows
> from grub menu, it will hang after print "chainloader +1"
> the xen dmesg shows:
> (XEN) HVM1: Trap (0x6) while in real mode
> (XEN) HVM1: eax         D00 ecx           0 edx         71F ebx         71E
> (XEN) HVM1: esp       D7384 ebp       D73D0 esi       D7364 edi         D00
> (XEN) HVM1: trapno        6 errno         0
> (XEN) HVM1: eip       D0800 cs           10 eflags    13046
> (XEN) HVM1: uesp      D7474 uss           2
> (XEN) HVM1: ves       D4AB8 vds       D4C1D vfs       D07FE vgs       D7474
> (XEN) HVM1: cr0       50032 cr2           0 cr3           0 cr4         651
> (XEN) HVM1:
> (XEN) HVM1: Halt called from %eip 0xD037
>
> tygrawy:
> I found you have the same issue months ago, have you find out the
> reason? Thank you very much.
>
> http://lists.xensource.com/archives/html/xen-users/2007-07/msg00521.html
>
> On 8/2/07, Brady Chen <chenchp@xxxxxxxxx> wrote:
> > On 8/2/07, Z24 <z24@xxxxxxx> wrote:
> > > On Thu, 2 Aug 2007 17:47:59 +0800, you wrote:
> > >
> > > >thank you all,
> > > >looks like it's possible. it's great!
> > > >
> > > >Z24,
> > > >do you get the hardware issue Archie said, that's my concern too.
> > > >you know, windows may be bluescreen if the hardware changes.
> > >
> > > Before booting the Windows domU I copied the current Windows HW
> > > Profile to a new HW Profile, then when I boot the domU I choose the
> > > new HW profile.
> > > The first time I booted the domU, Windows took some minutes more than
> > > usual to load, I suppose it was setting automatically the hardware
> > > drivers; the next time it booted only a little slower than when I boot
> > > it natively (due to virtualization).
> > >
> > thanks, I will have a try.
> >
> > > >and for your case, i think you could install another grub in the
> windows disk
> > >
> > > What do you mean?
> > > Xen VM configuration with 'phy:/dev/hda,ioemu:hda,w' only (hda is
> > > Windows disk) and grub-install on /dev/hda without mapping?
> > yup, install grub on /dev/hda, it will not be used when you not using
> > xen (i mean when you reboot your PC, and choose windows from the grub
> > menu). but when you use xen to boot /dev/hda, the grub on /dev/hda
> > could be used to load the windows. Don't know if it really works,
> > don't have a try now.
> > >
> > > --
> > > Z24
> > > http://www.mycomputingart.com/
> > >
> >
>
> __________ Informace od NOD32 2440 (20070806) __________
>
> Tato zprava byla proverena antivirovym systemem NOD32.
> http://www.nod32.cz
>
>
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users