Usage version: Centos6.5
What the rescue model does:
You can change the root password;
Recover hard disk, file system operation;
When the system starts, it can only be started by rescue mode;
The steps to start the rescue mode are as follows:
1, the first boot into the BIOS settings (each computer into the bios of different methods according to their own computer access), boot boot sequence for CD-ROM priority to start CD drive using the keypad of the +-number adjustment up and down order;
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/33/wKioL1UCQh7hP8kOAAFpTArpzSE799.jpg "style=" float: none; "title=" 0.jpg "alt=" Wkiol1ucqh7hp8koaafptarpzse799.jpg "/>
2, restart the system after entering the installation boot menu, the up and down keys moved to the Rescue Install system rescue installation Systems ;
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/38/wKiom1UCQRnQQpAQAAL_OasonYw864.jpg "style=" float: none; "title=" 1.jpg "alt=" Wkiom1ucqrnqqpaqaal_oasonyw864.jpg "/>
3. Select the language and keep the default中文版
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/33/wKioL1UCQkSjJUN-AAEabWr9FsA020.jpg "style=" float: none; "title=" 2.jpg "alt=" wkiol1ucqksjjun-aaeabwr9fsa020.jpg "width=" 650 "/>
4, select the keyboard type, keep the default us
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/39/wKiom1UCQTLgSr6pAAEkzhrgDe4815.jpg "style=" float: none; "title=" 3.jpg "alt=" wkiom1ucqtlgsr6paaekzhrgde4815.jpg "width=" 650 "/>
5, whether to start the network, you need to choose according to your actual situation, if you need to copy data through the network, select Yes, here we choose No;
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/33/wKioL1UCQl2SN03eAAC5B6VLBqI590.jpg "style=" float: none; "title=" 4.jpg "alt=" wkiol1ucql2sn03eaac5b6vlbqi590.jpg "width=" 650 "/>
6, enter into the rescue interface, select Continue
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/33/wKioL1UCQmyzQRcxAAJ4Zt8tZiA192.jpg "style=" float: none; "title=" 5.jpg "alt=" wkiol1ucqmyzqrcxaaj4zt8tzia192.jpg "width=" 650 "/>
7, the system is mounted under/mnt/sysimage if you want to run the Chroot/mnt/sysimage command in the root environment
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/39/wKiom1UCQVHjL8PyAAFEQ_BX-fI516.jpg "style=" float: none; "title=" 6.jpg "alt=" wkiom1ucqvhjl8pyaafeq_bx-fi516.jpg "width=" 650 "/>
8, three kinds of options: Shell into the command line mode; FAKD is the diagnostic mode; reboot restart the computer; we choose the shell here.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5B/33/wKioL1UCQnWh6A5uAACRhzS9CI0678.jpg "style=" float: none; "title=" 7.jpg "alt=" wkiol1ucqnwh6a5uaacrhzs9ci0678.jpg "width=" 650 "/>
9. Enter the shell command line and the prompt is bash-4.1#
ls/mnt/sysimage/displays files that are mounted as root directories
Execute chroot/mnt/sysimage/ to move the files under the/mnt/sysimage/directory to the root directory;
Command after prompt is sh-4.1#
LS is displayed as the root directory of the file;
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5B/3A/wKiom1UCTFDylQrQAAENhsNeM1Q579.jpg "style=" float: none; "title=" 8.jpg "alt=" Wkiom1uctfdylqrqaaenhsnem1q579.jpg "/>
10, in the sh-4.1# mode needs to exit first exit, back to bash-4.1# can reboot restart the system;
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5B/34/wKioL1UCTXLTcLxiAABKlZFvJ9U068.jpg "style=" float: none; "title=" 9.jpg "alt=" Wkiol1uctxltclxiaabklzfvj9u068.jpg "/>
This article is from the It Dick thread blog, so be sure to keep this source http://68686789.blog.51cto.com/10438688/1689125
How Linux enters rescue mode