wsstest
V2EX  ›  问与答

read-only filesystem 怎么搞

  •  
  •   wsstest · Jun 27, 2019 · 3189 views
    This topic created in 2703 days ago, the information mentioned may be changed or developed.
    RT,楼主想给一台虚拟机安装 vmtools,但是 mount 的时候提示 read-only file system,然后去根目录 mkdir 也提示 read-only file system,请问这是什么情况啊?应该怎么解决这个问题安装 vmtools 呢?
    9 replies  •  2019-06-28 10:52:03 +08:00
    wsstest
    wsstest
    OP
    Jun 27, 2019
    1
    tankren
    tankren
    Jun 27, 2019
    2
    当前路径是什么?
    wsstest
    wsstest
    OP
    Jun 27, 2019
    3
    @tankren #2 是根目录,应该是所有路径都提示这个 read-only filesystem
    tankren
    tankren
    Jun 27, 2019❤️1
    4
    ```mount -o remount rw /
    ```
    试试 然后看看 /etc/fstab
    ysc3839
    ysc3839
    Jun 27, 2019 via Android
    5
    什么系统?建议直接用包管理安装 open-vm-tools。
    renmu
    renmu
    Jun 27, 2019 via Android
    6
    用 root 权限 copy 出来一份再安装
    wsstest
    wsstest
    OP
    Jun 28, 2019
    7
    @renmu #6 cp 的时候也提示 read-only filesystem
    wsstest
    wsstest
    OP
    Jun 28, 2019
    8
    @tankren #4 谢谢大佬,用 remount 那个搞定了
    wsstest
    wsstest
    OP
    Jun 28, 2019
    9
    谢谢楼上各位大佬,最后用 4L 的方法解决了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   966 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 19:41 · PVG 03:41 · LAX 11:41 · JFK 14:41
    ♥ Do have faith in what you're doing.