KVM virtual machine move...

WipeOut wipe_out at users.sourceforge.net
Mon May 11 06:37:40 UTC 2009


Markus Schönhaber wrote:
> WipeOut:
> 
>> I just reinstalled my desktop to 9.04 from 8.10.. I have a few KVM 
>> virtual machine images from my old setup that I can't seem to work out 
>> how to make work on the new setup..
>>
>> I am using virt-manager and creake a new virtual machine but using the 
>> existing disk image but it won't boot properly.. All I get is "A disk 
>> read error occured, Press Ctrl+Alt+Del to start"..
>>
>> Is there something that has to be done that will allow machines to be 
>> moved to other hosts and booted correctly?
> 
> To copy KVMs from one machine to another I always transfer the 
> corresponding config files (/etc/libvirt/qemu/*.xml) along with the 
> image files of the disks (if there are any). That way there's no need to 
> create new VMs on the target host but (at most) adjustments to the disk 
> image paths.
> 

I didn't copy the XML files and the old system is no longer around.. :(

Looks like I may have to reinstall them I guess because it seems they 
cant be regenerated by virt-manager on existing disk images..




More information about the ubuntu-users mailing list