Environment Construction :
Vim/etc/fstab Filling
/sdb/mnt ext4 Delault 0 1
Description : SDB can be non-existent, only to implement impersonation changes Fstab file, boot unsuccessful case
1. shutdown, Mount CD-ROM
boot f2 boot mode , cd
3. F10 , save. Return to the other box enter Yes to restart
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/84/09/wKiom1eEQTfx9om4AABqT_ymyzQ612.png "title=" 1.png " alt= "Wkiom1eeqtfx9om4aabqt_ymyzq612.png"/>
4. Select the third option from the upper and lower keys: Rescue installed system, Enter rescue mode ( Rescue )
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/84/09/wKiom1eEQXTx29iGAAb5CLJGzz4663.png-wh_500x0-wm_3 -wmp_4-s_854468697.png "title=" 2.png "alt=" Wkiom1eeqxtx29igaab5cljgzz4663.png-wh_50 "/>
5. wait for the load to complete and the loading process is as follows
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/84/08/wKioL1eEQb-jo2jNAAAJ7szDu5E820.png "title=" 3.png " alt= "Wkiol1eeqb-jo2jnaaaj7szdu5e820.png"/>
6. Select language
The dialog window will appear when loading is complete, first select the language,
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/84/08/wKioL1eEQgWTuLYlAAA5vzeGPGs187.png-wh_500x0-wm_3 -wmp_4-s_2221134343.png "title=" 4.png "alt=" Wkiol1eeqgwtulylaaa5vzegpgs187.png-wh_50 "/>
7. Select keyboard Type
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/84/08/wKioL1eEQkqhc9pEAAA4xQegxsE485.png "title=" 5.png " alt= "Wkiol1eeqkqhc9peaaa4xqegxse485.png"/>
8. whether to use a network interface, select No
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/84/09/wKiom1eEQmvh1VmhAAAg7m1MW78778.png "title=" 6.png " alt= "Wkiom1eeqmvh1vmhaaag7m1mw78778.png"/>
9. Rescue description, select Continue , after always OK , until it appears
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/84/09/wKiom1eEQpGCtmC9AABzii58bzk315.png "title=" 7.png " alt= "Wkiom1eeqpgctmc9aabzii58bzk315.png"/>
. Select Open Shell and OK , you can enter the command-line mode.
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/84/08/wKioL1eEQsbyijF3AAAoqLpijio734.png "title=" 8.png " alt= "Wkiol1eeqsbyijf3aaaoqlpijio734.png"/>
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/84/09/wKiom1eEQt3y2zq6AAAJGyt_Y74588.png "title=" 9.png " alt= "Wkiom1eeqt3y2zq6aaajgyt_y74588.png"/>
At last:
Follow the system prompts in rescue mode to enter rescue mode.
rescue mode, /mnt/sysimage/etc/fstab So we're going to modify /mnt/sysimage/etc/fstab This file , put the extra comment out and save it ok Normal restart is OK. (Note that the directory in rescue mode is colorless, vim is not available)
This article is from the "System World" blog, please be sure to keep this source http://sgk2011.blog.51cto.com/1551358/1825607
Centos 6.7 Text Explain rescue mode repair Fstab process