· The Linux host may only have a "grub>" prompt after booting and cannot complete the further system boot process. Generally there are two kinds of clear conditions:
1. GRUB configuration file is missing or configuration error occurred
2. the boot program in the MBR record has been compromised
Boot program (GRUB), which is used by default on Linux systems, does not boot properly to normal boot system
· :
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/C9/wKiom1csU9iBFiNtAABNckLxbeU854.png "style=" float: none; "title=" 1.png "alt=" Wkiom1csu9ibfintaabncklxbeu854.png "/>
First, If you do not know where your boot partition is located, enter root (hd0, and then press the TAB key, you will see the following, you need to 0x83 the type of the partition location to try, because 0x83 partition may be/root partition is 0,1,4 partition location
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7F/C9/wKiom1csU9jghgilAABgJHOMI-g351.png "title=" 2.png " Style= "Color:rgb (51,51,51); float:none; alt=" Wkiom1csu9jghgilaabgjhomi-g351.png "/>
Second, start the experiment from root (hd0,0), then enter KERNEL/VM press the TAB key if you can complete the description is correct, and then enter root=/dev/sda1,{Note: (hd0,0) =/dev/sda1 (hd0,1) =/dev/sda2}
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7F/C9/wKiom1csU9mjB_3aAABEQzNr5Mo928.png "title=" 3.png " Style= "Float:none;" alt= "Wkiom1csu9mjb_3aaabeqznr5mo928.png"/>
Third, then enter Initrd/ini press the TAB key to complete
· 650) this.width=650; "Src=" http://s5.51cto.com/wyfs02/M00/7F/C7/wKioL1csVLHDQrX-AABidr2Ipdc728 . png "title=" 4.png "style=" Float:none; "alt=" Wkiol1csvlhdqrx-aabidr2ipdc728.png "/>
Four, then enter the boot command
· 650) this.width=650; "Src=" http://s4.51cto.com/wyfs02/M01/7F/C9/wKiom1csU9rTKXsqAABUTYmKsAI811 . png "title=" 5.png "style=" Float:none; "alt=" Wkiom1csu9rtkxsqaabutymksai811.png "/>
Five, If you see the following message stating that the selected root partition is not correct, restart continue.
· 650) this.width=650; "Src=" http://s4.51cto.com/wyfs02/M02/7F/C9/wKiom1csU9rRhTjSAADJ0oCg7aE441 . png "title=" 6.png "style=" Float:none; "alt=" Wkiom1csu9rrhtjsaadj0ocg7ae441.png "/>
Six, as the content just written is temporarily written to memory, it will need to be re-written again. Change the root=/dev/sda1 to Root=/dev/sda2, and then enter the boot command. Then you can enter the system.
This article from "Zllcto" blog, reproduced please contact the author!
How to resolve CentOS boot directly into the Grub command interface