Quote:
Originally Posted by nerces
The disc is recognized with read errors and the raw device /dev/sdb is not created and disapears.
|
Any stderr, diagnostic output, dmesg and syslog output from the moment you powered up and tried to access the USB enclosure would have been welcome.
Quote:
Originally Posted by nerces
Second attempt on an older system (ubuntu 8.04 and linux 2.6.12). I'am able to copy data from the damaged disk on another 1T disk with dd ddrescue and safecopy. Usualy the copy stops without any message after few dozen of G.
|
See dd_rescue instead as I explained
here?
Quote:
Originally Posted by nerces
Then I use gpart to find the starting points of the partitions.
|
Instead use 'testdisk' with the "/debug /log" flags and store the log file somewhere safe.
Quote:
Originally Posted by nerces
The next step is to use a loop device on the backup disk with offset to mount the partition on the system.
It should work but is not working as it should
|
No, the next step should have been ensuring a copy of the disk was made to file and work on
that. Besides please don't talk
about errors ("is not working") but
show them instead (stderr, diagnostic tool output, dmesg, syslog).
Quote:
Originally Posted by nerces
Of course since the beginning of the disk is damaged, there is no hope to recover the first partition wich hosts the system, The system is perfectly standart and is completely separated from my data.
|
There are several options open to you. For instance testdisk allows you to write a standard MBR and if testdisk can recover partition boundaries after that it may well be able to rewrite the PT as well. I strongly suggest you first make a
good copy of the disk or partition though. And if the first partition of the disk only contains the system and the subsequent partitions data to retrieve, why not image only those?