[CentOS] mounting images created using dd that contain two partitions

Alan Sparks asparks at doublesparks.net
Sun Sep 27 03:06:56 UTC 2009


Devraj Mukherjee wrote:
> Hi all,
>
> I am trying to mount images that I previously created with dd and the
> images have two partitions (swap and LVM). I use these images to house
> data for my Xen Guests.
>   

You'll probably need at least kpartx to mount the partitions out of the
image.  Maybe even the LVM tools, if you've created some of the
filesystems inside the image as LVs.

Perhaps the page at the following may give you some inspiration:
http://www.centos.org/docs/5/html/Virtualization-en-US/ch-virt-accessing-data.html

-Alan



More information about the CentOS mailing list