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] run a VM from a previous physical disk install ?

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] run a VM from a previous physical disk install ?
From: Joe Armstrong <jarmstrong@xxxxxxxxxxxx>
Date: Fri, 5 Jun 2009 15:58:11 -0700 (PDT)
Delivery-date: Fri, 05 Jun 2009 15:59:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Reply-to: Joe Armstrong <jarmstrong@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi All,

I have a machine that was installed with WinXP, I re-sized the disk so WinXP 
has a very small disk and installed linux on the newly freed up disk partition. 
 If I boot from the partition (via grub) the old windows image works just fine, 
but as I only need to access it on occasion I'd rather not have to re-boot my 
machine to get to it.  So - is there a way I can use the already installed 
version of WinXP as an installed VM image and run it ?
 
I tried with the following config file (at the end of this mail) but I got 
these errors:

        Booting from Hard Disk...
        Boot from Hard Disk failed: could not read the boot disk
        FATAL: No bootable device

Is it just that the virtual devices in the VM are not compatible with the real 
devices that the image expects ?

Or do I have to go and get something like PlateSpin powerconvert ?  Any 
open-source VtoP tools ?

Thanks.

Joe

Just in case, here is my VM config file:

name = "WinXP"
uuid = "694f0193-b8ec-d1ff-3d97-18731b540008"
maxmem = 384
memory = 384
vcpus = 1
builder = "hvm"
kernel = "/usr/lib/xen/boot/hvmloader"
boot = "c"
pae = 0
acpi = 0
apic = 0
localtime = 0
on_poweroff = "destroy"
on_reboot = "restart"
on_crash = "restart"
device_model = "/usr/lib64/xen/bin/qemu-dm"
sdl = 0
vnc = 1
vncunused = 0
vncdisplay = "2"
disk = [ "/dev/sda2,hda,w" ]
vif = [  ]
serial = "pty"


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

<Prev in Thread] Current Thread [Next in Thread>