Which of the following commands overwrites the bootloader located on /dev/sda without
overwriting the partition table or any data following it?
A.
dd if=/dev/zero of=/dev/sda bs=512
B.
dd if=/dev/zero of=/dev/sda bs=512 count=1
C.
dd if=/dev/zero of=/dev/sda bs=440 count=1
D.
dd if=/dev/zero of=/dev/sda bs=440
WRONG ANSWER! should be C-> dd if=/dev/zero of=/dev/sda bs=512 count=1
Because MBR has 512 and you need to put count=1, if not will copy until end of disc.
ISN’T IT??
The correct answer is “dd if=/dev/zero of=/dev/sda bs=440 count=1” (C) because the bootloader size is 440 byte.