101-400 Exam QuestionsBrowse all questions from this exam

101-400 Exam - Question 32


Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

Show Answer
Correct Answer: C

The correct command is 'dd if=/dev/zero of=/dev/sda bs=440 count=1'. This command writes zeros to the first 440 bytes of the Master Boot Record (MBR), which contains the bootloader code, without affecting the partition table or any data following it.

Discussion

1 comment
Sign in to comment
DuboisNicolasDuclairOption: C
Oct 21, 2023

The command that overwrites the bootloader located on `/dev/sda` without overwriting the partition table or any data following it is: C. `dd if=/dev/zero of=/dev/sda bs=440 count=1` This command specifically writes zeros to the first 440 bytes of the MBR (Master Boot Record), which contains the bootloader code. It leaves the partition table and any data following it untouched.