0

I've created XEN image with dd some time ago.

The image is formatted using the NTFS

How it is possible to mount this image from Linux or Windows?

Thank You very much!

Daniil Harik
  • 171
  • 1
  • 1
  • 8

1 Answers1

2

You should be able to mount this as a loop device with a command similar to this one.
mount /path/to/image /mnt -t ntfs -o loop
or
mount /path/to/image /mnt -t ntfs -o loop=/dev/loop3

This will mount the image at /path/to/image /mnt as a loop device. The first option will create the loop device on an unused loop device. While the 2nd option will force the loop device to be setup on /dev/loop3.

You can get more options from the mount man pages or losetup man pages but losetup shouldn't be required to do this.

3dinfluence
  • 12,409
  • 2
  • 27
  • 41
  • Thank You for your answer, at moment I'm getting "mount: unknown filesystem type 'ntfs'" Does it mean my kernel does not support NTFS? – Daniil Harik Nov 25 '10 at 07:25
  • NTFS support is provided as a FUSE file system so it's actually done in userspace. Try using ntfs-3g instead of ntfs. – 3dinfluence Nov 26 '10 at 05:26