Oliver Ob schrieb:
was... [/DEV/HDA] BIG BIG EMERGENCY! (was since 28092001)
Christopher Mahmood schrieb:
* Oliver Ob (ob_ok@gmx.net) [020329 15:04]:
thanks christopher. But how can I repair this and get access back to the partitions?
with mknod...now that I think about it I doubt this is problem. You can check with 'ls -l /dev/hda*' though. What does fdisk -l /dev/hda say about the disk?
--
-ckm
Hi Christopher, now that I reinstalled my laptop after hd-crash I found this old mail in an old backup.
Should I try mknod /dev/hda1?
It is clear to me that the DOS-signature on /dev/hda1 is wiped, since I cleared the first xxxx bytes of hda1 to get any access at all. The partition table was gone due to physical errors.
Now I ran gpart and it told me some values which I wrote on hda using fdisk, so to answer your above question: I cannot "ls" on hda1, reason as said. But fdisk shows a FAT partition, just according to what gpart told me.
Now, I can cat /dev/hda1 and see (after tons of zeros, which I had to write to get back any access to hda at all) my autoexec bat and so forth.
So all the files are there.
My idea is now to somehow "fake" or "write" a DOS signature onto hda1 and then simply copy all files off the disk.
While I am typing this, I managed to evacuate hda3 (linux) and hda4 (data) drives to a secure second harddrive. It is just copying the files off the hda2 right now.
So how can I generate a DOS-signature and write it to hda1? man mknod, but that did not tell me much.
Kind regards (this message is not being cross posted, I hope :-) )
Update:
So I went and edited the part. table and rewrote it with the data I got from gpart.
It just did not find hda1 (which seems to have lost its signature entirely). hda2-4 can be mounted and then copied. I think I can fix that.
I made it that hda4 is now rescued!
But: hda1 cannot be mounted. It says "wrong major or minor number" which appears to me like the partition START is gone. now how can I dd all contents of hda1 to an image to let it mount and copy all the files off then? (*)
Also, I dd'ed me an image of hda1, no errors on that except for the point that the first xxxx bytes are all zeroed. Now, how write the dos signature onto hda1? mknod? -- *º¤., ¸¸,.¤º*¨¨¨*¤ =Oliver@home= *º¤., ¸¸,.¤º*¨¨*¤ I http://www.bmw-roadster.de/Friends/Olli/olli.html I I http://www.bmw-roadster.de/Friends/friends.html I I http://groups.yahoo.com/group/VGAP-93 I I http://home.t-online.de/home/spacecraft.portal I
Telek0ma iBBMS - soon back online +49.4503.TRSi1/TRSi2 <<<