I used Clonezilla to back up an NTFS partition "sda3".
I've copied the partition to a linux 6TB raid, and discovered I need to get just one directory back from the partition.
I have already gunzip decompressed the Clonezilla image, then:
ntfsclone --restore-image -o restored.img sda3.ntfs-img.ntfsclone
ntfsclone v2013.1.13 (libntfs-3g)
Ntfsclone image version: 10.1
Cluster size : 4096 bytes
Image volume size : 492708032512 bytes (492709 MB)
Image device size : 492708036608 bytes
Space in use : 37094 MB (7.5%)
Offset to image data : 56 (0x38) bytes
Restoring NTFS from image ...
ERROR(2): read_all: No such file or directory
I still get a result the right size (492709 MB)
But I can't mount it:
mount -o loop -t ntfs-3g restored.img /mnt/loop
Failed to read last sector (962320383): 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/loop0': Invalid argument
The device '/dev/loop0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I used Clonezilla to back up an NTFS partition "sda3".
I've copied the partition to a linux 6TB raid, and discovered I need to get just one directory back from the partition.
I have already gunzip decompressed the Clonezilla image, then:
I still get a result the right size (492709 MB)
But I can't mount it:
For ntfsclone issue, you'd better to ask on http://www.linux-ntfs.org
Steven.