google seems suggest that I need ddrescue. however having some problems during install. what should I choose (1 or 2) encountering below? View image: 9 ddrescue install
and after I have installed ddrescue how to proceed?
have tried photorec which does not help. only those normal files, total 448 mb are recovered. I am expecting some 6gb. View image: 6 running photorec
Please do not use pictures elsewhere when not strickly needed. We have to click forward and back until our fingers are falling apart. You copy/paste the text from the terminal window (Konsole in your case) in between CODE tags in your post. You get the CODE tags by clicking on the # button in the toolbar of the post editor.
You can see a lot of the posts here on the forums to get an impression on how that looks.
On 2013-06-16 16:36, andy0023 wrote:
>
> have copied some data to usb from another pc. when trying to restore,
> the files are not shown in some folders. :’(
Are you sure they were really copied?
> google seems suggest that I need ddrescue. however having some
> problems during install. what should I choose (1 or 2) encountering
> below?
> ‘View image: 9 ddrescue install’ (http://postimg.org/image/npe56z1ll/)
Why do you want to install an older version?
Why do you want to install something that is already installed?
>
> and after I have installed ddrescue how to proceed?
dd_rescue is used to clone a disk or partition to another one, not to
repair. You can, of course, clone the disk and work on the clone, not
the original - which is why it is suggested to use it.
> have tried photorec which does not help. only those normal files,
> total 448 mb are recovered. I am expecting some 6gb.
> ‘View image: 6 running photorec’ (http://postimg.org/image/hlwkn2bbt/)
Photorec is really good for restoring photos, some multimedia, but
little else, unfortunately.
I would simply go to the original computer and get the files again,
making sure not to unplug the thing before it is really finished.
Previously, I would run a disk check in Windows (I’m assuming the other
computer is Windows).
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
I thought files shd have been copied. no error msg when I copied from windows to usb. currently df reads usb used 6gb. but summing up the individual folders is only 500mb. so I hope that the files are still somehow in the usb.
so believe that I shd use dd_rescue and no need try installing ddrescue.
I am thinking to try something like
dd_rescue /dev/sdb1 /dev/sda5/backup.img --- hope to create an image file in root folder
fsck -y /dev/sda5/backup.img ---- hope to repair the image file
mount /dev/sda5/backup.img /mnt/recoverydata --- hope that all my files in usb would appear in /mnt/recoverydata
what I lost are jpg and mov files. unluckily photorec seems not helping me.
the poor thing is that the original files in windows have been removed.
I am noob of linux shell and unsure of the steps in (2). any advice would be appreciated. tks.
> I am thinking to try something like
>
> Code:
> --------------------
> dd_rescue /dev/sdb1 /dev/sda5/backup.img — hope to create an image file in root folder
> fsck -y /dev/sda5/backup.img ---- hope to repair the image file
> mount /dev/sda5/backup.img /mnt/recoverydata — hope that all my files in usb would appear in /mnt/recoverydata
> --------------------
**** STOP!!!
That destroys your root folder!
dd_rescue /dev/sdb1 /root/backup.img
> 3. what I lost are jpg and mov files. unluckily photorec seems not
> helping me.
>
> 4. the poor thing is that the original files in windows have been
> removed.
Gosh.
Do not ever trust usb/flash stick, they fail.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
> Code:
> --------------------
> mount /dev/sda5/backup.img /mnt/recoverydata — hope that all my files in usb would appear in /mnt/recoverydata
> --------------------
mount -o loop=/dev/loop0 /root/backup.img /mnt
> 3. what I lost are jpg and mov files. unluckily photorec seems not
> helping me.
Probably they were never really copied.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)