WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Mounting RHEL 4 virtual machine disks (dd/mount -oloop)

On Tue, 17 Apr 2007, Kraska, Joe A (US SSA) wrote:
Can someone jog my memory? What's the magic incantation?

modprobe loop ? :)

Well. That was helpful... but didn't solve the problem.

...

[root@blade15 xen-rh64-gold]# mount -o loop -t ext3 hda mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,

you want

losetup /dev/loop1 /dev/hda

then kpartx -av /dev/loop1

(the partitions are in /dev/mapper/loop1px)

then mount /dev/mapper/loop1p2 /mnt

or something like that

...

The vm installed into "had" is configured with the default
partitioning mechanism, which involves LVM.

LVM is different... if the above doesn't work, try running vgscan/lvscan after you losetup.



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users