Hello, we had Hyper-V running for some Tests. Now we need the Hardware and i would like to get a Hyper-V-Linux-VM running on XEN - convert it, move it - whatever :-) So first i tried the "lowlevel-"Method with kpartx and rsync, but kpartx seems not to recognize the VHD-File... Then i ttried converting the vhd-File with XEN-Convert, which also failed.... Has anybody did that and suceeded? What steps are needed for that purpose any help is appreciated. TIA, thomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello, create HVM virtual machine on XEN with virtual drives of the same size (like the original) and just copy all the data (with dd for example). Later you can make PV domU from the new HVM. :) Matej ________________________________________ From: xen-users-bounces@lists.xensource.com [xen-users-bounces@lists.xensource.com] On Behalf Of Thomas Halinka [lists@thohal.de] Sent: 03 November 2009 19:29 To: Xen List Subject: [Xen-users] [OT] Converting a Hyper-V-VM to XEN Hello, we had Hyper-V running for some Tests. Now we need the Hardware and i would like to get a Hyper-V-Linux-VM running on XEN - convert it, move it - whatever :-) So first i tried the "lowlevel-"Method with kpartx and rsync, but kpartx seems not to recognize the VHD-File... Then i ttried converting the vhd-File with XEN-Convert, which also failed.... Has anybody did that and suceeded? What steps are needed for that purpose any help is appreciated. TIA, thomas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Nov-04 02:00 UTC
Re: [Xen-users] [OT] Converting a Hyper-V-VM to XEN
On Wed, Nov 4, 2009 at 1:29 AM, Thomas Halinka <lists@thohal.de> wrote:> Hello, > > we had Hyper-V running for some Tests. > > Now we need the Hardware and i would like to get a Hyper-V-Linux-VM > running on XEN - convert it, move it - whatever :-) > > > So first i tried the "lowlevel-"Method with kpartx and rsync, but kpartx > seems not to recognize the VHD-File...because it''s not plain image file. What I did was boot the hyper-V guest with system rescue CD (http://www.sysresccd.org/Main_Page), use dd and send it via ssh to dom0. This should work for physical servers as well. After you get the disk image, creating a HVM domU config file is a trivial matter. You can copy it from exisiting domU with minor modification. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users