LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   i screwed up /etc/fstab! (https://www.linuxquestions.org/questions/fedora-35/i-screwed-up-etc-fstab-264039/)

turbokid 12-08-2004 10:20 AM

i screwed up /etc/fstab!
 
i edited the /etc/fstab. now it gave me repair filesystem but it only has read access..

how do i get write acess in (Repair filesystem)?

jtshaw 12-08-2004 10:27 AM

mount -o remount rw /

rjlee 12-08-2004 10:31 AM

You need to remount your root filesystem read-only.
To do this, the command is:
Code:

mount /dev/device / -o remount,rw
The names of the device is listed in /proc/mounts (assuming that it's mounted read-only). I've also assumed that it's mounted the device at / (the root directory); it not, change the mount-point in the above command.

turbokid 12-08-2004 06:17 PM

thanks. alot..

maybe can help me with what i want to do at
http://www.linuxquestions.org/questi...69#post1337969


All times are GMT -5. The time now is 11:17 AM.