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
Write enable filesystem
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.
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.
Write enable filesystem
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Write enable filesystem
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?
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?
Re: Write enable filesystem
you have to a super user to edit..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
sudo su
nano /etc/fstab