Hi George,
As part of my work on the Rescuezilla "Image Explorer" graphical frontend, I am evaluating, consolidating and improving partclone-util's imagemount tool.
As best I can tell, due to a bug in partclone-utils it's not actually possible to mount an NTFS filesystem for both partclone v1 images, and partclone v2 images. The imagemount command returns success, but trying to mount the /dev/nbd1 device produces an error such as:
Launched in daemon mode: All logging output being written to the system log.
Failed to read last sector (4030): 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/nbd1': Invalid argument
The device '/dev/nbd1' 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?
mount reported error
I have raised this bug with the upstream project partclone utils ticket #3, but since you're the author of the partclone image format v2 support in partclone-util's imagemount I think you (and any users cloning or forking this repository) may be interested.
I guess it makes sense to keep the bulk of the discussion on partclone utils ticket #3. I've created Sourceforge Merge Request #5 to provide a reproducible test case.
I'm hoping you might have some insights that could save me time, but if not I will try and debug it myself.
Also, you may be interested in checking out Sourceforge Merge Request #6, there were two other independent implementations of mounting partclone image format v2, each apparently not knowing about the others.
Hi George,
As part of my work on the Rescuezilla "Image Explorer" graphical frontend, I am evaluating, consolidating and improving partclone-util's
imagemounttool.As best I can tell, due to a bug in partclone-utils it's not actually possible to mount an NTFS filesystem for both partclone v1 images, and partclone v2 images. The imagemount command returns success, but trying to mount the /dev/nbd1 device produces an error such as:
I have raised this bug with the upstream project partclone utils ticket #3, but since you're the author of the partclone image format v2 support in partclone-util's
imagemountI think you (and any users cloning or forking this repository) may be interested.I guess it makes sense to keep the bulk of the discussion on partclone utils ticket #3. I've created Sourceforge Merge Request #5 to provide a reproducible test case.
I'm hoping you might have some insights that could save me time, but if not I will try and debug it myself.
Also, you may be interested in checking out Sourceforge Merge Request #6, there were two other independent implementations of mounting partclone image format v2, each apparently not knowing about the others.