RHEL5.1 is installed in the system. At first, the device cannot recognize the hard disk. After viewing the BIOS settings, the hard disk interface mode is PATA and then switched to the SATA interface mode. You can enter the system startup interface. However, when the system starts various services, the system cannot be accessed due to one of the service faults. Solution: Use the CD to enter the LinuxRescue mode. Check the startup service of chroot/mnt/sysimagechkconfig -- list. The services provided by the system are normal.
RHEL5.1 is installed in the system. At first, the device cannot recognize the hard disk. After viewing the BIOS settings, the hard disk interface mode is PATA and then switched to the SATA interface mode. You can enter the system startup interface.
However, when the system starts various services, the system cannot be accessed due to one of the service faults.
Solution:
-
Use the CD to enter the Linux Rescue mode, chroot/mnt/sysimage
-
Run chkconfig -- list to check whether the startup service is running properly.
-
Cat/etc/rc. local: comment out the # sign in front of some previously set service paths. After the restart, the system reports that the service does not appear and the system enters normal.
-
Forgot password, change root Password
-
Rescue mode for CD Linux (omitted here ..) Enter the passwd command, and prompt to change the new password. After the change, confirm it again.
-
Enter the system and use the new password.
Note: mount the Linux hard disk to a Windows system for data backup. Use the Linux reader tool to view the Linux partition on the disk and back up the data.
For more information about RedHat, see RedHat topic page http://www.linuxidc.com/topicnews.aspx? Tid = 10
This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-08/105484.htm