Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to fix MBR sector failure by CentOS7

Shulou Source: shulou.com Published: 2022-06-01 01:54:25 10月26日 Update

Editor to share with you how CentOS7 fixes MBR sector failures. I hope you will get something after reading this article. Let's discuss it together.

The MBR boot record is located in the first sector of the physical hard disk (512B), which is also known as the main boot sector (MBR sector), which not only contains part of the data of the system boot program, but also contains the partition record of the entire hard disk when the main boot sector fails, it will not be able to enter the boot menu, cannot find the correct partition location and cannot load the system, and may enter the black screen state when booting the host through the hard disk.

1. Fault description:

Unable to find boot program, boot interrupt; unable to load operating system, black screen after boot.

Second, reason analysis:

Damage caused by viruses, * *, etc.; incorrect partition operations, disk read and write errors.

Third, the solution:

Step 1: back up the mbr boot sector to another disk

Because we are simulating the failure in the VMware virtual machine, we can add multiple disks, and we back up the mbr boot sector to other disks.

Step 2: boot the mirror first aid mode for mbr sector recovery

Restart the system and select the Troubleshooting option when the boot loading interface appears.

Select Rescue a CentOS system system Diagnostics and enter command mode

Step 3: after rebooting, you can log in to the system normally

After reading this article, I believe you have a certain understanding of "how CentOS7 fixes MBR sector failures". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Tags: System failure disk hard disk backup mode program article selection operating system host location method cause analysis also known as command finished data is in Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi MariaDB Shulou Technology NVidia vpn