Linux system Troubleshouting and repair FATAL: NObootalemediumfound! Systemhalted

Source: Internet
Author: User
Troubleshouting system restoration should start with the linux system startup process. Before that, I wrote a detailed description about the linux startup process.

Trouble shouting system repair should start with the linux system startup process. I have previously written an article about the linux startup process: http://blog.csdn.net/avilifans/article/details/12059447.


After the boot, first load the bios program, obtain the boot sequence, and find the first boot device. Then, read the mbr sector information of the first startup device.

Normally, the Mbr displays the grub (GRand UnifiedBootloader is a program that installs the boot loader to the master boot record) menu. if not, grub is faulty, need to use grub-install/dev ?? "Http://www.2cto.com/kf/ware/vc/" target = "_ blank" class = "keylink"> vc2Rhw/zB7rbUxuS9 + Release/release + vfjI68 + 1zbO688O709C/release + O7 + r + qu/q688v5sdjQ67bByKG1xMrXuPbJyMf4o6zL + dLUxdC2z21icrP2wcvOysziPC9wPgo8aW1nIHNyYz0 = "http://www.2cto.com/uploadfile/Collfiles/20140401/2014040109025511.jpg" alt = "\">

Boot through the network (or boot through a CD to enter the rescue mode ):


Enter the rescue mode [generally enter the following interface and enter (linux rescue )]:


Enter the shell environment



View the partition information.


The failure cannot be switched to the cage environment. cause: The Partition problem is related to the file/etc/fastb (file system is automatically mounted after startup). Solution: identify the partition, and mount it (restart the system after completion)

Mount the boot partition and create the etc/fstab file

Mkdir test; mount/dev/sda1 test

Vi test/etc/fstab

If you can access the cage environment after the restart, it indicates that the/etc/fstab file is correctly modified.

Use the command to fix grub. conf

After the instance is restarted, the grub menu is still not displayed. when the instance is started, no mount point is displayed, and the instance enters the rescue mode again (you can also boot with a CD) install the mount package in the shell cage environment. Use
Run the following command to install:
Rpm-ivh -- force -- replacefiles + package name. when you run the mount command, you can check the mounting of the partitions in/etc/fstab /.


After restarting, you will find that grub is successfully repaired and the grub menu is displayed.

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.