wsstest
V2EX  ›  问与答

read-only filesystem 怎么搞

  •  
  •   wsstest · Jun 27, 2019 · 2861 views
    This topic created in 2560 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
        1
    wsstest  
    OP
       Jun 27, 2019
    tankren
        2
    tankren  
       Jun 27, 2019
    当前路径是什么?
    wsstest
        3
    wsstest  
    OP
       Jun 27, 2019
    @tankren #2 是根目录,应该是所有路径都提示这个 read-only filesystem
    tankren
        4
    tankren  
       Jun 27, 2019   ❤️ 1
    ```mount -o remount rw /
    ```
    试试 然后看看 /etc/fstab
    ysc3839
        5
    ysc3839  
       Jun 27, 2019 via Android
    什么系统?建议直接用包管理安装 open-vm-tools。
    renmu
        6
    renmu  
       Jun 27, 2019 via Android
    用 root 权限 copy 出来一份再安装
    wsstest
        7
    wsstest  
    OP
       Jun 28, 2019
    @renmu #6 cp 的时候也提示 read-only filesystem
    wsstest
        8
    wsstest  
    OP
       Jun 28, 2019
    @tankren #4 谢谢大佬,用 remount 那个搞定了
    wsstest
        9
    wsstest  
    OP
       Jun 28, 2019
    谢谢楼上各位大佬,最后用 4L 的方法解决了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   907 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 20:47 · PVG 04:47 · LAX 13:47 · JFK 16:47
    ♥ Do have faith in what you're doing.