RHCE difficulty: system fault recovery in 5.0 RedHat Enterprise Edition

Source: Internet
Author: User
Critical situations of RedHatEnterprise5 system faults include grub configuration file loss, fstab partition mounting table loss, And/boot system boot directory deletion failure recovery, this article provides a recovery policy for these three situations. One Grub configuration file loss fault recovery: Grub configuration file usually refers to/boot/grub. conf file, which indicates the partition from which the kernel and memory image (RAMDISK) files will be loaded during system boot.

The critical situations of RedHat Enterprise 5 system faults include grub configuration file loss, fstab partition mounting table loss, And/boot system boot directory deletion failure recovery, this article provides a recovery policy for these three situations.

Fault recovery for Grub configuration file loss:

The Grub configuration file generally refers to/boot/grub. conf file, which indicates the partition from which the kernel and memory image (RAMDISK) files will be loaded during system boot, the loss of this file will cause the computer to be stuck in the grub configuration interface at startup. To solve the file loss, the administrator needs to remember the basic configuration information of grub. conf, for example:

[Root @ localhost ~] # Cat/etc/grub. conf

Default = 0 # default number of systems loaded, starting from 0

Timeout = 5 # Time on the Grub configuration page at startup

Splashimage = (hd0, 0)/grub/splash.xpm.gz # Grub background image

Hiddenmenu # Hide a menu

Title Red Hat Enterprise Linux Server (2.6.18-8. el5) # operating system title

Root (hd0, 0) # operating system boot Partition

Kernel/vmlinuz-2.6.18-8.el5 ro root = LABEL =/rhgb quiet # Set the loaded kernel initrd/initrd-2.6.18-8.el5.img # Set the loaded memory disk file

Solution:

1. input the following statements in the grub configuration environment that the system starts;

Root (hd0, 0)

Kernel/vmlinuz-2.6.18-8.el5 ro root = LABEL =/rhgb quiet

Initrd/initrd-2.6.18-8.el5.img

2. Press boot to start the instance;

3. Create a grub in/boot/grub. conf file (the file content is the content just displayed), or restore the backed up grub file to grub. conf; then the system can be properly guided after restart;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.