Hi I am absolutly a newbie when it comes to linux. I know dos so I was hoping that helps as I need to use dd_rescue to try and recover some data.
I am using knoppix live DVD lastest version downloaded today. I have a laptop booted with knoppix and have 2x USB devices. 1x a Kingston 1Gb flashdrive and the 2nd a Seagate 2Tb external USB drive. Both sare see and can be browsed to. Kingston sdc1 and Seagate sdb
Now I have a single file on the Kingston and it is not corrupt but I am testing as I cannot get this correct. I run the ffg command and I get an error.
dd_rescure /dev/sdc1 /dev/sdb
This runs without an error, but there are NO files on sdb when I browse to it. (I believe there should be none)
I than run....
dd_rescue /dev/sdc1 /dev/sdb/backup.img
I get an error that the
dd_rescue: (fatal): open "/dev/sdb/backup.img" failed: not a directory
I created a directory on sdb called backup and tried it and I get same error. I also created a file called backup.img thinking that when it encounters it it would let me know if it should overwrite it...but no difference.
What am I doing wrong?
Thanks
PS: I tried to initially run the corrupt drive and I am not sure but it went on for days (I think 5-6 days) and had not finished. (the drive capacity was 120Gb)
Ok I got past the initial error and I did this by actually changing directory to the destination drive i.e. where the actual log file and image file (of the rescued HDD) will reside. I believe there may be a command in Linux similar to DOSes "Path" command ...however I have not investigated this as yet. NOTE IMPORTANT: I did all of this in the "roots" terminal window as the regular terminal window does not have enough permissions. Again I am new to Linux and didn't know how to login as root from the regular command/terminal window.
So I was able to successfully make an image of my Test flash drive with the a single file in it and was able to mount (again here I had to be in the actual folder where this recovers image file is...that Path command mentioned above).
So I than proceeded to try and recover the 120Gb HDD installed in an external USB enclosure. The system saw the drive fine and also reported it as NTFS. I got the image file after several hours and finally mounted the image to find it black with no files. So not sure if the previous attempts with dd_resuce wiped the file clean.
Anyway, I proceeded to recover another drive 750Gb SATA in an External USB enclosure and when I looked at the file system it indicated unrecognized and showed it as FAT. However it reported the drive as a 2Tb drive and not 750Gb as marked in the lable.....
Any 'CONSTRUCTIVE' idea's please ....
Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays
$1849.00
Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 512GB | H730P | 8x HDD Trays
$2549.00
Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU
$399.04
Dell Poweredge R640 Server | 2x Silver 4114 | 128GB | H730P | 4x HDD Trays
$1689.00
SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor
$4.79
Intel Xeon E5-2697A v4 2.6GHz 40MB 16-Core 145W LGA2011-3 SR2K1
$37.50
Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU
$39.99
Intel Xeon E5-2697 V4 2.30 GHz 18C 2011-3 2400MHz 45MB 145W SR2JV CPU Processor
$49.99
Dell Desktop Computer Intel Xeon 16GB RAM 750GB HDD Windows 10 PC AMD Graphics
$154.36
HP Z440 WORKSTATION XEON E5-1603V3 @ 2.80GHz, 16GB RAM 250 GB SSD Win 11
$119.99