View previous topic :: View next topic |
Author |
Message |
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Fri Nov 23, 2007 4:19 pm Post subject: dd_rhelp on damaged HD [SOlVED] |
|
|
Hy, I'm trying the:
Code: | el-loco el-loco # dd_rhelp if=/dev/hdc of=/dev/hdb
'if=/dev/hdc' is not found.
dd_rhelp: error: 'if=/dev/hdc' is not accessible...
| OK the HD has a lot of bad sectors, and also if I try to mount it on my gentoo I can do it waiting some minutes.
The problem I think is that the HD is very slow to acces and dd_rhelp fail with timeout...someone have any ideas?? _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa
Last edited by Impalatore-polacco on Thu Nov 29, 2007 8:44 pm; edited 1 time in total |
|
Back to top |
|
|
hirakendu Guru
Joined: 24 Jan 2007 Posts: 386 Location: san diego
|
Posted: Fri Nov 23, 2007 4:52 pm Post subject: |
|
|
but this seems more like the hard drive is not found altogether. first of all, is there a device /dev/hdc at all ? (can you see it with 'ls' etc, and get info using hdparm / cfdisk etc.) if indeed there is a hard drive and its bad, most probably there will be messages about in 'dmesg'. try looking through the messages about your hard drive in the output of dmesg. (ps : if you are using a kernel >=2.6.20 and not using old ide driver stack and instead the new libata drivers, your hard drive will appear as /dev/sdc etc instead of /dev/hda.) btw, what does dd_rhelp have in addition to standard dd ? _________________ Helium Sources || Gentoo Minimal Livecd |
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Fri Nov 23, 2007 5:08 pm Post subject: |
|
|
no no no...my hd is: hdc, and the partition is: hdc1 (fat 32)
Code: | el-loco el-loco # fdisk -l
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Dispositivo Boot Start End Blocks Id System
/dev/hda1 1 63 506016 83 Linux
/dev/hda2 64 188 1004062+ 82 Linux swap / Solaris
/dev/hda3 189 9964 78525720 5 Esteso
/dev/hda5 189 675 3911796 83 Linux
/dev/hda6 676 1162 3911796 83 Linux
/dev/hda7 1163 2622 11727418+ 83 Linux
/dev/hda8 2623 9964 58974583+ 83 Linux
Disk /dev/hdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Dispositivo Boot Start End Blocks Id System
/dev/hdb1 1 19457 156288321 b W95 FAT32
Disk /dev/hdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Dispositivo Boot Start End Blocks Id System
/dev/hdc1 * 1 19457 156288321 c W95 FAT32 (LBA) <------------- |
the problem is the timeout reading the device, the hd hasn't got any broken mechanics parts, only bad sectors.
I can mount the hdc1 on a directory on my filesystem, but is very slowly.
I need to know tell to dd_rhelp to wait more time for the device. _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
pietrek n00b
Joined: 09 Oct 2007 Posts: 14
|
Posted: Sun Nov 25, 2007 3:21 pm Post subject: |
|
|
Have you tried standard dd with conv=noerror,sync options instead? |
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Mon Nov 26, 2007 12:01 pm Post subject: |
|
|
No, I have to try it, I'll check it this night.
THX _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
robinmarlow Apprentice
Joined: 10 Mar 2004 Posts: 167
|
Posted: Tue Nov 27, 2007 7:07 am Post subject: |
|
|
I had to do this recently too. I'd recommend ddrescue http://www.gnu.org/software/ddrescue/ddrescue.html instead of dd_rescue.
I left dd_rescue working on a drive for 3 days continuously before i gave up and ddrescue did it in 1 hour.
but maybe i just got lucky!
Robin |
|
Back to top |
|
|
Impalatore-polacco Apprentice
Joined: 15 Apr 2007 Posts: 203 Location: Campogalliano - bell'ITALIA
|
Posted: Thu Nov 29, 2007 8:43 pm Post subject: |
|
|
Yep...I'veused this sw:
-ddrescue
-testdisk
-foremost
-and under M$ chkdsk [drive:] /F /V /R
THX robinmarlow _________________ Ci stanno osservando, ci sono i pipistrelli....ne hai presa troppa bello, ne hai presa troppa |
|
Back to top |
|
|
|