Q. How do I copy MBR from one hard disk to another hard disk under Debian Linux? I need to do this because of RAID 1 configuration.
A. To copy MBR simply use dd command. dd command works under all Linux distros and other UNIX like oses.
dd command to copy MBR
Type dd command as follows:
dd if=/dev/sda of=/dev/sdb bs=512 count=1
Above command will copy 512 bytes (MBR) from sda to sdb disk.