Go Back   Steve's Digicams Forums > Software > Editors (Photoshop, Vegas, Final Cut Pro, Kdenlive, etc.)

Reply
 
Thread Tools Search this Thread
Old Aug 27, 2011, 5:30 AM   #21
Member
 
Join Date: Aug 2011
Posts: 41
Default

yes i did change the port for both card and external hard disk..
livinggourmand is offline   Reply With Quote
Old Aug 27, 2011, 5:49 AM   #22
Administrator
 
Join Date: Jun 2003
Location: Savannah, GA (USA)
Posts: 22,378
Default

OK....

You never did paste the output from the first time you ran the commands I asked you to run, unless you interrupted them before they finished. Instead, you started unplugging things and ran them again.

So, I do not have any idea what kind of errors ddrescue saw or did not see, or what it was able to copy, or was not able to copy (since you did not paste the output as I asked unless you just interrupted it while it was in progress), and I don't know what we should be doing next.

Do you still have the output from that part (ddrescue) in Konsole? If so, can you paste it into a post here?

There are specific steps that need to be followed, and if something changes (drive labels, etc.), I need to know about it. Also, I need to know about any stop and restarts, since we can't use the same log file names again if ddrescue finished and exited (unless you stopped it while it was in progress).

Is that what happened (you stopped it before it finished running)? Or, do you have the output from it in your Konsole session somewhere?

Let's start over from the beginning. This time, please do as I ask so that I know how to help you best.

Please do *not* stop an in progress session of ddrescue without checking with me first, and whatever you do, do *not* unplug a hard drive without unmounting it or using safely remove first. Otherwise, you're going to corrupt a file system (if you have not already done that).

Also, because the label for your external drive changed, you were trying to mount your memory card as an ntfs partition later by rerunning those commands against the wrong drive labels, risking corrupting the memory card even further.

The same thing applies with Windows. Never unplug a drive without right clicking on the icon for it and using the Safely Remove menu choice. Otherwise, you're going to corrupt the file system on it if any writes to it are in the Operating System's disk cache.

Now, in that case, it looks like the label for your external drive changed. Please do *not* start unplugging anything or interrupting any programs running without checking with me first.

Before we start over with a different set of commands (with the new labels, different image file name since I do not know what copied OK, different log file name for the same reasons), do this for me so I can make sure the file system is not corrupted on the drive we're trying to use for saving disk images so much that it can't mount (which is now showing up as /dev/sdd instead of /dev/sdc). Press enter at the end so that the mount command runs. Then, paste the output from those commands into a post here so I can make sure it's mounting OK without any errors.

su
umount /dev/sdd1
mount -t ntfs-3g /dev/sdd1 /mnt/sdd1
JimC is offline   Reply With Quote
Old Aug 27, 2011, 6:07 AM   #23
Member
 
Join Date: Aug 2011
Posts: 41
Default

i ll tell u what all i did

i waited for the process to complete
after completion it said finished and i clicked enter
then photorec started and images got recovered,

then i repeated the process and few more images got recovered.
after that i turned off my pc , changed the ports and tried again
..
thats all

i ran again the cmd
this is wat i got
demo@mepis1:~$ su
Password:
[root@mepis1 demo]# umount /dev/sdd1
[root@mepis1 demo]# mount -t ntfs-3g /dev/sdd1 /mnt/sdd1
ntfs-3g-mount: failed to access mountpoint /mnt/sdd1: No such file or directory




livinggourmand is offline   Reply With Quote
Old Aug 27, 2011, 6:21 AM   #24
Administrator
 
Join Date: Jun 2003
Location: Savannah, GA (USA)
Posts: 22,378
Default

Quote:
Originally Posted by livinggourmand View Post
i ll tell u what all i did

[B]i waited for the process to complete
after completion it said finished and i clicked enter
then photorec started and images got recovered
It would have also told you how many bytes it rescued (copied OK). I need to see it's output next time, so I can tell if (and how) we need to run ddrescue again, and if we need to use a different log file name or not (which will depend on it's output). Otherwise, you may be running it for no reason (it may not be updating anything in the disk image file because of the way the log file is working with it if you reuse the same one).

We're going to need to start over from the beginning since you do not have that output and I can't tell what it did the first time so I know if I can reuse the same log file name or not.

Quote:
[B]demo@mepis1:~$ su
Password:
[root@mepis1 demo]# umount /dev/sdd1
[root@mepis1 demo]# mount -t ntfs-3g /dev/sdd1 /mnt/sdd1
ntfs-3g-mount: failed to access mountpoint /mnt/sdd1: No such file or directory
That's odd (not finding /mnt/sdd1). Mepis usually creates the mount points for drives when it sees them plugged in. Did you do something since you posted the output of fdisk -l the last time (close your Konsole session, unplug something, restart your PC)?

