Hi Jackrabbit,

> # dd if=/dev/zero of=/dev/hda bs=512
> 
> it will convert the entire hard drive to zeros right?  If I do that would I be
> able to rebuild partitions and the partition table from fdisk?

 You do not need to specify a blocksize in this case. If you only want to zero 
the MBR you would need to specify a count of 1 as well.
 I assume fdisk will recreate the magic number 55AA hex on bytes 511 & 512 in 
the MBR. Otherwise there is dd with a skip to save your day. But since fresh 
hd's don't have any data on them I don't think this'll be necessary.

                                        Bye,

                                        Leonard.




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to