Centos enters single-user mode to modify the fstab file

Source: Internet
Author: User

Centos enters single-user mode to modify the fstab file

1. fault description

RAID 0 failure causes/etc/fstab to be stuck at system startup

2. Change/etc/fstab in single-user mode

A. Press the letter e when the system enters centos for several seconds to enter the GRUB editing status.

B. Select the line starting with the word "kernel" and press the e key to edit the command line.

C. Enter a space single at the end and press Enter.

D. Press the B key to load the file.

3. Mount the root partition to writable

Mount-o remount, rw/

4. Modify/etc/fstab

5. restart the system. OK.

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.