Write enable filesystem

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
RSaunders
Level 1
Level 1
Posts: 8
Joined: Mon Sep 14, 2020 8:10 pm

Write enable filesystem

Post by RSaunders »

I'm looking to set an NFS file share to mount whenever my Mint reboots.

In the process of doing something that didn't work, I have got a system that won't boot normally anymore. After a while, I get a login prompt. When I login, I'm in the normal command line, no GUI for me - I can live with that - or so I thought. So, I head over to /etc to fix the mistake I made in fstab.

sudo nano fstab

This opens up the config file I want to edit, and lets me edit it, but I can't save the fixed buffer. The error is "Read only filesystem". I sorta thought that was the purpose of sudo, to get enough privileges to write any file, but apparently not.

How do I change my filesystem back to read/write?

Hints on how to mount an NFS share, that work better than viewtopic.php?f=50&t=290507 are also welcome.

Running Cinnamon 19.3
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
RSaunders
Level 1
Level 1
Posts: 8
Joined: Mon Sep 14, 2020 8:10 pm

Re: Write enable filesystem

Post by RSaunders »

Well, I found a part of the answer, but not a very helpful one.
From the command line login prompt, I can type

sudo mount -o remount,rw /

To remount the root file system rw. This allows me to edit
/etc/fstab to comment out the offending line. Saves fine, but
the system still doesn't boot.

The other thing I notice after I remount / is that there is no
networking. This keeps apt from working and means I can't
get to any other tools like boot-repair.

Any fix ideas? Time to reinstall?? It's a MintBox mini, so Ill have
to make some sort of install thumbdrive for it. Any good how-tos
out there?
User avatar
kato181
Level 9
Level 9
Posts: 2577
Joined: Fri Mar 24, 2017 12:33 am
Location: Frederickton NSW

Re: Write enable filesystem

Post by kato181 »

RSaunders wrote: Mon Aug 02, 2021 9:09 pm I'm looking to set an NFS file share to mount whenever my Mint reboots.

In the process of doing something that didn't work, I have got a system that won't boot normally anymore. After a while, I get a login prompt. When I login, I'm in the normal command line, no GUI for me - I can live with that - or so I thought. So, I head over to /etc to fix the mistake I made in fstab.

sudo nano fstab

This opens up the config file I want to edit, and lets me edit it, but I can't save the fixed buffer. The error is "Read only filesystem". I sorta thought that was the purpose of sudo, to get enough privileges to write any file, but apparently not.

How do I change my filesystem back to read/write?

Hints on how to mount an NFS share, that work better than viewtopic.php?f=50&t=290507 are also welcome.

Running Cinnamon 19.3
you have to a super user to edit..
sudo su
nano /etc/fstab
Locked

Return to “Beginner Questions”