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 MS Windows installed natively in its own partition

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] boot MS Windows installed natively in its own partition
From: Aggelos <marmango@xxxxxxxxxxx>
Date: Wed, 21 Apr 2010 13:35:47 +0300
Cc: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Delivery-date: Wed, 21 Apr 2010 03:37:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <t2i7207d96f1004210208h11315616j43b324e067364805@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4BCDC6840200009900050C54@xxxxxxxxxxxxxxxxxxxxx> <4BCEB567.4020805@xxxxxxxxxxx> <t2i7207d96f1004210208h11315616j43b324e067364805@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100411 Thunderbird/3.0.4 ThunderBrowse/3.2.6.8
on 04/21/2010 12:08 PM Fajar A. Nugraha wrote the following:
> 2010/4/21 Aggelos <marmango@xxxxxxxxxxx>:
>> I think I am beginning to get the idea...
>> Suppose, before changing any drivers in the native Windows (7)
>> installation, I want to give it a trial, how do I start it? I mean, the
>> xen configuration, what it should look like, for a Windows native
>> installation in /dev/sda[X]?
> 
> I highly suggest you do not try it.
> For one thing, most Windows version will detect a hardware change when
> you run it under virtualization (the same way it'd detect a change if
> you move the disk and put it on different computer). That would
> usually result in having to reactivate Windows. 

I must say I was aware of it, thanks for the warning, though.

> The only exceptions that I know if is when using Windows XP/2003 with 
> corporate volume
> license key.

Yes, you could say my case is like that. But, on a second thought, I
think I will try installing first on a 20GB disk image file.

> 
> Second, you might accidently chose to run dom0 OS under the virtual
> environment (example: when Linux entry is set to default, and you
> didn't get to domU console in time to choose Windows entry), making
> the same disk/partition mounted twice (in dom0 and in domU). That
> would lead to data corruption.

Hmm. Sounds like a dangerous situation, anyone could get in, if he is
not careful enough and aware of it.
Would you mind elaborating a bit?

> 
> If you're aware of those, and want to try it anyway, you need to have
> IDE drivers installed first. Otherwise you'd just get blue screen. See
> http://www.virtualbox.org/wiki/Migrate_Windows for explanation
> (applies to Xen as well).
> 
> Once you have IDE drivers installed, you can use a domU config similar to 
> this:
> 
> ########################
> memory = 1024
> 
> vif = [ '' ]
> disk =        [
>       'phy:/dev/sda,hda,w!',
>       ]
> 
> boot="c"
> 
> device_model = '/usr/lib64/xen/bin/qemu-dm'
> kernel = "/usr/lib/xen/boot/hvmloader"
> builder='hvm'
> 
> sdl=0
> vnc=1
> vnclisten="0.0.0.0"
> #vncunused=0
> vncpasswd=''
> stdvga=0
> serial='pty'
> localtime=1
> 
> usbdevice='tablet'
> acpi=1
> apic=1
> pae=1
> 
> vcpus=1
> #########################################
> 
Thanks.

I also found this page with step by step instructions on installing
Windows 7 as a Xen HVM domainU Guest:

http://www.virtuatopia.com/index.php/Installing_and_Running_Windows_7_as_a_Xen_HVM_domainU_Guest
;-)

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