carlinuxlearner
September 16th, 2010, 08:12 PM
This might be in the wrong forum. I don't know, I really had no idea where to put it, so please move it if necessary.
What I did:
Used ddrescue to clone a 500GB hard drive that was failing (read errors, wouldn't boot, etc...)
The command I used to do it was:
sudo ddrescue /dev/sdh /location/I/picked.img
Well it took it 2 days, but it finally got past all the errors and completed.
What I'm trying to do:
Now that I have a copy of it all, I want to mount the image and access the files.
What's not working?
When I enter:
sudo mount picked.img /where/I/want/to/mount/it/
it says: "mount: /location/I/picked.img is not a block device (maybe try `-o loop'?)"
And when I try
sudo mount -o loop picked.img /where/I/want/to/mount/it/
it says: "mount: you must specify the filesystem type"
Well the disk was partitioned with NTFS, so I try
sudo mount -t ntfs -o loop picked.img where/I/want/to/mount/it/
And the result is:
NTFS signature is missing.
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?
SOooo, what's wrong here? It seems to me I'm trying to mount it the wrong way, since it's an image of the whole disk, and not just one partition. And if that is the problem, then how do I mount it?
What I did:
Used ddrescue to clone a 500GB hard drive that was failing (read errors, wouldn't boot, etc...)
The command I used to do it was:
sudo ddrescue /dev/sdh /location/I/picked.img
Well it took it 2 days, but it finally got past all the errors and completed.
What I'm trying to do:
Now that I have a copy of it all, I want to mount the image and access the files.
What's not working?
When I enter:
sudo mount picked.img /where/I/want/to/mount/it/
it says: "mount: /location/I/picked.img is not a block device (maybe try `-o loop'?)"
And when I try
sudo mount -o loop picked.img /where/I/want/to/mount/it/
it says: "mount: you must specify the filesystem type"
Well the disk was partitioned with NTFS, so I try
sudo mount -t ntfs -o loop picked.img where/I/want/to/mount/it/
And the result is:
NTFS signature is missing.
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?
SOooo, what's wrong here? It seems to me I'm trying to mount it the wrong way, since it's an image of the whole disk, and not just one partition. And if that is the problem, then how do I mount it?