[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.