Linux system MBR loss and recovery

Source: Internet
Author: User

MBR, which is the master boot record.

The MBR describes the logical partitioning information, including the file system and how it is organized.

When the MBR is accidentally deleted or lost, it will cause the system to fail to start.

Linux startup flowchart

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4D/12/wKioL1RKG0_BGi-vAAGotmt-Pj8351.jpg "title=" Picture 1.jpg "alt=" Wkiol1rkg0_bgi-vaagotmt-pj8351.jpg "/>

Environment: CentOS 6.4

one, if the MBR is missing error, causing the failure to start .

Simulating removal of MBR

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/0F/wKiom1RKDjyQgO4oAACxq0oO_2o456.jpg "title=" 1.jpg " alt= "Wkiom1rkdjyqgo4oaacxq0oo_2o456.jpg"/>

Then reboot appears and select the third emergency rescue mode to start.

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/10/wKioL1RKDyXQlmQIAAFQ8Uy4o1k918.jpg "title=" 2.jpg " alt= "Wkiol1rkdyxqlmqiaafq8uy4o1k918.jpg"/>

Then there is the choice of language and keyboard input type, as well as rescue methods and so on, after the execution appears

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/11/wKioL1RKE9XyJBBnAAIapW5JOt8030.jpg "style=" float: none; "title=" 3.jpg "alt=" Wkiol1rke9xyjbbnaaiapw5jot8030.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/4D/10/wKiom1RKE4XA9CuXAAE3z-XHwko322.jpg "style=" float: none; "title=" 4.jpg "alt=" Wkiom1rke4xa9cuxaae3z-xhwko322.jpg "/>

Select Shell Start Shelland click OK

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/11/wKioL1RKFC3DskrnAACNipnSXh0341.jpg "title=" 5.jpg " alt= "Wkiol1rkfc3dskrnaacnipnsxh0341.jpg"/>

Then switch the root and rebuild the MBR

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/11/wKioL1RKFEDjk6wiAAHftCdU6nw997.jpg "title=" 6.jpg " alt= "Wkiol1rkfedjk6wiaahftcdu6nw997.jpg"/>

Direct execution two exit ,exit, select reboot, restart

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/10/wKiom1RKFBDwD72OAABYrBq3p10655.jpg "title=" 7.jpg " alt= "Wkiom1rkfbdwd72oaabyrbq3p10655.jpg"/>

The following figure appears

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/4D/11/wKioL1RKFHPxt5dRAAF-J_fHl8g618.jpg "style=" float: none; "title=" 8.jpg "alt=" Wkiol1rkfhpxt5draaf-j_fhl8g618.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4D/10/wKiom1RKFCPSDFLtAACPhQkaHdI071.jpg "style=" float: none; "title=" 9.jpg "alt=" Wkiom1rkfcpsdfltaacphqkahdi071.jpg "/>

Started successfully.

This article is from the "Wang Supeng blog" blog, make sure to keep this source http://wangcf1009.blog.51cto.com/8589325/1567664

Linux system MBR loss and recovery

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.