hi

i have a damaged 60M HD. it only runs if it is positioned vertical.

i bought a new 80M HD, and copied with dd
i used conv=noerror as my HD has bad sectors at offset about 10G

i did it by booting single user into linux (hda2), remounting / read-only
and typing: dd if=/dev/hda of=/dev/hdb bs=1M conv=noerror

the original disk had
hda1 - fat32 (30G)
hda2 - linux (ext3 10G)
hda3 - swap
hda4 - extended (hda5)
hda5 - fat32

on the target disk i get:
hda5 disappeard from the partition table
hda1 can be mounted as fat32, i see the files if i ls
hda2 is unrecognized, cant mount it. (tough there is data there)
and of-course grub displays 'GRUB' and stops.


what happened ?

is it that the bad sectors created an ofset between the source and dest position ?
is it that the two disks has different sizes ?

any idea ?
erez.



Reply via email to