LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-18-2013, 10:15 AM   #1
krofna
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Rep: Reputation: Disabled
Mount image of NTFS generated by ddrescue


I ran ddrescue on a failing external hdd (NTFS formated). It generated .img file, but I don't know how to mount it. Also, image is not complete. Since it took 17 hours to get 30 out of ~780 GB, I wanted to see whats rescued before I resume (Any tips on making it go faster?)

Quote:
root@krofna-desktop:/home/krofna# mount -t ntfs hdd.img /mnt
Failed to read last sector (1953520001): 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 can I mount it?
 
Old 01-18-2013, 06:39 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,128

Rep: Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362Reputation: 1362
Try this maybe kpartx -v -a rawimage.dd From here http://www.forensicswiki.org/wiki/Mounting_Disk_Images


Can't say what the state of the image is really either. It could be all hosed up.

Guess you could try qemu image.img to see if it even wants to boot long enough to tell you the hcl is wrong.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
a half or so ddrescue image raven4d Linux - Software 5 08-31-2012 02:32 PM
Urgent: Failing NTFS HD - Will ddrescue Read & Write To Windows NTFS Drives? zipgunner Linux - Newbie 15 03-08-2011 06:29 AM
I can't mount ntfs partitions with the latest ntfs-3g version BK2 Linux - Software 1 02-01-2008 07:08 PM
Dynamically generated graphs with image maps DMeerholz Programming 2 10-25-2007 01:27 PM
Advice needed: data recovery from NTFS disk using ddrescue and Ubuntu afzal_b Linux - Newbie 10 09-20-2006 09:14 AM


All times are GMT -5. The time now is 06:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration