Ir para o conteúdo principal

MBR

The master boot record (MBR) is a small piece of code located on the first sector of a hard drive that is responsible for booting the operating system. When a computer is turned on, the MBR is loaded into memory and executes the bootloader, which then loads the operating system.

The MBR consists of several components, including:

  1. A bootstrap program: This is a small piece of code that is responsible for loading the bootloader into memory.

  2. A partition table: This table contains information about the layout of the hard drive, including the location and size of each partition.

  3. A disk signature: This is a unique identifier for the hard drive that is used to identify it to the operating system.

The MBR has a fixed size of 512 bytes and is typically stored on a hard drive in the first sector. It is important to note that the MBR is separate from the bootloader and the operating system, and is not affected by changes to these components.

One example of the importance of the MBR is in the case of malware that infects the MBR. Some types of malware, such as bootkits, are designed to infect the MBR and modify the boot process in order to gain access to the system. This can allow the malware to persist even after the operating system is reinstalled, making it difficult to remove.

In order to protect against MBR infections, it is important to regularly update the operating system and antivirus software, and to be cautious when downloading and installing software from untrusted sources. Additionally, it is a good practice to regularly create backups of the MBR in case it is compromised.


» The CSI Linux Knowledge Base

loader image