How to read data from `safecopy` image file
The hard disk of a ThinkPad with a Windows 7 install was failing, so I tried to recover as much data as possible.
For that I started the ThinkPad with an Ubuntu Live USB, started the terminal and ran safecopy
. It managed to recover 139 GB of ~149GB from that failing HD.
This is how I ran it:
sudo safecopy --stage1 /dev/sdd2 /media/ubuntu/ssd256a/thinkpad.img
So now I have an img file on an external SSD, and the original HD cannot be read anymore.
Tried to mount the img file like so:
$ sudo mount -o loop thinkpad.img
mount: thinkpad.img: can't find in /etc/fstab.
I can't mount it obviously.
Finally I run fdisk
parallels@parallels-Parallels-Virtual-Platform:/media/psf/ssd256a$ !31
fdisk -lu thinkpad.img
Disk thinkpad.img: 139 GiB, 149186150400 bytes, 291379200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
So there is no info about partition table.
Now I am lost.
How can I read / get the files out of this img file?
partitioning hard-drive data-recovery
add a comment |
The hard disk of a ThinkPad with a Windows 7 install was failing, so I tried to recover as much data as possible.
For that I started the ThinkPad with an Ubuntu Live USB, started the terminal and ran safecopy
. It managed to recover 139 GB of ~149GB from that failing HD.
This is how I ran it:
sudo safecopy --stage1 /dev/sdd2 /media/ubuntu/ssd256a/thinkpad.img
So now I have an img file on an external SSD, and the original HD cannot be read anymore.
Tried to mount the img file like so:
$ sudo mount -o loop thinkpad.img
mount: thinkpad.img: can't find in /etc/fstab.
I can't mount it obviously.
Finally I run fdisk
parallels@parallels-Parallels-Virtual-Platform:/media/psf/ssd256a$ !31
fdisk -lu thinkpad.img
Disk thinkpad.img: 139 GiB, 149186150400 bytes, 291379200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
So there is no info about partition table.
Now I am lost.
How can I read / get the files out of this img file?
partitioning hard-drive data-recovery
1
There seems to be nothing wrong. You merely have not provided themount
command enough information for it to do it's job. You didn't tell it the (-t) type, nor where in your filesystem you want it to be mounted.
– user535733
Mar 16 at 15:48
Thank you very much for your answer. - So I need to specify the type (ntfs
in my case, but I supposeauto
will do as well), and where to mount. But what about the missing partition table?
– Ugur
Mar 16 at 16:06
So this is what I tried:parallels@parallels-Parallels-Virtual-Platform:~$ sudo mount /media/psf/ssd256a/thinkpad.img /media/thinkpad/ -t auto
and I get the error messagemount: /media/thinkpad: can't read superblock on /dev/loop23.
– Ugur
Mar 16 at 16:15
add a comment |
The hard disk of a ThinkPad with a Windows 7 install was failing, so I tried to recover as much data as possible.
For that I started the ThinkPad with an Ubuntu Live USB, started the terminal and ran safecopy
. It managed to recover 139 GB of ~149GB from that failing HD.
This is how I ran it:
sudo safecopy --stage1 /dev/sdd2 /media/ubuntu/ssd256a/thinkpad.img
So now I have an img file on an external SSD, and the original HD cannot be read anymore.
Tried to mount the img file like so:
$ sudo mount -o loop thinkpad.img
mount: thinkpad.img: can't find in /etc/fstab.
I can't mount it obviously.
Finally I run fdisk
parallels@parallels-Parallels-Virtual-Platform:/media/psf/ssd256a$ !31
fdisk -lu thinkpad.img
Disk thinkpad.img: 139 GiB, 149186150400 bytes, 291379200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
So there is no info about partition table.
Now I am lost.
How can I read / get the files out of this img file?
partitioning hard-drive data-recovery
The hard disk of a ThinkPad with a Windows 7 install was failing, so I tried to recover as much data as possible.
For that I started the ThinkPad with an Ubuntu Live USB, started the terminal and ran safecopy
. It managed to recover 139 GB of ~149GB from that failing HD.
This is how I ran it:
sudo safecopy --stage1 /dev/sdd2 /media/ubuntu/ssd256a/thinkpad.img
So now I have an img file on an external SSD, and the original HD cannot be read anymore.
Tried to mount the img file like so:
$ sudo mount -o loop thinkpad.img
mount: thinkpad.img: can't find in /etc/fstab.
I can't mount it obviously.
Finally I run fdisk
parallels@parallels-Parallels-Virtual-Platform:/media/psf/ssd256a$ !31
fdisk -lu thinkpad.img
Disk thinkpad.img: 139 GiB, 149186150400 bytes, 291379200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
So there is no info about partition table.
Now I am lost.
How can I read / get the files out of this img file?
partitioning hard-drive data-recovery
partitioning hard-drive data-recovery
asked Mar 16 at 14:34
UgurUgur
1011
1011
1
There seems to be nothing wrong. You merely have not provided themount
command enough information for it to do it's job. You didn't tell it the (-t) type, nor where in your filesystem you want it to be mounted.
– user535733
Mar 16 at 15:48
Thank you very much for your answer. - So I need to specify the type (ntfs
in my case, but I supposeauto
will do as well), and where to mount. But what about the missing partition table?
– Ugur
Mar 16 at 16:06
So this is what I tried:parallels@parallels-Parallels-Virtual-Platform:~$ sudo mount /media/psf/ssd256a/thinkpad.img /media/thinkpad/ -t auto
and I get the error messagemount: /media/thinkpad: can't read superblock on /dev/loop23.
– Ugur
Mar 16 at 16:15
add a comment |
1
There seems to be nothing wrong. You merely have not provided themount
command enough information for it to do it's job. You didn't tell it the (-t) type, nor where in your filesystem you want it to be mounted.
– user535733
Mar 16 at 15:48
Thank you very much for your answer. - So I need to specify the type (ntfs
in my case, but I supposeauto
will do as well), and where to mount. But what about the missing partition table?
– Ugur
Mar 16 at 16:06
So this is what I tried:parallels@parallels-Parallels-Virtual-Platform:~$ sudo mount /media/psf/ssd256a/thinkpad.img /media/thinkpad/ -t auto
and I get the error messagemount: /media/thinkpad: can't read superblock on /dev/loop23.
– Ugur
Mar 16 at 16:15
1
1
There seems to be nothing wrong. You merely have not provided the
mount
command enough information for it to do it's job. You didn't tell it the (-t) type, nor where in your filesystem you want it to be mounted.– user535733
Mar 16 at 15:48
There seems to be nothing wrong. You merely have not provided the
mount
command enough information for it to do it's job. You didn't tell it the (-t) type, nor where in your filesystem you want it to be mounted.– user535733
Mar 16 at 15:48
Thank you very much for your answer. - So I need to specify the type (
ntfs
in my case, but I suppose auto
will do as well), and where to mount. But what about the missing partition table?– Ugur
Mar 16 at 16:06
Thank you very much for your answer. - So I need to specify the type (
ntfs
in my case, but I suppose auto
will do as well), and where to mount. But what about the missing partition table?– Ugur
Mar 16 at 16:06
So this is what I tried:
parallels@parallels-Parallels-Virtual-Platform:~$ sudo mount /media/psf/ssd256a/thinkpad.img /media/thinkpad/ -t auto
and I get the error message mount: /media/thinkpad: can't read superblock on /dev/loop23.
– Ugur
Mar 16 at 16:15
So this is what I tried:
parallels@parallels-Parallels-Virtual-Platform:~$ sudo mount /media/psf/ssd256a/thinkpad.img /media/thinkpad/ -t auto
and I get the error message mount: /media/thinkpad: can't read superblock on /dev/loop23.
– Ugur
Mar 16 at 16:15
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1126178%2fhow-to-read-data-from-safecopy-image-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1126178%2fhow-to-read-data-from-safecopy-image-file%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
There seems to be nothing wrong. You merely have not provided the
mount
command enough information for it to do it's job. You didn't tell it the (-t) type, nor where in your filesystem you want it to be mounted.– user535733
Mar 16 at 15:48
Thank you very much for your answer. - So I need to specify the type (
ntfs
in my case, but I supposeauto
will do as well), and where to mount. But what about the missing partition table?– Ugur
Mar 16 at 16:06
So this is what I tried:
parallels@parallels-Parallels-Virtual-Platform:~$ sudo mount /media/psf/ssd256a/thinkpad.img /media/thinkpad/ -t auto
and I get the error messagemount: /media/thinkpad: can't read superblock on /dev/loop23.
– Ugur
Mar 16 at 16:15