Find the answer to your Linux question:
Results 1 to 4 of 4
The /etc directory on my Linux installation is a read-only file system. I am running it on a VMware vitual machine and thus need to write to this directory for ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    2

    Problem with mount


    The /etc directory on my Linux installation is a read-only file system.
    I am running it on a VMware vitual machine and thus need to write to this directory for the Vmware tools part thus I need to make the /etc directory writable.

    After logging in as root,

    I used the command " mount -o remount,rw /etc "

    however there was an error generated

    " mount: can't find /etc in /etc/fstab or /etc/mtab "

    Both the directories /etc/fstab and /etc/mtab are very much present.

    How can I make the /etc directory writable ? Is there any other way ? Any bit of information would be most welcome.

  2. #2
    Linux Newbie tiersen's Avatar
    Join Date
    May 2008
    Location
    Tokyo,Japan
    Posts
    226
    Hi.
    As root try to run
    Code:
    chmod 2644 /etc

  3. #3
    Just Joined!
    Join Date
    May 2008
    Posts
    2
    I Tried chmod 2644 /etc it .. does not work

    Error:

    chmod: changing permissions of `/etc': Read-only file system

  4. #4
    Linux Newbie tiersen's Avatar
    Join Date
    May 2008
    Location
    Tokyo,Japan
    Posts
    226
    The execute bit is needed on directories so as root run
    Code:
    chmod 755 /etc/
    the same issue is discussed here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •