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] can Xen coexist/cooperate with a windows/linux dual-boo

To: richard heade <richard.heade@xxxxxxxxx>
Subject: Re: [Xen-users] can Xen coexist/cooperate with a windows/linux dual-boot system?
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Mon, 28 Dec 2009 10:22:42 +0700
Cc: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 27 Dec 2009 19:23:17 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B38191B.8090007@xxxxxxxxx>
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: <4B378E70020000990007BBAC@xxxxxxxxxxxxxxxxxxxxx> <4B38191B.8090007@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Dec 28, 2009 at 9:34 AM, richard heade <richard.heade@xxxxxxxxx> wrote:
> thanks for the response, but it leaves me wondering what's the point of
> full virtualization.

Let's see ... hardware consolidation? cloud computing? hosted vps?

> I can install the tweaked  OS for
> paravirtualization, or I can tweak the hardware configuration for an
> already installed OS for full virtualization.  Either way I can't go
> back to the original OS when I, as occasionally happens, get my linux
> system hosed up.

That's because you use windows. Seriously.
You should ask MS if they provide a solution for what you're trying to
achieve, but I doubt you'd get satisfactory response even with their
Hyper-V.

As a side note, you could try something like this

disk=[ 'phy:/dev/sda,hda,w', ]
apic=1
acpi=1
pae=1

if your Windows already has support for IDE drives as Nick mentioned
(also see http://www.virtualbox.org/wiki/Migrate_Windows), you should
be able to get Windows to run. BE VERY CAREFUL though, as it should
initially invoke grub (just like when you boot normally), but you MUST
choose Windows entry. If you accidently let it boot Linux, you'll be
mounting the Linux filesystem twice (one on your dom0, one on your
domU) which is a sure recipe for corruption.

A little extra note about dom0 recovery, if for whatever reason your
dom0 is hosed up, you can easily run your domU elsewhere provided that
you have backup or access to:
- domU's disk storage (in your example it's /dev/sda1)
- domU's config file
- dom0 and domU's networking setup (well, mostly it's a matter of
making sure domU is connected to the correct bridge)

-- 
Fajar

-- 
Fajar

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