1. Simulate the destruction of MBR boot.
DD If=/dev/zero OF=/DEV/SDA bs=400 count=1
This will not start the system.
Put the Linux system CD and boot. Select the third rescue mode.
650) this.width=650; "style=" Float:none; "title=" 1.png "src=" http://s3.51cto.com/wyfs02/M01/72/CE/ Wkiol1xtow7zjkwcaahylx8db8a072.jpg "alt=" Wkiol1xtow7zjkwcaahylx8db8a072.jpg "/>
Omitted part of the unimportant, directly to the following interface.
650) this.width=650; "style=" Float:none; "title=" 2.png "src=" http://s3.51cto.com/wyfs02/M01/72/D1/ Wkiom1xtn0wzkycmaaipqucnxb8059.jpg "alt=" Wkiom1xtn0wzkycmaaipqucnxb8059.jpg "/>
Chroot/mnt/sysimage # switch to the system on the hard drive
cd/boot/
LS # To see if a file is missing from the boot directory
650) this.width=650; "style=" Float:none; "title=" 3.png "src=" http://s3.51cto.com/wyfs02/M02/72/CE/wKioL1XtoW_ Suo7eaab6mbk-m2m437.jpg "alt=" Wkiol1xtow_suo7eaab6mbk-m2m437.jpg "/>
grub# Enter the GRUB command line interface
grub> Root (hd0,0)
650) this.width=650; "style=" Float:none; "title=" 4.png "src=" http://s3.51cto.com/wyfs02/M02/72/D1/ Wkiom1xtn0wabucyaaa10oltxl0742.jpg "alt=" Wkiom1xtn0wabucyaaa10oltxl0742.jpg "/>
grub> Setup (hd0)
650) this.width=650; "style=" Float:none; "title=" 5.png "src=" http://s3.51cto.com/wyfs02/M00/72/CE/wKioL1XtoW_ Ji0q8aaembcn4qbk425.jpg "alt=" Wkiol1xtow_ji0q8aaembcn4qbk425.jpg "/>
Quit # exit the Grub command interface
Exit # Exit/mnt/sysimage
Reboot # Rebooting the system
Reboot to check if Linux starts properly
Rescue Mode Repair Grub