Mount-o REMOUNT,RW/Large use in single-user mode

Source: Internet
Author: User

When our Linux system fails to boot, it is often necessary to go into single-user mode to modify some of the configuration files, or to adjust some parameters. However, after entering the single-user mode, our/file system is read-only mode, can not be modified, then we need to use a command: mount–o remount,rw/This command to make our/path file system into a readable mode, so that the free modification can be achieved.

For example:

Increased the/etc/mtab

/dev/sdb1/install ext3 RW 0 0

/etc/fstab

Label=/install/install ext3 Defaults 1 2

Then the system restarts: it does not come up, prompt

Give root password for maintenance
(or type control-d to continue:)

After entering the root password, you enter the system and want to remove the added content. But the hint is read-only. Do not allow modification

Use the following method

Mount-o remount, RW/

Because root directory/is mounted inread only mode. Type follwing command, then should is able to editrc.sysint script.

Now go and modify the Mtab/fstab file. Last reboot, the system started successfully

Mount-o REMOUNT,RW/Large use in single-user mode

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.