Hi Fabian,
--On 7. August 2008 16:22:36 +0200 Fabian Arrotin fabian.arrotin@arrfab.net wrote:
Dirk H. Schulz wrote: <snip>- I venture it is because the second partition is LVM (8e).
Did anybody out there succeed in mounting an LVM partition out of an image file?
That's why kpartx (for lvm) and lomount exist ;-) Don't forget after you've used kpartx -a to use lvscan to discover your lv and vgchange ...
- snip -
I had hoped for some other way because there is an open bug in kpartx on recent CentOS which leads to
failed to stat() /var/lib/xen/images/BaseCentos.img
Seems to work only with rather small img files.
Do you have any other idea?
Dirk