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

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] run a VM from a previous physical disk install ?
From: "David Morris" <dmorris@xxxxxxxxxx>
Date: Fri, 5 Jun 2009 16:07:28 -0700
Delivery-date: Fri, 05 Jun 2009 16:09:47 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <68ACA1A82B5FDD11955600188B42D42B33D6A8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <68ACA1A82B5FDD11955600188B42D42B33D6A8@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnmMTMo+EkfrEnVTz6sSGrjfIUaBAAAJRXw
Thread-topic: [Xen-users] run a VM from a previous physical disk install ?
I would try showing the windows guest the whole physical drive
as I think windows needs to see the partition table.  Just be careful
to not modify the partition table or non-windows partitions from
windows.

    disk = [ "phy:/dev/sda,hda,w" ]

-----Original Message-----
From: Joe Armstrong [mailto:jarmstrong@xxxxxxxxxxxx] 
Sent: Friday, June 05, 2009 3:58 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] run a VM from a previous physical disk install ?

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

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

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