[Openstack-operators] Creating image from running VM
KISIN at il.ibm.com
Mon Dec 17 15:15:23 UTC 2012
I have a running VM which is not running on Openstack environment. I want
to create an image from this VM (which is installed with CentOS 6.2) and
register it as a basic image in Openstack environment.
The problem is that this VM was installed with following partitions:
Device Boot Start End Blocks Id System
/dev/vda1 * 3 1018 512000 83 Linux
/dev/vda2 1018 20806 9972736 8e Linux LVM
There is a /boot partition and 2 Logical volumes lv_root and lv_swap which
are mapped to /root fs and swap.
I've tried to get rid of /boot and swap partitions but the new created
image was not bootable.
Please advise what is the best way to convert this VM to OpenStack format.
Servers & Network group, IBM R&D Labs in Israel
Unix & Virtualization Team
More information about the OpenStack-operators