[xenpreview-dev] mounting the image
Jason Douglas
jdouglas at novell.com
Sun May 21 12:50:06 MDT 2006
The easiest way that I have found to mount it is using the lomount command. It does all the offset calculations for you.
lomount -diskimage foo -partition 2 /mnt
Good luck!
Jason
>>> On 5/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