Hi, Noniko.
I fitted same thing.ÂWhen I was verifying Xen on SLES10 Beta.
/var/lib/xen/images/vm1/hda. Wonderful.
It is whole disk image.
I tried to loopback mount in order to see what is in this image file. But I can't. The error message is:
mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or other error
This error is correct. Because hda is not filesystem. Please try following step.
1. Mapping hda to /dev/loop0. # losetupÂ/dev/loop0Â/var/lib/xen/images/vm1/hda
2.ÂLook at geometric information on /dev/loop0. # fdisk -l -u /dev/loop0 Disk /dev/hda: 30.7 GB, 30738677760 bytes 255 heads, 63 sectors/track, 3737 cylinders, total 60036480 sectors Units = sectors of 1 * 512 = 512 bytes
 Device Boot   Start   Â End   Blocks Id System /dev/loop0p1  Â Â Â63   208844   104391 83 Linux /dev/loop0p2  Â Â208845  60034904  29913030 83 Linux
3. Calculate the offset.Âoffset = Start x Unit size # offset=((63*512))
4. Mapping hda1 in /dev/loop0 # losetup -o $offset /dev/loop1 /dev/loop1
5. Mount /dev/loop1 to /mnt/vm1_hda1 # mkdir /mnt/vm1_hda1 # mount /dev/loop1 /mnt/vm1_hda1
That's all. .::.:... .::....: .::...:: .::.:.:: .::..:.: .:::..:. |