Article 6CWPC "Failed to read last sector (209399806): Invalid argument" when mounting loop device

"Failed to read last sector (209399806): Invalid argument" when mounting loop device

by
flXme
from LinuxQuestions.org on (#6CWPC)
So here's the context: I did Code:sudo cat /run/media/vadym/T7/Backups/2023-07-09-11-img/nvme0n1p3.ntfs-ptcl-img.gz.* | sudo gzip -d -c | sudo partclone.restore -C -s - -O nvme0n1p3_C_Drive.img to create an image from my Clonezilla backup, I wanted to do this because I wanted to extract some files from the backup, so I tried to mount the image as a loop device: Code:sudo mount -r -o loop nvme0n1p3_C_drive.img /mnt/C. Here's the output:

Code:Failed to read last sector (209399806): 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?How do I solve this issue?

Notice: It may say I posted from Windows 10 but I actually posted from Linux, It says Windows 10 because I use Librewolf browser that changes user agent.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments