PrepAway - Latest Free Exam Questions & Answers

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partitio

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

PrepAway - Latest Free Exam Questions & Answers

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

Explanation:

6 Comments on “Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partitio

  1. Rudy says:

    I am fairly new to this, but I believe that the partition table info is located after the primary bootstrap loader and before the MBR validation check. Answer B would overwrite the partition table info as well as the MBR validation check after it.




    0



    0
  2. Joan Frank says:

    I believe that based on the question asked the correct answer is c, because preserving the petition table and data following it is what was asked. Executing the command in answer b would overwrite the MBR, petition table and date that followed.




    0



    0
  3. Carlos says:

    C is correct. B is not.
    If zeroed first 512 bytes, bootloader is overwrited and partition table as well.
    If zeroed first 440 bytes, bootloader is overwrited and partition table is not overwritted.




    1



    0

Leave a Reply