Please do this again for me, and do not close Konsole, unplug anything or restart your PC before checking with me first.

su
fdisk -l
JimC is offline   Reply With Quote
Old Aug 27, 2011, 6:26 AM   #25
Member
 
Join Date: Aug 2011
Posts: 41
Default


this is wat i got this time
demo@mepis1:~$ su
Password:
[root@mepis1 demo]# fdisk -l

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
16 heads, 63 sectors/track, 1938021 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xbabf4e67

Device Boot Start End Blocks Id System
/dev/sda1 2 1938018 976760568 f W95 Ext'd (LBA)
/dev/sda5 2 1015874 511999960+ 7 HPFS/NTFS
/dev/sda6 1015875 1938018 464760544+ 7 HPFS/NTFS

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1ba21ba1

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 2741 22017051 7 HPFS/NTFS
/dev/sdb2 2742 30400 222170917+ f W95 Ext'd (LBA)
/dev/sdb5 2742 15795 104856223+ 7 HPFS/NTFS
/dev/sdb6 15796 23758 63962766 7 HPFS/NTFS
/dev/sdb7 23759 30400 53351833+ 7 HPFS/NTFS

Disk /dev/sdc: 3957 MB, 3957325824 bytes
61 heads, 60 sectors/track, 2111 cylinders
Units = cylinders of 3660 * 512 = 1873920 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sdc1 3 2112 3860480 b W95 FAT32

Disk /dev/sdd: 1000.2 GB, 1000204885504 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xa4b57300

Device Boot Start End Blocks Id System
/dev/sdd1 1 121602 976760032+ 7 HPFS/NTFS

livinggourmand is offline   Reply With Quote
Old Aug 27, 2011, 6:33 AM   #26
Administrator
 
Join Date: Jun 2003
Location: Savannah, GA (USA)
Posts: 22,378
Default

OK. For some reason, mepis didn't create a mount point for it from what I could see from the previous commands when we tried to mount it.

Please do this and post the output from it:

su
cd /mnt
md sdd1
umount /dev/sdd1
mount -t ntfs-3g /dev/sdd1 /mnt/sdd1
cd /mnt/sdd1
JimC is offline   Reply With Quote
Old Aug 27, 2011, 6:37 AM   #27
Administrator
 
Join Date: Jun 2003
Location: Savannah, GA (USA)
Posts: 22,378
Default

Oops. I used md versus mkdir. My bad.

Please do this instead and post the output from it:

su
cd /mnt
mkdir sdd1
umount /dev/sdd1
mount -t ntfs-3g /dev/sdd1 /mnt/sdd1
cd /mnt/sdd1
JimC is offline   Reply With Quote
Old Aug 27, 2011, 6:43 AM   #28
Member
 
Join Date: Aug 2011
Posts: 41
Default

i did run the cmd 1 by 1
and this is wat i got
[root@mepis1 demo]# su
[root@mepis1 demo]# cd/mnt
bash: cd/mnt: No such file or directory
[root@mepis1 demo]# mkdir sdd1
[root@mepis1 demo]# umount /dev/sdd1
[root@mepis1 demo]# mount -t ntfs-3g /dev/sdd1 /mnt/sdd1
[root@mepis1 demo]# cd /mnt/sdd1
[root@mepis1 sdd1]#
livinggourmand is offline   Reply With Quote
Old Aug 27, 2011, 6:54 AM   #29
Member
 
Join Date: Aug 2011
Posts: 41
Default

Jim C

i think i made a mistake
typed cd/mnt instead of cd /mnt
should i execute it again
n can i copy the whole thing and execute at once?
livinggourmand is offline   Reply With Quote
Old Aug 27, 2011, 6:54 AM   #30
Administrator
 
Join Date: Jun 2003
Location: Savannah, GA (USA)
Posts: 22,378
Default

You did not have a space between cd and /mnt, which is why it told you no such file or directory when you tried to navigate to /mnt. Please copy and paste the commands so that you don't make those types of errors. The space there was important. ;-)

But, the folder was already there. Otherwise, the mount command would have failed with an error again.

So, it looks like it mounted OK if you didn't see any errors after the mount command and you were able to navigate to it OK (and if you copied and pasted the output, that's what happened).

Next step. Let's do this now. Please copy and paste the output from it when it finishes, and do not close your Konsole session or unplug anything after that unless I ask you to:

su
ddrescue /dev/sdc sdhc_copy2.img sdhc_copy2.log
JimC is offline   Reply With Quote
 
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 8:17 AM.