I have a current partition that contains a solid 32-bit gentoo system (single partition for entire system, including boot). I would like to copy this partition to an image file so that it can be portable, used as a Xen DomU. I have searched this forum, and the larger web for help. The closest I have come is this link:
http://forums.gentoo.org/viewtopic-t-55 ... +disk.html
This link is old, so I am hoping that something has changed in the last couple of years. in essence, the advice is to use "dd" to copy the partition to an image file (easy, I can do this) and then use qemu-img to convert it to whatever format I want (again, easy, I can do it). but I need the image to be bootable by Xen, and it does not appear that "dd" will do the job.
Is there any straightforward way to convert an existing partition into a bootable image file?
-dvh
