Possible Duplicate:
How do I change file system in Ubuntu11.10 recovery mode to read-write mode

After blank screen, need to change some settings in xorg.conf

Logged in at root prompt through recovery mode.

Unable to change file read-only message.

How to change the file? Thanks.


1 Answer 1


You must first mount the drive as read/write using the Recovery Menu option, then drop to the root shell (with networking if needed).

Everything should work then.

For Ubuntu 14.04 and higher, there is no option for read/write. Instead, enable-networking option will mount the system in read/write mode.

  • Thanks. A newbie here. How do you mount the drive as read/write?
    – seren
    Apr 8, 2012 at 22:41
  • There's an option in the Recovery Menu.
    – Eduard
    Apr 8, 2012 at 23:31
  • 10
    I did some web searching on "Recover Mode Read Only" and came across the following post: linuxquestions.org/questions/linux-general-1/…. Shutdown the computer Boot into Recovery Mode --After BIOS load, hold down Shift key to access the grub menu --Once in grub menu, select the entry ending in "(recovery mode)" From the next menu selected option to enter Root Session At the root session, execute command mount -o remount,rw / to remount the filesystem as read-write
    – seren
    Apr 8, 2012 at 23:33
  • askubuntu.com/questions/117950/…
    – seren
    Apr 8, 2012 at 23:34

Not the answer you're looking for? Browse other questions tagged or ask your own question.