Linux Administration
medium

Pregunta de Linux Administration #019e3987

Enunciado de la Pregunta
Linux Administration
#dd
#mbr
#bootloader
#bs=440
#count=1
Medio

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

Correcto

Explicación Oficial / Explicaciones de la Comunidad

The Master Boot Record (MBR) is 512 bytes, but the partition table occupies the last 66 bytes of the MBR. Therefore, writing only the first 440 bytes overwrites the bootloader code while preserving the partition table.