Results 1 to 3 of 3
I just recently made the fatal mistake of typing "mkfs.vfat /dev/hda1" and deleting the wrong FAT32 partition on my computer. Right now, I am attempting to recover it but do ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-11-2005 #1
- Join Date
- Sep 2005
How to copy exact hard drive partition bit by bit
I just recently made the fatal mistake of typing "mkfs.vfat /dev/hda1" and deleting the wrong FAT32 partition on my computer. Right now, I am attempting to recover it but do not know how. The first thing I want to do is transfer the corrupted partition to another computer. Based on suggestions, I am using the program called "dd." However, I do not know how to do this over a network. Basically, I want to copy /dev/hda1 on my one computer to /dev/hdb8 on another computer called COMP, let's say. I am trying
dd if=/dev/hda1 of=COMP:/dev/hdb8
but that is not working. Anyone know what I am doing wrong?
- 11-13-2005 #2
Easiest thing would be if you could create the image on the local machine and then transfer it over the network. For example:Code:
dd if=/dev/hda1 of=/mnt/bkup/hda1.img
Then you can copy hda1.img to another machine via scp or whatever.
- 11-19-2005 #3
- Join Date
- Feb 2005
If you don't mind a bit of insecurity you could enable rsh and do
dd if=/dev/hda1 | rsh otherhost dd of=/dev/hdb8