RedHat fstab error repair

Source: Internet
Author: User
ArticleDirectory
  • 1. Repair steps
1. Repair steps

A) mV/etc/fstab. Bak (delete fstab)

B) enter the RedHat repair mode. You need to install the CD in RedHat. When you enter the repair mode in the virtual machine, press the ESC key when you see the VM startup screen when you start RedHat. The system prompts you to start the disk or a CD. Select the disc. If it does not work, press CTRL + ALT + enter. Full Screen virtual machine interface. (Check whether the connect button is available for the disc in the lower right corner of the VM. If it still does not work, check whether the disc is connected)

C) boot: Linux rescue

D) after entering the repair mode

E) findfs label =/view the partition in which the root directory is mounted

F) mkdir/mnt/sysimage

G) Mount/dev/sda2/mnt/sysimage (I mounted it to the/dev/sda2 partition)

H) chroot/mnt/sysimage

I) CD/etc/

J) mV fstab. Bak fstab

K) reboot

L) it seems that the RedHat system can be restarted twice automatically.

2. Add.

A) RedHat in the virtual machine starts up with a CD for a long time, because the CD does not have connect, and I am dizzy!

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.