[xenpreview-dev] mounting the image

Charles Coffing ccoffing at novell.com
Mon May 22 08:27:47 MDT 2006


Try the lomount tool instead; it's part of the xen-tools package.  It examines the partition table within the file, and calculates the appropriate offset to pass to mount.

Run it with no arguments to get some help.



>>> On Sun, May 21, 2006 at 10:59 AM, in message
<200605211859.44335.gjn at gjn.priv.at>, "Günther J. Niederwimmer"
<gjn at gjn.priv.at> wrote: 
> Hello,
> 
> I have to mount the image from domU in a "normal" ;) SLES 10 RC1, with the 
> new 
> Image, with 2 partitions swap / data (hda1/hda2) inside, I have problems to 
> found out the mountponts :(.
> 
> Are the Parameter saved on a File (?),or is a Utility to found the correct 
> parameters ?
> 
> I found a way to mount this, I hope this is not the way, to mount this 
> partition :(
> 
>  255 heads, 63 sectors/track, 0 cylinders
> hda1               1          62      497983+  82  Linux swap / Solaris
> hda2       *     63         524     3711015   83  Linux
>  
>  mount - oloop,ro,offset=`expr 512 \* 255 \* 63 \* 62` diskimg







More information about the xenpreview-dev mailing list