RHCE Troubleshooting (system Troubleshooting)

Source: Internet
Author: User
I. MBR errors due to unexpected reasons, the primary Boot Record is damaged. When a new user installs multiple operating systems, the system often installs Linux first and then installs Windows systems. Then, the system can only Boot Windows. In this case, you only need to re-install MBR in rescue mode. Situation description: You can only access the Windows system or the black screen without any prompt after the BIOS passes self-check after the system is turned on. Ii. BOOT program errors (lilo is no longer taken in RHEL5, mainly grub troubleshooting) grub. conf errors. Modified grub. co

I. MBR Error

Due to unexpected reasons, the primary Boot Record is damaged. When a new user installs multiple operating systems, the system often installs Linux first, then installs Windows systems, and then only guides Win. In this case, you only need to re-install MBR in rescue mode.

Situation description: You can only access the Windows system or the black screen without any prompt after the BIOS passes self-check after the system is turned on.

Ii. BOOT program errors (lilo is no longer taken in RHEL5, mainly grub troubleshooting)

Grub. conf error. After grub. conf is modified, or the physical location and partition of the hard disk change, the disk cannot be started normally. Go to rescue mode and modify grub. conf.

General Situation of grub

1. If the kernel (vmlinuz-x.x.x file) is not found ),

File not found

Press any key to continue ....

Root (hdx, x) error or incorrect Kernel File Name

2. If you find the kernel and run it for a while,

Kernel Panic: Not init Found,

Generally, root =/dev/xxx is not found.

3. If you find the kernel and run it for a while,

Kernel panic: VFS: Unable to mount root fs on ...,

In general it may be forgotten to add initrd/initrd-2.4.21-4.EL.img (most of the time it happens when using a scsi hard disk)

4. In general, there must be several lines in grub. conf.

# Vim/boot/grub. conf

Title Linux

Root (hd0, 0) #/location of the boot Partition

Kernel/vmlinuz-2.6.18-53.el5 ro root = LABEL = // # kernel and root partition (/partition) locations (root partitions may be LVM and raid, not just hdx and sdx, depending on the actual situation, there is a command I often use findfs LABEL = /)

Initrd/initrd-2.6.18-53.EL.img

The best way to practice the grub. conf menu file is to delete the file. When you restart the file, you can use the interactive command line of grub to familiarize yourself with the content in the file.

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.