Sharninder, dd command does a copy of the input file (which is /dev/hda1: first partition on hard disk) to the output file (which is /dev/hda: raw hard disk) of 512 bytes.
<-------------/dev/hda----------------------> |-------------------------------------------| | MBR | /dev/hda1 | /dev/hda2 | |-------------------------------------------| ^ ^ | | A B so what this command did was that it took 512 bytes from the point B and copied to Point A. now MBR was lost and all the partitions info was also lost. so when u reboot the bios would see nothing (IPL->Initial Program Loader or stage one of your boot loader). >could u tell me what would be the effect of the following command on >linux >dd if=/dev/hda1 of=/dev/hda bs=512 count=1
signature.asc
Description: This is a digitally signed message part
