5

My cat walked over my keyboard and pressed "magical" SysRq u, doing an Emergency Remount R/O. How do I reverse this?

On How do I remount a filesystem as read/write?, SirCharlo claims

The correct syntax is:

sudo mount -o remount,rw /partition/identifier /mount/point

but that just yields another error,

mount: you must specify the filesystem type

and if I supply it, e.g.,

$ sudo mount -t ext4 -o remount,rw /dev/sda7 /

I'm back at the error message the OP reported,

mount: / not mounted or bad option

That diagnostic begs the question, which? Not mounted, or bad option? The exit status is 32, and man mount provides this key:

  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

OK, looks like a mount failure. ;-)
What can I do about it?

BTW, in response to Alkthree's question "How do I remount", SirCharlo also suggest not a remount but umount followed by mount. Why?

Quigi
  • 195

0 Answers0