C++ CSS HTML Java JavaScript MySQL Oracle PERL PHP SQL Unix VBScript XHTML XML Сети
Basic System Recovery
 

Chapter 9. Basic System Recovery

mode, and emergency mode, where you can use your own knowledge to repair the system.

9.1. Common Problems

You might need to boot into one of these recovery modes for any of the following reasons:

9.1.1. Unable to Boot into Red Hat Linux

on your computer. They overwrite the Master Boot Record (MBR) that originally contained the GRUB or LILO boot loader. If the boot loader is overwritten in this manner, you will not be able to boot Red Hat Linux unless you can get into rescue mode and reconfigure the boot loader.

If the partition number of your / partition changes, the boot loader might not be able to find it to mount the partition. To fix this problem, boot in rescue mode and modify /boot/grub/grub.conf if you are using GRUB or /etc/lilo.conf if you are using LILO. You must also run the /sbin/lilo command anytime you modify the LILO configuration file.

9.1.2. Hardware/Software Problems

This category includes a wide variety of different situations. Two examples include failing hard drives and specifying an invalid root device or kernel in the boot loader configuration file. If either of these occur, you might not be able to reboot into Red Hat Linux. However, if you boot into one of the system recovery modes, you might be able to resolve the problem or at least get copies of your most important files.

9.1.3. Root Password

What can you do if you forget your root password? To reset it to a different password, boot into rescue mode or single-user mode and use the passwd command to reset the root password.

Главная