Instead of moving the existing disk images just make new images using DD.  Most hyper visors can use DD created disk images and if they can not just create a empty disk image boot the VM from CD and then use DD to copy the disk image over to the empty drive.<div>
<br></div><div><ol><li>Boot old VM from media, get it on the LAN.</li><li>Boot new VM from media get it on the LAN</li><li>on new VM &#39;ssh root@oldvm &quot;dd if=/dev/sda&quot;|dd of=/dev/sda&#39;</li><li>Boot new VM from sda</li>
</ol><br><div class="gmail_quote">On Mon, Feb 6, 2012 at 12:21 PM, Jim Ockers <span dir="ltr">&lt;<a href="mailto:ockers@ockers.net">ockers@ockers.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>



<div bgcolor="#ffffff" text="#000000">
<font size="+1"><tt>Hi CLUEbies,<br>
<br>
I&#39;m moving a Ubuntu 8.10 system from one VM hypervisor to another. 
Since the VM disk formats are incompatible I have to recreate the
filesystem on the new VM and I thought I would just copy the filesystem
over the network.  The only thing that won&#39;t be copied over is the
ability of the new VM to boot from the hard disk.<br>
<br>
Red Hat/CentOS makes this easy because there&#39;s the mkbootdisk utility
with --iso command line.  Using that, I can make a bootable CD that
will boot my system without anything set up on the hard disk.  Once
booted from the ISO, I can re-run grub and am good to go.  The only
issue is getting the new VM booted in the first place.<br>
<br>
The Ubuntu &#39;mkboot&#39; utility is stupid and busted.  One of its bugs is
from the man page for mkboot(8) is &quot;mkboot only works on floppy
diskette drives.&quot;  Since this is a VM there is no floppy disk drive,
real or virtual, on the server or hypervisor.  Frankly I&#39;m really
un-impressed with Ubuntu, but then again I&#39;m from the Red Hat/CentOS
school of general awesomeness, so maybe I&#39;m missing something. :)  Feel
free to flame away but the only thing that will really impress me is if
there is some Ubuntu-ish easy way of doing the same thing (such as
moving/cloning systems) that Red Hat has let me do for years.<br>
<br>
Is there some other EASY way to make this Ubuntu system boot exactly
its kernel, with its own initrd, from a CD-ROM (ISO image, really)? 
This is a headless server with no GUI.  I also don&#39;t want to a make
bootable USB flash drive which is what most of my googling indicates
that most Ubuntu users are trying to do.  I&#39;m also not going to
reinstall Ubuntu and reconfigure all of the services and custom stuff
that&#39;s installed in this VM.<br>
<br>
You might think I should have to go try to dig up a USB floppy disk
drive and assign it to the VM to try to get this to work.  For one
thing, that level of old-schoolness is not really my style, but for
another thing this VM hypervisor has &quot;issues&quot; with assigning USB
devices to VMs, and so it wouldn&#39;t work anyway.  (Which is a big part
of why I&#39;m moving the whole thing to a different VM hypervisor.)<br>
<br>
Thanks,<br>
Jim<span class="HOEnZb"><font color="#888888"><br>
</font></span></tt></font><span class="HOEnZb"><font color="#888888">
<pre cols="72">-- 
Jim Ockers, P.E., P.Eng. (<a href="mailto:ockers@ockers.net" target="_blank">ockers@ockers.net</a>)
Contact info: <a href="http://www.ockers.net/msi.html" target="_blank">http://www.ockers.net/msi.html</a>

</pre>
</font></span></div>

<br>_______________________________________________<br>
clue mailing list: <a href="mailto:clue@cluedenver.org">clue@cluedenver.org</a><br>
For information, account preferences, or to unsubscribe see:<br>
<a href="http://cluedenver.org/mailman/listinfo/clue" target="_blank">http://cluedenver.org/mailman/listinfo/clue</a><br></blockquote></div><br></div>