如何重新挂载文件系统读/写?

Qui*_*igi 5 mount

我的猫走过我的键盘并按下“神奇的”SysRq u,执行紧急重新安装 R/O。 我如何扭转这种情况?

关于如何将文件系统重新挂载为读/写?, 夏洛爵士声称

正确的语法是:

sudo mount -o remount,rw /partition/identifier /mount/point
Run Code Online (Sandbox Code Playgroud)

但这只会产生另一个错误,

mount: you must specify the filesystem type
Run Code Online (Sandbox Code Playgroud)

如果我提供它,例如,

$ sudo mount -t ext4 -o remount,rw /dev/sda7 /
Run Code Online (Sandbox Code Playgroud)

我回到了 OP 报告的错误消息,

mount: / not mounted or bad option
Run Code Online (Sandbox Code Playgroud)

该诊断引出了一个问题,哪个?没有安装,还是错误的选择?退出状态为 32,并man mount提供此键:

  mount has the following return codes (the bits can be ORed):
  0      success
  1      incorrect invocation or permissions
  2      system error (out of memory, cannot fork, no more loop devices)
  4      internal mount bug
  8      user interrupt
  16     problems writing or locking /etc/mtab
  32     mount failure
  64     some mount succeeded
Run Code Online (Sandbox Code Playgroud)

好的,看起来像是挂载失败。;-)
我该怎么办?

顺便说一句,在回答 Alkthree 的问题“我如何重新安装”时,SirCharlo 还建议不要重新安装,而是先卸载,然后再安装。为什么?