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?