Mounting virtualbox .vdi file
I am trying to mount the vdi file on my linux box. I used suggestions from:
However this does not seems to be working for me:
$ sudo mount -t ntfs-3g -o
1000000 ./MyWinXP.vdi | grep "eb 52 90 4e 54 46 53" | cut -c 1-8)
Failed to read last sector (20948696): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/loop2': Invalid argument
The device '/dev/loop2' doesn't have a valid NTFS.
Maybe you selected the wrong device? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? Or the other way around?
$ hd -n 1000000 MyWinXP.vdi| grep "eb 52 90 4e 54 46 53"
00012000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
Thanks for suggestion !