[CentOS] Migrating standalone systems to KVM

Thu Mar 31 12:41:13 UTC 2011
Benjamin Franz <jfranz at freerun.com>

On 03/31/2011 02:38 AM, Jussi Hirvi wrote:
> A while ago I got great instructions from Pasi for migrating standalone
> systems to *xen*. However, now I have decided to use KVM instead, which
> raises a new question:
>
> How to migrate a standalone system to *KVM*?
>
> I know a two-step way to do it:
> 	standalone system ->  xen pv guest
> 	xen pv guest ->  KVM pv guest
> 	
> I read that xen ->  KVM migration is trivially easy.
>
> But is there an easier (one-step) way to do this?
>
> - Jussi
>

I haven't tried it, but in theory you could take a clonezilla image of 
the physical machine and restore it to a KVM disk image: Just create the 
initial virtual drives at least as large as the originals, boot 
clonezilla in the VM and restore from the images.

-- 
Benjamin Franz