I was able to backup a drive using the following command.
pv -EE /dev/sda > disk-image.img
This is all well and good, but now I have no way of seeing the files unless I use this command
pv disk-image.img > /dev/sda
This, of course, writes the data back to the disk which is not what I want to do. My question is what can I do to mount the
.img file itself instead of just writing back to a disk?
I've tried mounting using loop but it seems to complain about an invalid NTFS.
$ mount -o loop disk-image.img mount: disk-image.img: can't find in /etc/fstab. $ mount -o loop disk-image.img /mnt/disk-image/ NTFS signature is missing. Failed to mount '/dev/loop32': Invalid argument The device '/dev/loop32' 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?