each partition that the hard disk has been formatted into. In addition to this table, the MBR also includes a program that reads the boot sector record of the partition containing the operating system to be booted into RAM. In turn, that record contains a program that loads the rest of the operating system into RAM.
Question:
how to erase MBR in Linux ?
Answer :
# dd if=/dev/zero of=/dev/hda1 bs=512 count=1
bs = the first 512 bytes of the harddrive to remove the bootloader



If you use a figure of 512 bytes to be zeroed out, you will also zero out the disk's partition table. The bs count needs to be less than 512 so that the partition table is retained. (I don't have the actual figure with me at the moment. You should be able to Google for it.)