How to make read-only root partition writable again?
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to make read-only root partition writable again?
Recently I red an article about trimming of SSD on Linux systems. I decided to give it a shot, so I tweaked a setting in fstab file. Unfortunately, I wrote parameter "noatime" incorrectly as "noatima". Didn't notice it until next reboot. Now the box won't boot into GUI, but I have full access via CLI. But the problem is that root partition is mounted as read-only, so I can't change anything. Then I tried to boot from LiveCD, but no luck - partition still mounted as RO. I use Linux Mint 18, Cinnamon, 64-bit, the root partition is formatted with ext4.
How can I make root partition writable so I can save fstab file when I modify it?
p.s. - I am interested how to do it from Linux, don't suggest MiniXP with ext4 support or similar solutions, thank you.
Good advice, thank you (didn't work in linux for a while, so I lost a few routines). Reading the man page did help, since I couldn't apply the command mount in form written here. But it worked only after I booted from a live CD, and then opened the fstab file with sudo privileges. When booting from local drive, the command exited with failure, because it used the local fstab file, which contained misspelled option, so I couldn't mount it.
Last edited by aranea.network; 09-14-2016 at 04:20 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.